*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Segoe UI', sans-serif;
}

body{
    background:#eef2f7;
    color:#222;
}

/* AUTH PAGES */

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

.auth-wrapper{
    width:1100px;
    height:650px;
    display:flex;
    overflow:hidden;
    border-radius:25px;
    background:white;
    box-shadow:0 15px 40px rgba(0,0,0,0.3);
}

.auth-left{
    width:50%;
    padding:70px;
    color:white;
    background:linear-gradient(135deg,#2563eb,#1e40af);
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.auth-left h1{
    font-size:52px;
    margin-bottom:20px;
}

.auth-left h2{
    font-size:28px;
    margin-bottom:20px;
}

.auth-left p{
    line-height:1.8;
    font-size:17px;
    margin-bottom:30px;
}

.feature-list{
    display:flex;
    flex-direction:column;
    gap:15px;
    font-size:18px;
}

.auth-card{
    width:50%;
    padding:70px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.auth-card h2{
    font-size:38px;
    margin-bottom:10px;
    color:#1e3a8a;
}

.subtitle{
    color:gray;
    margin-bottom:30px;
}

.auth-card form{
    display:flex;
    flex-direction:column;
}

.auth-card input{
    padding:16px;
    margin-bottom:20px;
    border-radius:12px;
    border:1px solid #ccc;
    font-size:16px;
}

.auth-card input:focus{
    outline:none;
    border-color:#2563eb;
}

.auth-card button{
    padding:16px;
    border:none;
    border-radius:12px;
    background:#2563eb;
    color:white;
    font-size:18px;
    cursor:pointer;
    transition:0.3s;
}

.auth-card button:hover{
    background:#1d4ed8;
}

.bottom-text{
    margin-top:20px;
    text-align:center;
}

.bottom-text a{
    color:#2563eb;
    text-decoration:none;
    font-weight:bold;
}

.flash{
    background:#dcfce7;
    color:#166534;
    padding:15px;
    border-radius:10px;
    margin-bottom:20px;
}

.hint{
    margin-top:20px;
    text-align:center;
    color:gray;
}

/* DASHBOARD */

.dashboard{
    display:flex;
    min-height:100vh;
}

.sidebar{
    width:260px;
    background:#0f172a;
    color:white;
    padding:30px;
}

.sidebar h2{
    margin-bottom:40px;
    color:#60a5fa;
}

.sidebar a{
    display:block;
    color:white;
    text-decoration:none;
    margin-bottom:20px;
    padding:12px;
    border-radius:10px;
    transition:0.3s;
}

.sidebar a:hover{
    background:#1e293b;
}

.main{
    flex:1;
    padding:40px 50px;
    max-width: calc(100% - 260px);
    overflow-x:auto;
}

.topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:40px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:28px;
    margin:35px 0 55px 0;
}

.card{
    background:white;
    padding:32px;
    border-radius:18px;
    box-shadow:0 8px 22px rgba(0,0,0,0.08);
    min-height:150px;
}

.card h3{
    margin-bottom:15px;
    color:#1e3a8a;
}

.upload-box{
    background:white;
    padding:30px;
    border-radius:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.upload-box form{
    display:flex;
    flex-direction:column;
}

.upload-box input,
.upload-box textarea{
    margin-bottom:20px;
    padding:15px;
    border-radius:10px;
    border:1px solid #ccc;
}

.upload-box button{
    padding:15px;
    background:#2563eb;
    border:none;
    color:white;
    border-radius:10px;
    font-size:17px;
}

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

table th{
    background:#1e3a8a;
    color:white;
    padding:18px;
}

table td{
    padding:16px;
    border-bottom:1px solid #eee;
}

.logout-btn{
    background:#ef4444;
    padding:10px 18px;
    border-radius:10px;
    color:white;
    text-decoration:none;
}

h2{
    margin-top:35px;
    margin-bottom:18px;
}

table{
    margin-bottom:45px;
    table-layout:auto;
}

table th,
table td{
    text-align:center;
    vertical-align:middle;
}

table td{
    font-size:15px;
}

table a{
    color:#2563eb;
    font-weight:600;
}

.topbar{
    margin-bottom:20px;
}

.card h1{
    font-size:48px;
    color:#2563eb;
    margin:15px 0;
}

.card p{
    color:gray;
    line-height:1.6;
}