 :root {
            --primary: #FD790D;
            --primary-light: #ff983d;
            --primary-dark: #d46307;
            --secondary: #10b981;
            --dark: #1f2937;
            --light: #f9fafb;
            --gray: #9ca3af;
            --form-bg: #ffffff;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #fef8f1 0%, #f9e5d8 30%, #f2d6c7 70%, #e8c2b2 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        
        .container {
            width: 100%;
            max-width: 1100px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 15px 40px rgba(253, 121, 13, 0.15);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            animation: fadeIn 0.8s ease-out;
            position: relative;
        }
        
        .container::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(253,121,13,0.05) 0%, transparent 70%);
            transform: rotate(30deg);
            z-index: 0;
        }
        input.is-valid:not(:placeholder-shown) {
    border-color: #28a745 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

input.is-invalid:not(:placeholder-shown) {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @media (min-width: 992px) {
            .container {
                flex-direction: row;
                min-height: 650px;
            }
        }
        
        .form-section {
            flex: 1;
            padding: 40px 50px 50px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            z-index: 2;
            background: var(--form-bg);
            align-items: center;
        }
        
        .logo-container {
            width: 100%;
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }
        
        .logo {
            width: 200px;
            height: auto;
            animation: bounceIn 1s ease-out;
        }
        
        @keyframes bounceIn {
            0% { transform: scale(0.8); opacity: 0; }
            60% { transform: scale(1.05); }
            100% { transform: scale(1); opacity: 1; }
        }
        
        h2 {
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 15px;
            font-size: 28px;
            position: relative;
            display: inline-block;
            text-align: center;
        }
        
        h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 4px;
            background: var(--primary);
            border-radius: 2px;
            animation: expandLine 0.8s ease-out forwards;
        }
        
        @keyframes expandLine {
            from { width: 0; }
            to { width: 50px; }
        }
        
        .subtitle {
            color: var(--gray);
            margin-bottom: 35px;
            font-size: 16px;
            line-height: 1.6;
            max-width: 400px;
            text-align: center;
        }
        
        .form-container {
            width: 100%;
            max-width: 450px;
            text-align: center; /* Center text */
    margin-left: auto;  /* Center block horizontally */
    margin-right: auto; /* Center block horizontally */
        }
        
        .form-group {
            margin-bottom: 25px;
            position: relative;
        }
        
        .input-with-icon {
            position: relative;
        }
        
        .input-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
            z-index: 1;
        }
        
        .form-control {
            width: 100%;
            padding: 16px 20px 16px 45px;
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            font-size: 16px;
            transition: all 0.3s;
            background: #f9fafb;
        }
        
        .form-control:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(253, 121, 13, 0.2);
            background: white;
        }
        
        .alert {
            padding: 12px 16px;
            border-radius: 10px;
            margin-top: 8px;
            font-size: 14px;
            display: none;
        }
        
        .alert-danger {
            background-color: #fee2e2;
            color: #ef4444;
            border: 1px solid #fecaca;
        }
        
        .btn {
            background: linear-gradient(to right, var(--primary), var(--primary-dark));
            color: white;
            border: none;
            padding: 16px 30px;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            position: relative;
            overflow: hidden;
            margin-top: 20px;
            text-decoration: none;
            width: 100%;
        }
        
        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: all 0.6s ease;
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 7px 20px rgba(253, 121, 13, 0.4);
            text-decoration: none;
            color: white;
        }
        
        .btn:hover::before {
            left: 100%;
        }
        
        .btn:disabled {
            background: #9ca3af;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        .btn:disabled:hover::before {
            left: -100%;
        }
        
        .graphic-section {
            flex: 1;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            padding: 50px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .graphic-title {
            font-size: 32px;
            font-weight: 800;
            margin-bottom: 25px;
            position: relative;
            z-index: 2;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }
        
        .graphic-subtitle {
            font-size: 20px;
            margin-bottom: 35px;
            position: relative;
            z-index: 2;
            font-weight: 500;
        }
        
        .features {
            text-align: left;
            width: 100%;
            max-width: 400px;
            position: relative;
            z-index: 2;
        }
        
        .feature {
            display: flex;
            align-items: center;
            margin-bottom: 18px;
            transition: transform 0.3s;
        }
        
        .feature:hover {
            transform: translateX(5px);
        }
        
        .feature i {
            background: rgba(255, 255, 255, 0.2);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            transition: all 0.3s;
        }
        
        .feature:hover i {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }
        
        .graphic-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0.1;
        }
        
        .graphic-bg i {
            position: absolute;
            font-size: 300px;
            color: white;
        }
        
        .graphic-bg i:nth-child(1) {
            top: -50px;
            right: -50px;
            animation: rotate 30s linear infinite;
        }
        
        .graphic-bg i:nth-child(2) {
            bottom: -80px;
            left: -80px;
            animation: rotateReverse 25s linear infinite;
        }
        
        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        @keyframes rotateReverse {
            from { transform: rotate(0deg); }
            to { transform: rotate(-360deg); }
        }
        
        .divider {
            height: 4px;
            width: 80px;
            background: rgba(255, 255, 255, 0.5);
            margin: 25px auto;
            border-radius: 2px;
            position: relative;
            z-index: 2;
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        
        .floating {
            animation: float 5s ease-in-out infinite;
        }
        
        .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            overflow: hidden;
        }
        
        .particle {
            position: absolute;
            background-color: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            animation: floatParticle 15s infinite linear;
        }
        
        @keyframes floatParticle {
            0% {
                transform: translateY(0) translateX(0) rotate(0deg);
                opacity: 1;
            }
            100% {
                transform: translateY(-500px) translateX(100px) rotate(360deg);
                opacity: 0;
            }
        }
        
        .login-link {
            text-align: center;
            margin-top: 25px;
            color: var(--gray);
        }
        
        .login-link a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .login-link a:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }
        
        @media (max-width: 992px) {
            .container {
                max-width: 95%;
            }
            
            .form-section, .graphic-section {
                padding: 40px 30px;
            }
        }
        
        @media (max-width: 768px) {
            .container {
                max-width: 100%;
            }
            
            .form-section, .graphic-section {
                padding: 30px 20px;
            }
            
            .logo {
                width: 160px;
            }
        }