
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            opacity: 0.3;
            z-index: 1;
        }

        .main-container {
            position: relative;
            z-index: 2;
            display: flex;
            width: 100%;
            height: 100vh;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 0;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            overflow: hidden;
            animation: slideUp 0.6s ease-out;
        }

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

        .login-section {
            flex: 0 0 40%;
            padding: 48px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background: white;
        }

        .login-form-container {
            width: 100%;
            max-width: 420px;
            margin: 0 auto;
        }

        .modules-section {
            flex: 0 0 60%;
            padding: 48px;
            background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 100%);
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .login-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .logo {
            width: 80px;
            height: 80px;
            border: 1px solid  #1E88E5;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
            box-shadow: 0 8px 24px rgba(30, 136, 229, 0.3);
        }

        .logo i {
            font-size: 32px;
            color: white;
        }

        .login-title {
            font-size: 28px;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 8px;
        }

        .login-subtitle {
            font-size: 14px;
            color: #666;
            font-weight: 400;
        }

        .form-group {
            margin-bottom: 24px;
            position: relative;
        }

        .input-wrapper {
            position: relative;
            background: #f8fafc;
            border-radius: 12px;
            border: 2px solid transparent;
            transition: all 0.3s ease;
            overflow: hidden;
        }

        .input-wrapper:focus-within {
            border-color: #1E88E5;
            background: white;
            box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.1);
        }

        .form-input {
            width: 100%;
            padding: 16px 20px 16px 56px;
            border: none;
            background: transparent;
            font-size: 16px;
            color: #1a1a1a;
            outline: none;
            font-family: 'Inter', sans-serif;
        }

        .form-input::placeholder {
            color: #9ca3af;
            font-weight: 400;
        }

        .input-icon {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: #9ca3af;
            font-size: 18px;
            transition: color 0.3s ease;
        }

        .input-wrapper:focus-within .input-icon {
            color: #1E88E5;
        }

        .checkbox-wrapper {
            display: flex;
            align-items: center;
            margin-bottom: 32px;
        }

        .custom-checkbox {
            position: relative;
            width: 20px;
            height: 20px;
            margin-right: 12px;
            cursor: pointer;
        }

        .custom-checkbox input {
            position: absolute;
            opacity: 0;
            cursor: pointer;
        }

        .checkmark {
            position: absolute;
            top: 0;
            left: 0;
            width: 20px;
            height: 20px;
            background: #f8fafc;
            border: 2px solid #e5e7eb;
            border-radius: 6px;
            transition: all 0.3s ease;
        }

        .custom-checkbox input:checked ~ .checkmark {
            background: #1E88E5;
            border-color: #1E88E5;
        }

        .checkmark:after {
            content: '';
            position: absolute;
            display: none;
            left: 6px;
            top: 2px;
            width: 6px;
            height: 10px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

        .custom-checkbox input:checked ~ .checkmark:after {
            display: block;
        }

        .checkbox-label {
            font-size: 14px;
            color: #666;
            cursor: pointer;
            user-select: none;
        }

        .login-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #1E88E5, #1565C0);
            border: none;
            border-radius: 12px;
            color: white;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Inter', sans-serif;
            position: relative;
            overflow: hidden;
        }

        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(30, 136, 229, 0.4);
        }

        .login-btn:active {
            transform: translateY(0);
        }

        .login-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }

        .btn-content {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .spinner {
            display: none;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top: 2px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .error-message {
            background: #fef2f2;
            border: 1px solid #fecaca;
            color: #dc2626;
            padding: 12px 16px;
            border-radius: 8px;
            font-size: 14px;
            margin-bottom: 24px;
            margin-top: 12px;
            display: none;
            animation: shake 0.5s ease-in-out;
        }

        /* Input error styles */
        .input-wrapper.error {
            border-color: #dc2626;
            box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
        }

        .input-wrapper.error .input-icon {
            color: #dc2626;
        }

        .input-wrapper.error .form-input {
            color: #dc2626;
        }

        .input-wrapper.error .form-input::placeholder {
            color: #dc2626;
            opacity: 0.7;
        }

        /* Error message styles */
        .field-error {
            color: #dc2626;
            font-size: 12px;
            margin-top: 4px;
            display: block;
            animation: fadeIn 0.3s ease-in-out;
        }

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

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            75% { transform: translateX(5px); }
        }

        .footer {
            text-align: center;
            margin-top: 32px;
            padding-top: 24px;
            border-top: 1px solid #e5e7eb;
        }

        .footer-text {
            font-size: 12px;
            color: #9ca3af;
            line-height: 1.5;
        }

        .footer-link {
            color: #1E88E5;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .footer-link:hover {
            color: #1565C0;
        }

        /* New Modular Interface Styles */
        .modules-container {
            display: flex;
            height: 100%;
            gap: 32px;
        }

        .modules-selector {
            flex: 0 0 450px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .modules-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            width: 100%;
            max-width: 320px;
            margin: 0 auto;
            padding: 40px 0;
        }

        .modules-grid .module-item {
            flex: 0 0 auto;
        }

        .module-item {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: white;
            border: 3px solid #e3f2fd;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            position: relative;
            margin: 0 0 20px 0;

        }

        .module-item:hover {
            transform: scale(1.1);
            border-color: #1E88E5;
            box-shadow: 0 6px 20px rgba(30, 136, 229, 0.3);
        }

        .module-item.active {
            border-color: #1E88E5;
            background: #1E88E5;
            color: white;
        }

        .module-item i {
            font-size: 24px;
            color: #1E88E5;
            transition: color 0.3s ease;
        }

        .module-item.active i {
            color: white;
        }

        .module-label {
            position: absolute;
            bottom: -30px;
            left: 50%;
            transform: translateX(-50%);
            background: white;
            padding: 4px 8px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 500;
            color: #1a1a1a;
            white-space: nowrap;
            opacity: 0;
            transition: all 0.3s ease;
            pointer-events: none;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .module-item:hover .module-label {
            opacity: 1;
        }

        .modules-details {
            flex: 1;
            background: white;
            border-radius: 16px;
            padding: 32px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            overflow-y: auto;
            max-height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-self: center;
            animation: slideInRight 0.6s ease-out;
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .detail-header {
            display: flex;
            align-items: center;
            margin-bottom: 24px;
            padding-bottom: 16px;
            border-bottom: 2px solid #f1f5f9;
            animation: fadeInUp 0.8s ease-out 0.2s both;
        }

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

        .detail-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #1E88E5, #1565C0);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        .detail-icon i {
            font-size: 24px;
            color: white;
        }

        .detail-title {
            font-size: 24px;
            font-weight: 700;
            color: #1a1a1a;
            margin: 0;
        }

        .detail-description {
            font-size: 16px;
            color: #666;
            line-height: 1.6;
            margin-bottom: 24px;
            animation: fadeInUp 0.8s ease-out 0.4s both;
        }

        .detail-features {
            list-style: none;
            margin-bottom: 24px;
            animation: fadeInUp 0.8s ease-out 0.6s both;
        }

        .detail-features li {
            display: flex;
            align-items: center;
            font-size: 14px;
            color: #4b5563;
            margin-bottom: 12px;
            padding: 8px 0;
        }

        .detail-features li:before {
            content: '✓';
            color: #1E88E5;
            font-weight: bold;
            margin-right: 12px;
            font-size: 16px;
            width: 20px;
            text-align: center;
        }

        .coming-soon-badge {
            background: #fef3c7;
            color: #92400e;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            margin-left: 12px;
        }

        .modules-title {
            text-align: center;
            font-size: 20px;
            font-weight: 600;
            color: #1a1a1a;
            margin-bottom: 16px;
            margin-top: 0;
        }

        .modules-subtitle {
            text-align: center;
            font-size: 14px;
            color: #666;
            margin-bottom: 32px;
        }

        @media (max-width: 1024px) {
            .main-container {
                flex-direction: column;
                height: auto;
                min-height: 100vh;
            }

            .login-section {
                flex: none;
                padding: 32px 24px;
            }

            .modules-section {
                flex: none;
                padding: 32px 24px;
            }

            .modules-container {
                flex-direction: column;
                gap: 24px;
            }

            .modules-selector {
                flex: none;
            }

            .modules-circle {
                width: 240px;
                height: 240px;
            }
        }

        @media (max-width: 480px) {
            .main-container {
                margin: 0;
                border-radius: 0;
            }

            .login-section,
            .modules-section {
                padding: 24px 16px;
            }

            .login-title {
                font-size: 24px;
            }

            .form-input {
                padding: 14px 16px 14px 48px;
                font-size: 16px;
            }

            .input-icon {
                left: 16px;
                font-size: 16px;
            }

            .modules-circle {
                width: 200px;
                height: 200px;
            }

            .module-item {
                width: 50px;
                height: 50px;
            }

            .module-item i {
                font-size: 16px;
            }
        }
