
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f1f5fb;
    color: #26344a;
    line-height: 1.6;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    background: linear-gradient(135deg, #12345a, #0879df);
}

.auth-card {
    width: 100%;
    max-width: 500px;
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0,0,0,.2);
}

.auth-card h1 {
    color: #12345a;
    text-align: center;
    font-size: 23px;
}

.subtitle {
    text-align: center;
    color: #718096;
    margin-bottom: 25px;
}

.auth-card label {
    display: block;
    margin-top: 15px;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 14px;
}

.auth-card input,
.auth-card select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d7dfeb;
    border-radius: 7px;
    outline: none;
    background: white;
    font-size: 15px;
}

.auth-card input:focus,
.auth-card select:focus {
    border-color: #0879df;
    box-shadow: 0 0 0 2px #0879df20;
}

.auth-card button {
    width: 100%;
    background: #0879df;
    color: white;
    padding: 13px;
    border: none;
    border-radius: 7px;
    margin-top: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.auth-card button:hover {
    background: #075eb0;
}

.bottom-text {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
}

.bottom-text a {
    color: #0879df;
    font-weight: bold;
}

.error {
    background: #fee2e2;
    color: #b91c1c;
    padding: 10px;
    border-radius: 6px;
    margin: 8px 0;
    font-size: 14px;
}

/* DASHBOARD */

.dashboard-header {
    background: #12345a;
    color: white;
    padding: 18px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.logout-btn {
    display: inline-block;
    background: #e84b4b;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.dashboard-container {
    width: 90%;
    max-width: 1150px;
    margin: 35px auto;
}

.welcome-box {
    background: linear-gradient(120deg, #12345a, #0879df);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.welcome-box h1 {
    margin-bottom: 10px;
}

.student-profile {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px #00000008;
}

.student-profile h2 {
    color: #12345a;
    margin-bottom: 15px;
}

.student-profile p {
    padding: 7px 0;
    border-bottom: 1px solid #edf0f5;
    overflow-wrap: anywhere;
}

.dashboard-title {
    margin-bottom: 20px;
    color: #12345a;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dashboard-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    color: #26344a;
    box-shadow: 0 4px 15px #00000008;
    transition: .3s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px #00000015;
}

.dashboard-card span {
    font-size: 35px;
}

.dashboard-card h3 {
    color: #12345a;
    margin: 10px 0;
}

.dashboard-card p {
    color: #718096;
    font-size: 14px;
}

.footer {
    background: #12345a;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 40px;
}

@media(max-width: 700px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-header h2 {
        font-size: 15px;
    }

    .auth-card {
        padding: 25px 18px;
    }
}

@media(max-width: 420px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}
