        :root {
            --primary-color: #ebb50c;
            --primary-dark: #d49a0a;
            --bg-primary: #F5F1E8;
            --bg-secondary: #FDFBF7;
            --text-primary: #2C3E50;
            --text-secondary: #7F8C8D;
            --text-light: #95A5A6;
            --border-color: rgba(212, 165, 116, 0.2);
            --border-radius: 22px;
            --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        [data-theme="dark"] {
            --bg-primary: #1A1A1A;
            --bg-secondary: #242424;
            --text-primary: #F5F1E8;
            --text-secondary: #B8A89A;
            --text-light: #8B7D72;
            --border-color: rgba(212, 165, 116, 0.15);
        }

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

        html,
        body {
            height: 100%;
            width: 100%;
            font-family: Inter;
            overflow: hidden;
        }

        body {
            background-color: var(--bg-primary);
            color: var(--text-primary);
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .login-container {
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
        }

        .floating-shape {
            position: absolute;
            border-radius: 50%;
            opacity: 0.06;
        }

        .shape-1 {
            width: 300px;
            height: 300px;
            background: var(--primary-color);
            top: -100px;
            right: -50px;
            animation: float 20s infinite ease-in-out;
        }

        .shape-2 {
            width: 200px;
            height: 200px;
            background: var(--primary-color);
            bottom: -50px;
            left: 10%;
            animation: float 20s infinite ease-in-out 2s;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(30px);
            }
        }

        .auth-wrapper {
            position: relative;
            z-index: 1;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .auth-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            width: 100%;
            max-width: 1200px;
            padding: 2rem;
            align-items: center;
        }

        .left-section {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 2rem;
            opacity: 0;
            animation: slideInLeft 0.8s ease 0.2s forwards;
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .logo-wrapper {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            gap: 0.75rem;
            opacity: 0;
            animation: fadeInUp 0.6s ease 0.3s forwards;
        }

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

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .auth-wrapper .logo-wrapper img {
            max-width: 220px;
        }

        [data-theme="dark"] .auth-wrapper .logo-wrapper img {
            filter: brightness(0) invert(1);
        }

        .welcome-text {
            margin-top: 2rem;
            opacity: 0;
            animation: fadeInUp 0.6s ease 0.5s forwards;
        }

        .welcome-text h2 {
            font-size: 3rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .welcome-text p {
            font-size: 1.2rem;
            color: var(--text-secondary);
        }

        .cards-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            margin-top: 3rem;
        }

        .card-item {
            background: rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 1.5rem;
            text-align: center;
            opacity: 0;
            animation: fadeInUp 0.5s ease forwards;
            /* cursor: pointer; */
            transition: var(--transition);
        }

        .card-item:nth-child(1) {
            animation-delay: 0.7s;
        }

        .card-item:nth-child(2) {
            animation-delay: 0.8s;
        }

        .card-item:nth-child(3) {
            animation-delay: 0.9s;
        }

        .card-item:nth-child(4) {
            animation-delay: 1s;
        }

        .card-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(212, 165, 116, 0.2);
        }

        .card-icon {
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }

        .card-item h3 {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-primary);
            margin: 0;
        }

        .card-item p {
            font-size: 0.75rem;
            color: var(--text-secondary);
            margin: 0.25rem 0 0 0;
        }

        [data-theme="dark"] .card-item p {
            color: #fff;
        }
        
        .right-section {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .auth-card {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(20px);
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius);
            padding: 3rem;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
            width: 100%;
            max-width: 420px;
            opacity: 0;
            animation: slideInUp 0.8s ease 0.2s forwards;
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        [data-theme="dark"] .auth-card {
            background: rgba(30, 30, 30, 0.8);
        }

        .auth-card:hover {
            border-color: var(--primary-color);
        }

        .form-header {
            margin-bottom: 2rem;
            text-align: center;
        }

        .form-header h2 {
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .form-header p {
            font-size: 1rem;
            color: var(--text-secondary);
        }

        .form-group {
            margin-bottom: 1.5rem;
            position: relative;
        }

        .form-label {
            position: absolute;
            top: 50%;
            left: 2.5rem;
            transform: translateY(-50%);
            color: var(--text-secondary);
            font-size: 1rem;
            pointer-events: none;
            transition: var(--transition);
            font-weight: 500;
        }

        .form-control {
            width: 100%;
            padding: 1rem 1rem 1rem 2.75rem;
            border: 2px solid var(--border-color);
            border-radius: 12px;
            background: var(--bg-secondary);
            color: var(--text-primary);
            font-size: 1rem;
            font-family: inherit;
            transition: var(--transition);
        }

        .form-control::placeholder {
            color: transparent;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
        }

        .form-control:focus+.form-label,
        .form-control:not(:placeholder-shown)+.form-label,
        .form-control.has-value+.form-label {
            top: -0.75rem;
            font-size: 0.75rem;
            color: var(--primary-color);
            /* background: var(--bg-secondary); */
            padding: 0 0.25rem;
            left: 0.75rem;
        }

        .form-icon {
            position: absolute;
            left: 0.75rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-secondary);
            font-size: 1rem;
            pointer-events: none;
            transition: color 0.3s ease;
        }

        .form-control:focus~.form-icon {
            color: var(--primary-color);
        }

        .password-toggle {
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--text-secondary);
            cursor: pointer;
            font-size: 1rem;
            padding: 0.5rem;
        }

        .password-toggle:hover {
            color: var(--primary-color);
        }

        .caps-lock-warning {
            position: absolute;
            top: -1.5rem;
            right: 0;
            font-size: 0.75rem;
            color: #E74C3C;
            display: none;
        }

        .caps-lock-warning.show {
            display: block;
        }

        .form-check {
            margin: 1.5rem 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .form-check input {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: var(--primary-color);
        }

        .form-check-label {
            color: var(--text-secondary);
            font-size: 0.9rem;
            cursor: pointer;
            margin-left: 0.5rem;
            user-select: none;
        }

        .forgot-password {
            display: block;
            text-align: right;
            color: var(--primary-color);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;            
            transition: var(--transition);
        }

        .forgot-password:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }

        .btn-sign-in {
            width: 100%;
            padding: 0.875rem 1.5rem;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            margin-bottom: 1rem;
            box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
        }

        .btn-sign-in:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
        }

        .btn-sign-in:active:not(:disabled) {
            transform: translateY(0);
        }

        .btn-sign-in:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .btn-sign-in .spinner-icon {
            display: none;
            margin-right: 0.5rem;
        }

        .btn-sign-in.loading .spinner-icon {
            display: inline-flex;
        }

        .security-message {
            text-align: center;
            font-size: 0.8rem;
            color: var(--text-light);
            margin-top: 1rem;
        }

        .error-message {
            color: #E74C3C;
            font-size: 0.75rem;
            margin-top: 0.5rem;
            display: none;
        }

        .error-message.show {
            display: block;
        }

        .form-control.error {
            border-color: #E74C3C;
        }

        .theme-toggle {
            position: fixed;
            top: 1.5rem;
            right: 1.5rem;
            z-index: 10;
            background: rgba(255, 255, 255, 0.7);
            border: 1px solid var(--border-color);
            border-radius: 50%;
            width: 44px;
            height: 44px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-primary);
            transition: var(--transition);
            font-size: 20px;
        }

        [data-theme="dark"] .theme-toggle {
            background: rgba(30, 30, 30, 0.7);
        }

        .theme-toggle:hover {
            background: var(--primary-color);
            color: white;
            transform: rotate(20deg);
        }
        .remember_box{
            display: flex;
            align-items: center;
        }
        @media (max-width: 991px) {
            .auth-content {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .left-section {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .auth-content {
                padding: 1.5rem 1rem;
            }

            .auth-card {
                max-width: 95%;
                padding: 2rem;
            }

            .form-header h2 {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 576px) {
            .auth-content {
                padding: 1rem 0.75rem;
            }

            .auth-card {
                max-width: 95%;
                padding: 1.5rem 1.25rem;
                border-radius: 16px;
            }

            .form-header h2 {
                font-size: 1.25rem;
            }

            .btn-sign-in {
                padding: 0.75rem 1.25rem;
                font-size: 0.95rem;
            }
        }