        :root {
            --primary-color: #cf1313ff;
            --secondary-color: #8e1212ff;
            --accent-color: #f97316;
            --light-color: #f8fafc;
            --dark-color: #1e293b;
            --success-color: #22c55e;
            --error-color: #ef4444;
            --border-radius: 8px;
            --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
            padding: 20px;
            position: relative;
            overflow-x: hidden;
            overflow-y:hidden;
        }
        
        /* Animated background elements */
        .bg-element {
            position: absolute;
            border-radius: 50%;
            opacity: 0.1;
            z-index: -1;
            animation: float 15s infinite ease-in-out;
        }
        
        .bg-1 {
            width: 300px;
            height: 300px;
            background: var(--primary-color);
            top: -150px;
            left: -150px;
            animation-delay: 0s;
        }
        
        .bg-2 {
            width: 200px;
            height: 200px;
            background: var(--accent-color);
            bottom: -100px;
            right: -100px;
            animation-delay: -5s;
        }
        
        /* Additional animated elements */
        .bg-3 {
            width: 150px;
            height: 150px;
            background: var(--secondary-color);
            top: 50%;
            left: 10%;
            animation-delay: -10s;
        }
        
        .bg-4 {
            width: 100px;
            height: 100px;
            background: var(--accent-color);
            bottom: 30%;
            right: 15%;
            animation-delay: -7s;
        }
        
        /* Subtle gradient animation */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(207, 19, 31, 0.03) 0%, rgba(142, 18, 18, 0.03) 100%);
            z-index: -2;
            animation: gradientShift 20s ease infinite;
        }
        
        /* Keyframe animations */
        @keyframes float {
            0%, 100% {
                transform: translate(0, 0) rotate(0deg);
            }
            25% {
                transform: translate(10px, 15px) rotate(5deg);
            }
            50% {
                transform: translate(-5px, 20px) rotate(-5deg);
            }
            75% {
                transform: translate(-10px, 5px) rotate(3deg);
            }
        }
        
        @keyframes gradientShift {
            0%, 100% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
        }
        
        .login-box {
            width: 100%;
            max-width: 900px;
            min-height: 500px;
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            overflow: hidden;
            display: flex;
            animation: fadeIn 0.8s ease-out;
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .login-left {
            flex: 1;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }
        
        .login-left::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
            background-size: cover;
            animation: shimmer 15s infinite linear;
        }
        
        @keyframes shimmer {
            0% {
                background-position: -100% 0;
            }
            100% {
                background-position: 200% 0;
            }
        }
        
        .logo {
            display: flex;
            align-items: center;
            margin-bottom: 30px;
        }
        
        .logo-icon {
            font-size: 28px;
            margin-right: 10px;
        }
        
        .logo-text {
            font-size: 24px;
            font-weight: 700;
        }
        
        .left-content {
            position: relative;
            z-index: 1;
        }
        
        .left-content h1 {
            font-size: 28px;
            margin-bottom: 20px;
        }
        
        .left-content p {
            line-height: 1.6;
            margin-bottom: 30px;
            opacity: 0.9;
        }
        
        .features {
            list-style: none;
        }
        
        .features li {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            opacity: 0;
            animation: slideInLeft 0.5s forwards;
        }
        
        .features li:nth-child(1) { animation-delay: 0.3s; }
        .features li:nth-child(2) { animation-delay: 0.5s; }
        .features li:nth-child(3) { animation-delay: 0.7s; }
        .features li:nth-child(4) { animation-delay: 0.9s; }
        
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        .features i {
            margin-right: 10px;
            color: var(--accent-color);
        }
        
        .login-right {
            flex: 1;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .login-header {
            text-align: center;
            margin-bottom: 30px;
            animation: fadeIn 0.8s ease-out 0.2s both;
        }
        
        .login-header h2 {
            color: var(--dark-color);
            font-size: 28px;
            margin-bottom: 10px;
        }
        
        .login-header p {
            color: #64748b;
        }
        
        .login-form {
            width: 100%;
        }
        
        .form-group {
            margin-bottom: 20px;
            position: relative;
            animation: fadeIn 0.8s ease-out 0.4s both;
        }
        
        .form-group:nth-child(2) {
            animation-delay: 0.6s;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: var(--dark-color);
            font-weight: 500;
        }
        
        .input-with-icon {
            position: relative;
        }
        
        .input-with-icon i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
        }
        
        .input-with-icon input {
            width: 100%;
            padding: 12px 15px 12px 45px;
            border: 1px solid #cbd5e1;
            border-radius: var(--border-radius);
            font-size: 16px;
            transition: all 0.3s;
        }
        
        .input-with-icon input:focus {
            outline: none;
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
        }
        
        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            animation: fadeIn 0.8s ease-out 0.8s both;
        }
        
        .remember-me {
            display: flex;
            align-items: center;
        }
        
        .remember-me input {
            margin-right: 8px;
        }
        
        .forgot-password {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .forgot-password:hover {
            color: var(--secondary-color);
            text-decoration: underline;
        }
        
        .login-button {
            width: 100%;
            padding: 14px;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: var(--border-radius);
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
            display: flex;
            justify-content: center;
            align-items: center;
            animation: fadeIn 0.8s ease-out 1s both;
        }
        
        .login-button i {
            margin-left: 8px;
        }
        
        .login-button:hover {
            background: var(--secondary-color);
        }
        
        .error-message {
            color: var(--error-color);
            text-align: center;
            margin-top: 20px;
            padding: 10px;
            border-radius: var(--border-radius);
            background: rgba(239, 68, 68, 0.1);
            display: none;
        }
        
        .success-message {
            color: var(--success-color);
            text-align: center;
            margin-top: 20px;
            padding: 10px;
            border-radius: var(--border-radius);
            background: rgba(34, 197, 94, 0.1);
            display: none;
        }
        
        @media (max-width: 768px) {
            .login-box {
                flex-direction: column;
                max-width: 100%;
            }
            
            .login-left {
                display: none;
            }
            
            .login-right {
                padding: 30px 20px;
            }
            
            .bg-3, .bg-4 {
                display: none;
            }
        }
        
        .password-toggle {
            position: absolute;
            right: 45px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #94a3b8;
        }


.otp-input-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.otp-input {
    width: 45px;
    height: 50px;
    text-align: center;
    font-size: 1.5rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #f8f9fa;
    color: #333;
    transition: all 0.2s ease-in-out;

}

.otp-input::-webkit-outer-spin-button,
.otp-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.otp-input:focus {
    outline: none;
    border-color: #b51a1a;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.25);
}

        