        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #1a1a2e;
            --accent: #0f4c75;
            --accent-light: #3282b8;
            --error: #e74c3c;
            --border: #e8e8e8;
            --text-primary: #2c3e50;
            --text-secondary: #7f8c8d;
            --white: #ffffff;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
            --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
            --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
        }

        body {
            font-family: 'DM Sans', sans-serif;
            background: var(--white);
            color: var(--text-primary);
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 2rem 1.5rem;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
            z-index: 100;
        }

        body::after {
            content: '';
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(15, 76, 117, 0.03) 0%, transparent 70%);
            border-radius: 50%;
            z-index: 0;
            pointer-events: none;
        }

        .login-container {
            background: var(--white);
            border-radius: 24px;
            padding: 4rem 3rem;
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--border);
            max-width: 520px;
            width: 100%;
            position: relative;
            z-index: 1;
            animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .login-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .logo-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .logo {
            width: 80px;
            height: 80px;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        h1 {
            font-family: 'Crimson Pro', serif;
            font-size: 2.75rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
            line-height: 1.2;
        }

        .school-name {
            font-size: 1rem;
            color: var(--text-secondary);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 0.5rem;
        }

        .welcome-text {
            font-size: 1.125rem;
            color: var(--text-secondary);
            font-weight: 400;
            margin-top: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .error-message {
            background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(231, 76, 60, 0.05) 100%);
            border: 2px solid var(--error);
            border-radius: 12px;
            padding: 1rem 1.25rem;
            margin-bottom: 2rem;
            color: var(--error);
            font-weight: 600;
            font-size: 0.95rem;
            animation: shake 0.5s ease-out;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-8px); }
            75% { transform: translateX(8px); }
        }

        form {
            margin-bottom: 2.5rem;
        }

        .form-group {
            margin-bottom: 2rem;
        }

        label {
            display: block;
            margin-bottom: 0.75rem;
            font-weight: 600;
            color: var(--text-primary);
            font-size: 1rem;
        }

        .input-form-control {
            width: 100%;
            padding: 1rem 1.25rem;
            border: 2px solid var(--border);
            border-radius: 12px;
            font-size: 1.125rem;
            font-family: 'DM Sans', sans-serif;
            transition: all 0.3s ease;
            background: var(--white);
            color: var(--text-primary);
        }

        .input-form-control:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 4px rgba(15, 76, 117, 0.1);
        }

        .input-form-control::placeholder {
            color: var(--text-secondary);
            opacity: 0.6;
        }

        button[type="submit"] {
            width: 100%;
            padding: 1.125rem;
            background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
            color: var(--white);
            border: none;
            border-radius: 12px;
            font-size: 1.125rem;
            font-weight: 700;
            font-family: 'DM Sans', sans-serif;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: var(--shadow-sm);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        button[type="submit"]:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }

        button[type="submit"]:active {
            transform: translateY(-1px);
        }

        .quote-section {
            text-align: center;
            padding: 2rem 1.5rem;
            border-top: 1px solid var(--border);
            position: relative;
        }

        .quote-section::before {
            content: '"';
            position: absolute;
            top: -1.5rem;
            left: 50%;
            transform: translateX(-50%);
            font-family: 'Crimson Pro', serif;
            font-size: 6rem;
            color: rgba(15, 76, 117, 0.08);
            line-height: 1;
            z-index: 0;
        }

        .quote-section h3 {
            font-family: 'Crimson Pro', serif;
            font-size: 1.125rem;
            font-weight: 400;
            color: var(--text-primary);
            line-height: 1.7;
            font-style: italic;
            position: relative;
            z-index: 1;
        }

        .quote-author {
            display: block;
            margin-top: 0.75rem;
            font-size: 0.95rem;
            color: var(--accent);
            font-weight: 600;
            font-style: normal;
        }

        @media (max-width: 600px) {
            .login-container {
                padding: 3rem 2rem;
            }

            .logo-container {
                gap: 1.5rem;
            }

            .logo {
                width: 70px;
                height: 70px;
            }

            h1 {
                font-size: 2.25rem;
            }

            .school-name {
                font-size: 0.875rem;
            }

            .welcome-text {
                font-size: 1rem;
            }

            .quote-section h3 {
                font-size: 1rem;
            }

            .quote-section::before {
                font-size: 4rem;
                top: -1rem;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 1.5rem 1rem;
            }

            .login-container {
                padding: 2.5rem 1.75rem;
            }

            .logo {
                width: 60px;
                height: 60px;
            }

            h1 {
                font-size: 1.875rem;
            }
        }