@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* MUBAS Official Colors - Calendar Style */
    --primary: #2d2460;
    --primary-dark: #1c1669;
    --primary-gradient-start: #1c1669;
    --primary-gradient-end: #29219c;
    --card-white: #ffffff;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-muted: #9ca3af;
    --accent: #3788d8;
    --accent-light: #daf1fb;
    --border: #e5e7eb;
    --input-bg: #f9fafb;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, var(--primary-gradient-start), var(--primary-gradient-end));
    padding: 1rem;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 420px;
    background: var(--card-white);
    border-radius: 0.5rem;
    padding: 3rem 2.5rem 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.6s ease-out;
}

.dashboard-container {
    max-width: 520px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.app-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.header h1 {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
}

.header h2.student-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: var(--primary);
    line-height: 1.2;
}

.header p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    background: var(--input-bg);
    border: 1px solid var(--border);
    color: var(--text-dark);
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--card-white);
    box-shadow: 0 0 0 3px rgba(45, 36, 96, 0.1);
}

.btn {
    width: 100%;
    padding: 0.875rem;
    border-radius: 0.375rem;
    border: none;
    background: var(--primary);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(28, 22, 105, 0.3);
}

.btn-secondary {
    background: var(--primary);
    color: white;
    margin-top: 1rem;
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.error-message {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #dc2626;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.seat-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-card {
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(45, 36, 96, 0.1);
}

.info-card.full-width {
    grid-column: 1 / -1;
}

.info-label {
    display: block;
    color: var(--text-gray);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.info-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.info-card.full-width .info-value {
    font-size: 1.5rem;
}

.footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 600;
}

.footer a:hover {
    color: var(--primary);
}
