* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7fb;
    color: #1e293b;
}

.login-body {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 380px;
    background: white;
    padding: 35px;
    border-radius: 22px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    text-align: center;
}

.login-card h2 {
    margin-top: 25px;
    color: #1e3a8a;
}

.login-text {
    margin: 10px 0 25px;
    color: #64748b;
}

.login-card input {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 16px;
}

.login-card button {
    width: 100%;
    padding: 14px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

.login-card button:hover {
    background: #1d4ed8;
}

.error {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #2563eb, #0f172a);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.logo-title {
    font-size: 24px;
    font-weight: bold;
    color: #1e3a8a;
}

.logo-subtitle {
    font-size: 12px;
    color: #64748b;
}

.navbar {
    background: white;
    padding: 18px 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.nav-links a {
    margin-left: 18px;
    text-decoration: none;
    color: #1e3a8a;
    font-weight: bold;
}

.logout-btn {
    background: #dc2626;
    color: white !important;
    padding: 10px 18px;
    border-radius: 25px;
}

.dashboard {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}

.welcome {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    padding: 35px;
    border-radius: 24px;
    margin-bottom: 35px;
    box-shadow: 0 15px 35px rgba(37,99,235,0.35);
}

.welcome h1 {
    font-size: 34px;
    margin-bottom: 10px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    background: white;
    text-decoration: none;
    color: #1e293b;
    padding: 30px;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    border: 1px solid #e2e8f0;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.16);
    border-color: #2563eb;
}

.card-icon {
    font-size: 46px;
    margin-bottom: 15px;
}

.card h3 {
    color: #1e3a8a;
    margin-bottom: 10px;
}

.card p {
    color: #64748b;
    line-height: 1.5;
}

footer {
    text-align: center;
    padding: 25px;
    color: #64748b;
}