*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:Arial,sans-serif;
    background:#0f172a;
    color:white;
}

.auth-bg{
    display:flex;
    justify-content:center;
    align-items:center;
    height:100vh;
    background:linear-gradient(135deg,#0f172a,#1e293b);
}

.auth-card{
    width:400px;
    background:rgba(30,41,59,.95);
    padding:35px;
    border-radius:20px;
    box-shadow:0 0 30px rgba(0,0,0,.3);
}

.sidebar{
    position:fixed;
    width:260px;
    height:100vh;
    background:#111827;
    padding:25px;
}

.sidebar a{
    display:block;
    padding:14px;
    background:#1e293b;
    margin-bottom:12px;
    border-radius:12px;
    color:white;
    text-decoration:none;
    transition:.2s;
}

.sidebar a:hover{
    transform:translateX(5px);
    background:#2563eb;
}

.main{
    margin-left:280px;
    padding:30px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-bottom:30px;
}

.card{
    background:#1e293b;
    padding:25px;
    border-radius:20px;
    box-shadow:0 0 20px rgba(0,0,0,.2);
}

.box{
    background:#1e293b;
    padding:25px;
    border-radius:20px;
    margin-bottom:20px;
}

input,button{
    width:100%;
    padding:14px;
    border-radius:12px;
    border:none;
    margin-bottom:15px;
}

input{
    background:#0f172a;
    border:1px solid #334155;
    color:white;
}

button{
    background:#2563eb;
    color:white;
    font-weight:bold;
    cursor:pointer;
}

table{
    width:100%;
    border-collapse:collapse;
    background:#1e293b;
    border-radius:20px;
    overflow:hidden;
}

table th,table td{
    padding:14px;
    border-bottom:1px solid #334155;
    text-align:left;
}

.alert{
    background:#dc2626;
    padding:12px;
    border-radius:10px;
    margin-bottom:15px;
}

.success{
    background:#16a34a;
    padding:12px;
    border-radius:10px;
    margin-bottom:15px;
}

.small-text{
    color:#94a3b8;
    margin-bottom:25px;
}

@media(max-width:768px){

    .sidebar{
        width:100%;
        height:auto;
        position:relative;
    }

    .main{
        margin-left:0;
    }

    .auth-card{
        width:90%;
    }
}
