* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    margin: 0;
    background: #f4f7fb;
    color: #1f2937;
}

.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.login-card h1 {
    margin-bottom: 8px;
    font-size: 26px;
}

.subtitle {
    color: #6b7280;
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
}

button,
.button {
    display: inline-block;
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
}

button:hover,
.button:hover {
    background: #1d4ed8;
}

.error {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.demo-accounts {
    margin-top: 20px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 10px;
    font-size: 14px;
    color: #4b5563;
}

.page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px;
}

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

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

.logout-btn:hover {
    background: #dc2626;
}

.card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.note {
    color: #6b7280;
    font-size: 14px;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
