body{

margin:0;

background:#121212;

font-family:Arial,sans-serif;

color:white;

}


/* LOGIN */

.login-card{

width:350px;

margin:auto;

margin-top:10vh;

background:#1d1d1d;

padding:30px;

border-radius:20px;

display:flex;

flex-direction:column;

box-shadow:
0px 0px 40px
rgba(0,0,0,0.5);

}

.login-card h1{

text-align:center;

}

.login-card h3{

text-align:center;

color:#999;

}


form{

display:flex;

flex-direction:column;

gap:15px;

}


input{

padding:15px;

background:#2d2d2d;

border:none;

border-radius:10px;

color:white;

}


button{

padding:15px;

border:none;

border-radius:10px;

background:
linear-gradient(
90deg,
#8747ff,
#a855f7
);

color:white;

cursor:pointer;

font-size:15px;

}


button:hover{

opacity:0.9;

}


a{

color:#884dff;

}


/* DASHBOARD */


.dashboard-container{

display:flex;

min-height:100vh;

}


.sidebar{

    position:sticky;

    top:0;

    width:290px;

    height:100vh;

    background:#1d1d1d;

    padding:20px;

    box-sizing:border-box;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    align-self:flex-start;

    flex-shrink:0;

}


.sidebar-top{

display:flex;

flex-direction:column;

gap:10px;

}


.sidebar a{

padding:10px;

text-decoration:none;

color:white;

border-radius:10px;

}


.sidebar a:hover{

background:#2a2a2a;

}


.logout{

margin-top:auto;
}


.main-content{

    flex:1;

    padding:30px;

    overflow-x:hidden;

}


.card-container{

display:flex;

gap:20px;

}


.card{

background:#1d1d1d;

padding:20px;

border-radius:15px;

flex:1;

}


.warning-banner{

background:#2d1f00;

border:1px solid #c79200;

color:#ffd966;

padding:15px;

border-radius:12px;

margin-bottom:20px;

font-size:14px;

}

select,
textarea{

width:100%;

padding:15px;

background:#2d2d2d;

border:none;

border-radius:10px;

color:white;

font-size:14px;

box-sizing:border-box;

margin-bottom:15px;

font-family:Arial,sans-serif;

}


textarea{

min-height:140px;

resize:vertical;

}


select:focus,
textarea:focus,
input:focus{

outline:none;

box-shadow:
0 0 10px
rgba(
136,
77,
255,
0.5
);

}
.ticket-buttons{

    display:flex;

    gap:15px;

    margin-top:20px;

}

.ticket-buttons .btn{

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    padding:15px;

    border-radius:10px;

    background:
    linear-gradient(
    90deg,
    #8747ff,
    #a855f7
    );

    color:white;

    font-size:15px;

    transition:0.2s;

}

.ticket-buttons .btn:hover{

    opacity:0.9;

}

.delete-form{

    flex:1;

}

.delete-btn{

    width:100%;

    background:
    linear-gradient(
    90deg,
    #ff4d4d,
    #d63031
    );

}
.btn,
.delete-btn{

    transition:
        transform 0.2s,
        opacity 0.2s;

}

.btn:hover,
.delete-btn:hover{

    transform:translateY(-2px);

}
.status-open{
    color:#4ade80;
    font-weight:bold;
}

.status-pending{
    color:#facc15;
    font-weight:bold;
}

.status-closed{
    color:#ef4444;
    font-weight:bold;
}
.manage-btn {

    display: inline-block;

    margin-top: 15px;

    padding: 10px 18px;

    background: #3b82f6;

    color: white;

    text-decoration: none;

    border-radius: 10px;

    font-weight: 600;

    transition: 0.2s ease;

}

.manage-btn:hover {

    background: #2563eb;

    transform: translateY(-2px);

    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);

}
.user-table{

    width:100%;

    border-collapse:collapse;

    margin-top:20px;

}

.user-table th{

    text-align:left;

    padding:14px;

    background:#23262b;

}

.user-table td{

    padding:14px;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.user-table tr:hover{

    background:rgba(255,255,255,.03);

}

.back-link{

    display:inline-flex;
    align-items:center;
    gap:8px;

    margin-bottom:25px;

    color:#9ca3af;
    text-decoration:none;

    transition:.2s;

}

.back-link:hover{

    color:#fff;

}

.page-header{

    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:20px;

    margin-bottom:25px;

    flex-wrap:wrap;

}

.page-header h1{

    margin:0;
    font-size:2.3rem;

}

.status-badge{

    padding:10px 18px;

    border-radius:999px;

    font-weight:600;

    border:1px solid transparent;

}

.status-badge.online{

    background:rgba(34,197,94,.15);

    border-color:rgba(34,197,94,.25);

    color:#4ade80;

}

.status-badge.offline{

    background:rgba(239,68,68,.15);

    border-color:rgba(239,68,68,.25);

    color:#f87171;

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:16px;

    margin-bottom:25px;

}

.stat-box{

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    padding:22px;

    text-align:center;

    transition:.2s;

}

.stat-box:hover{

    transform:translateY(-2px);

    border-color:rgba(96,165,250,.35);

}

.stat-box strong{

    display:block;

    font-size:.9rem;

    color:#94a3b8;

    margin-bottom:10px;

}

.stat-box span{

    font-size:1.6rem;

    font-weight:bold;

    color:white;

}

.info-table{

    width:100%;

    border-collapse:collapse;

}

.info-table td{

    padding:14px 0;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.info-table td:first-child{

    color:#94a3b8;

    width:220px;

    font-weight:600;

}

.info-table td:last-child{

    color:white;

}

.button-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:15px;

}

.button-grid button{

    width:100%;

}

.console{

    background:#09090b;

    color:#4ade80;

    border:1px solid rgba(255,255,255,.08);

    border-radius:16px;

    padding:20px;

    min-height:420px;

    max-height:420px;

    overflow-y:auto;

    white-space:pre-wrap;

    font-family:"Cascadia Code","JetBrains Mono","Consolas",monospace;

    font-size:.95rem;

    line-height:1.6;

}

.console::-webkit-scrollbar{

    width:10px;

}

.console::-webkit-scrollbar-thumb{

    background:#374151;

    border-radius:20px;

}

.danger-card{

    border:1px solid rgba(239,68,68,.30);

}

.danger-title{

    color:#ef4444;

}

.danger-btn{

    background:#dc2626;

    color:white;

    border:none;

    padding:12px 20px;

    border-radius:12px;

    cursor:pointer;

    font-weight:bold;

    transition:.2s;

}

.danger-btn:hover{

    background:#b91c1c;

}

@media(max-width:900px){

    .page-header{

        flex-direction:column;

        align-items:flex-start;

    }

    .stats-grid{

        grid-template-columns:1fr 1fr;

    }

}

@media(max-width:650px){

    .stats-grid{

        grid-template-columns:1fr;

    }

    .button-grid{

        grid-template-columns:1fr;

    }

}