
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        
        .modern-login-container {
            max-width: 1200px;
            margin: 40px auto;
            background: #ffffff;
            border-radius: 32px;
            overflow: hidden;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;
        }
        
        .login-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            min-height: 600px;
        }
        
        /* Left Side - Image Section */
        .image-section {
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }
        
        .image-content {
            position: relative;
            width: 100%;
            flex: 1;
            min-height: 400px;
            overflow: hidden;
        }
        
        .login-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .image-text {
            padding: 30px 40px;
            text-align: center;
            background: rgba(255, 255, 255, 0.95);
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .image-text h2 {
            font-size: 28px;
            font-weight: 700;
            color: #1a202c;
            margin-bottom: 12px;
            background: linear-gradient(135deg, #5E83FF 0%, #4a6fd9 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .image-text p {
            font-size: 16px;
            color: #718096;
            line-height: 1.5;
        }
        
        /* Right Side - Form Section with Animated Background using #EFF7FF and #5E83FF */
        .form-section {
            position: relative;
            padding: 48px;
            display: flex;
            align-items: center;
            background: #EFF7FF; /* Light blue background as fallback */
            overflow: hidden;
        }
        
        .animated-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 0;
            overflow: hidden;
            background: linear-gradient(135deg, #EFF7FF 0%, #e3efff 100%);
        }
        
        .bg-animation {
            position: absolute;
            width: 100%;
            height: 100%;
        }
        
        /* Circles using the new color scheme #5E83FF with varying opacity */
        .circle {
            position: absolute;
            background: linear-gradient(135deg, rgba(94, 131, 255, 0.15) 0%, rgba(94, 131, 255, 0.08) 100%);
            border-radius: 50%;
            animation: floatAnimation linear infinite;
        }
        
        .circle-1 {
            width: 300px;
            height: 300px;
            top: -150px;
            right: -150px;
            animation-duration: 20s;
            background: radial-gradient(circle, rgba(94, 131, 255, 0.2) 0%, rgba(94, 131, 255, 0.05) 100%);
        }
        
        .circle-2 {
            width: 200px;
            height: 200px;
            bottom: -100px;
            left: -100px;
            animation-duration: 15s;
            animation-delay: -5s;
            background: radial-gradient(circle, rgba(94, 131, 255, 0.18) 0%, rgba(94, 131, 255, 0.06) 100%);
        }
        
        .circle-3 {
            width: 150px;
            height: 150px;
            top: 50%;
            left: 20%;
            animation-duration: 18s;
            animation-delay: -2s;
            background: radial-gradient(circle, rgba(94, 131, 255, 0.22) 0%, rgba(94, 131, 255, 0.07) 100%);
        }
        
        .circle-4 {
            width: 100px;
            height: 100px;
            bottom: 20%;
            right: 10%;
            animation-duration: 12s;
            animation-delay: -7s;
            background: radial-gradient(circle, rgba(94, 131, 255, 0.25) 0%, rgba(94, 131, 255, 0.08) 100%);
        }
        
        .circle-5 {
            width: 250px;
            height: 250px;
            top: 20%;
            right: -80px;
            animation-duration: 25s;
            animation-delay: -3s;
            background: radial-gradient(circle, rgba(94, 131, 255, 0.2) 0%, rgba(94, 131, 255, 0.06) 100%);
        }
        
        @keyframes floatAnimation {
            0% {
                transform: translate(0, 0) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 0.4;
            }
            50% {
                transform: translate(30px, -30px) rotate(180deg);
                opacity: 0.7;
            }
            90% {
                opacity: 0.3;
            }
            100% {
                transform: translate(-20px, 20px) rotate(360deg);
                opacity: 0;
            }
        }
        
        .form-container {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(8px);
            border-radius: 32px;
            padding: 40px;
            box-shadow: 0 20px 35px rgba(94, 131, 255, 0.12);
            border: 1px solid rgba(94, 131, 255, 0.2);
        }
        
        .form-header {
            text-align: center;
            margin-bottom: 48px;
        }
        
        .form-header h2 {
            font-size: 36px;
            font-weight: 800;
            color: #1a202c;
            margin-bottom: 12px;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #5E83FF 0%, #3a5fcc 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .form-header p {
            color: #5a6e8a;
            font-size: 15px;
        }
        
        /* Modern Input Fields */
        .input-group {
            margin-bottom: 28px;
        }
        
        .input-field {
            position: relative;
        }
        
        .input-field input {
            width: 100%;
            padding: 16px 12px 8px 44px;
            font-size: 16px;
            border: 2px solid #e2e8f0;
            border-radius: 16px;
            transition: all 0.3s ease;
            font-family: inherit;
            outline: none;
        }
        
        .input-field input:focus {
            border-color: #5E83FF;
            box-shadow: 0 0 0 4px rgba(94, 131, 255, 0.15);
        }
        
        .input-field label {
            position: absolute;
            left: 44px;
            top: 50%;
            transform: translateY(-50%);
            color: #8a9bc0;
            font-size: 16px;
            pointer-events: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .input-field label svg {
            opacity: 0.6;
            stroke: #5E83FF;
        }
        
        .input-field input:focus ~ label,
        .input-field input:not(:placeholder-shown) ~ label {
            display: none;
            top: 8px;
            transform: translateY(0);
            font-size: 11px;
            color: #5E83FF;
        }
        
        .input-field input:focus ~ label svg,
        .input-field input:not(:placeholder-shown) ~ label svg {
            opacity: 1;
        }
        
        .input-border {
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #5E83FF, #3a5fcc);
            transition: all 0.3s ease;
            transform: translateX(-50%);
            border-radius: 2px;
        }
        
        .input-field input:focus ~ .input-border {
            width: calc(100% - 32px);
        }
        
        /* Password Toggle Button */
        .toggle-password-btn {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            color: #8a9bc0;
            display: flex;
            align-items: center;
            padding: 4px;
            transition: color 0.3s ease;
        }
        
        .toggle-password-btn:hover {
            color: #5E83FF;
        }
        
        /* Forgot Password Link */
        .form-options {
            text-align: right;
            margin-bottom: 32px;
        }
        
        .forgot-link {
            font-size: 14px;
            color: #5E83FF;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }
        
        .forgot-link:hover {
            color: #3a5fcc;
        }
        
        /* Modern Login Button */
        .login-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #5E83FF 0%, #4a6fd9 100%);
            color: white;
            border: none;
            border-radius: 16px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(94, 131, 255, 0.3);
        }
        
        .login-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }
        
        .login-btn:hover::before {
            width: 300px;
            height: 300px;
        }
        
        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(94, 131, 255, 0.4);
        }
        
        .login-btn:active {
            transform: translateY(0);
        }
        
        .login-btn.loading {
            opacity: 0.7;
            cursor: not-allowed;
        }
        
        .btn-icon {
            transition: transform 0.3s ease;
        }
        
        .login-btn:hover .btn-icon {
            transform: translateX(4px);
        }
        
        /* Message Styles */
        .message-container {
            margin-top: 24px;
        }
        
        .modern-message {
            padding: 12px 16px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 14px;
            animation: slideIn 0.4s ease;
        }
        
        @keyframes slideIn {
            from {
                transform: translateY(-10px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
        .modern-message.success {
            background: #e6f7e6;
            color: #2e7d32;
            border-left: 3px solid #4caf50;
        }
        
        .modern-message.error {
            background: #ffe6e6;
            color: #c62828;
            border-left: 3px solid #f44336;
        }
        
        /* Welcome Card */
        .modern-child-welcome {
            max-width: 500px;
            margin: 80px auto;
            animation: fadeInUp 0.6s ease;
        }
        
        @keyframes fadeInUp {
            from {
                transform: translateY(30px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
        .welcome-card {
            background: white;
            border-radius: 32px;
            padding: 48px;
            text-align: center;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }
        
        .welcome-avatar img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            margin-bottom: 24px;
            border: 4px solid #5E83FF;
        }
        
        .welcome-card h2 {
            font-size: 28px;
            color: #1a202c;
            margin-bottom: 12px;
        }
        
        .welcome-card p {
            color: #718096;
            margin-bottom: 32px;
        }
        
        .modern-logout-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            background: linear-gradient(135deg, #5E83FF 0%, #4a6fd9 100%);
            color: white;
            text-decoration: none;
            border-radius: 40px;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .modern-logout-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(94, 131, 255, 0.3);
            color: white;
        }
        
        .parent-mode .welcome-card {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
        }
        
        .icon-badge {
            margin-bottom: 24px;
        }
        
        /* Responsive */
        @media (max-width: 968px) {
            .login-grid {
                grid-template-columns: 1fr;
            }
            
            .image-section {
                min-height: auto;
                order: -1;
            }
            
            .image-content {
                min-height: 300px;
            }
            
            .form-section {
                padding: 40px;
            }
            
            .form-container {
                padding: 30px;
            }
        }
        
        @media (max-width: 480px) {
            .modern-login-container {
                margin: 20px;
                border-radius: 24px;
            }
            
            .form-section {
                padding: 24px;
            }
            
            .form-header h2 {
                font-size: 28px;
            }
            
            .image-content {
                min-height: 250px;
            }
            
            .image-text {
                padding: 20px;
            }
            
            .image-text h2 {
                font-size: 24px;
            }
            
            .form-container {
                padding: 20px;
            }
        }
        

    