.container {
            /* display: flex; */
            align-items: center;
            justify-content: center;
            /* padding: 20px; */
        }

        .auth-wrapper {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            max-width: 1000px;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            min-height: 600px;
            position: relative;
        }

        .image-section {
            background: linear-gradient(45deg, rgba(0, 113, 200, 0.9), rgba(0, 61, 166, 0.9)),
                        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 600"><rect fill="%23f0f2f5" width="1000" height="600"/><circle fill="%2392c800" cx="200" cy="150" r="80" opacity="0.3"/><circle fill="%2376a600" cx="800" cy="400" r="120" opacity="0.2"/><rect fill="%2392c800" x="100" y="300" width="200" height="150" rx="10" opacity="0.2"/><rect fill="%2376a600" x="600" y="100" width="300" height="200" rx="15" opacity="0.3"/></svg>');
            background-size: cover;
            background-position: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: white;
            padding: 40px;
            position: relative;
        }

        .image-section::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            opacity: 0.3;
        }

        .brand-logo {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            z-index: 1;
        }

        .brand-tagline {
            font-size: 1.1rem;
            opacity: 0.9;
            line-height: 1.6;
            z-index: 1;
        }

        .form-section {
            flex: 1;
            background-color: #D8D8D8; 
            display: flex;
            justify-content: center; 
            align-items: center;    
            padding: 40px 20px;
        }

        /* ===== FORM BOX ===== */
        .form {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 380px; 
            padding: 40px 30px;
            text-align: center;
        }

        .form-toggle {
            display: flex;
            background: #f8f9fa;
            border-radius: 12px;
            margin-bottom: 40px;
            overflow: hidden;
            position: relative;
        }

        .toggle-btn {
            flex: 1;
            padding: 15px 20px;
            text-align: center;
            background: transparent;
            border: none;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 2;
            position: relative;
        }

        .toggle-btn.active {
            color: white;
        }

        .toggle-indicator {
            position: absolute;
            top: 5px;
            bottom: 5px;
            width: calc(50% - 10px);
            background: linear-gradient(135deg, #2F89F4, #061f66);
            border-radius: 8px;
            transition: transform 0.3s ease;
            left: 5px;
        }

        .toggle-indicator.login {
            transform: translateX(0);
        }

        .toggle-indicator.register {
            transform: translateX(calc(100% + 10px));
        }

        .form-container {
            position: relative;
            overflow: hidden;
        }

        .form {
            transition: transform 0.4s ease, opacity 0.4s ease;
        }

        .form.hidden {
            transform: translateX(30px);
            opacity: 0;
            pointer-events: none;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
        }

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

        .form-input {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s ease;
            background: #fafbfc;
        }

        .form-input:focus {
            outline: none;
            border-color: #2F89F4;
            background: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(10, 81, 202, 0.15);
        }

        .form-input::placeholder {
            color: #adb5bd;
        }

        .password-toggle {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #6c757d;
            transition: color 0.3s ease;
        }

        .password-toggle:hover {
            color: #2F89F4;
        }

        .form-check {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 30px;
        }

        .form-check input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: #2F89F4;
        }

        .form-check label {
            font-size: 14px;
            color: #6c757d;
            cursor: pointer;
        }

        .btn-primary {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, #2F89F4, #050ab5);
            border: none;
            border-radius: 8px;
            color: white;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 30px rgba(13, 41, 196, 0.4);
        }

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

        .divider {
            text-align: center;
            margin: 30px 0;
            position: relative;
            color: #6c757d;
        }

        .divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: #e9ecef;
        }

        .divider span {
            background: white;
            padding: 0 20px;
        }

        .social-login {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 20px;
        }

        .social-btn {
            padding: 12px;
            border: 2px solid #e9ecef;
            border-radius: 12px;
            background: white;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-weight: 500;
        }

        .social-btn:hover {
            border-color: #2F89F4;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

        .forgot-password {
            text-align: center;
            margin-top: 20px;
        }

        .forgot-password a {
            color: #2F89F4;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .forgot-password a:hover {
            color: #2F89F4;
        }

        .form-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: #2d3748;
        }

        .form-subtitle {
            color: #6c757d;
            margin-bottom: 40px;
            line-height: 1.5;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .auth-wrapper {
                grid-template-columns: 1fr;
                max-width: 400px;
            }

            .image-section {
                order: -1;
                min-height: 200px;
                padding: 30px 20px;
            }

            .form-section {
                padding: 40px 30px;
            }

            .brand-logo {
                font-size: 2rem;
            }

            .social-login {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 10px;
            }

            .form-section {
                padding: 30px 20px;
            }

            .form-title {
                font-size: 1.8rem;
            }
        }

        /* Animation Effects */
        @keyframes slideIn {
            from {
                transform: translateY(30px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .form {
            animation: slideIn 0.5s ease;
        }

        .floating-elements {
            position: absolute;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .floating-element {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        }

        .floating-element:nth-child(1) {
            width: 80px;
            height: 80px;
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .floating-element:nth-child(2) {
            width: 120px;
            height: 120px;
            top: 60%;
            right: 15%;
            animation-delay: 2s;
        }

        .floating-element:nth-child(3) {
            width: 60px;
            height: 60px;
            bottom: 20%;
            left: 20%;
            animation-delay: 4s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }

        .error-message {
            color: #e74c3c;
            font-size: 14px;
            margin-top: 5px;
            display: none;
        }

        .success-message {
            color: #2F89F4;
            font-size: 14px;
            margin-top: 5px;
            display: none;
        }

        .input-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #adb5bd;
            transition: color 0.3s ease;
        }

        .form-input.with-icon {
            padding-left: 40px;
        }

        .form-input:focus + .input-icon {
            color: #2F89F4;
        }

/* =========================================================> Error Style */
        .errorlist {
            color: red;
            font-size: 14px;
            margin: 5px 0 0 35px; 
            list-style: none;
            padding: 0;
        }




/* =========================================================> Table and Button Styles */
    body {
        background-color: #FFFFFF;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh; /* full height */
        margin: 0;
    }

    .auth-wrapper {
        display: flex;
        width: 900px;
        min-height: 500px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        border-radius: 12px;
        overflow: hidden;
    }

    .image-section {
        flex: 1;
        background: #2F89F4;
        color: #fff;
        padding: 40px;
    }

    .form-section {
        flex: 1;
        background-color: #D8D8D8;
        padding: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .form {
        width: 100%;
    }

    .scrolling-info {
        margin-top: 30px;
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        background: #f8f9fa;
        border-radius: 8px;
        padding: 10px;
        border: 1px solid #ddd;
    }

    .scrolling-info span {
        display: inline-block;
        padding-left: 100%;
        animation: scroll-text 15s linear infinite;
        font-weight: 500;
        color: #2d3748;
    }

    @keyframes scroll-text {
        0%   { transform: translateX(0); }
        100% { transform: translateX(-100%); }
    }

    table, th, td {
        font-size: 14px;
        color: #333;
    }

    /* ===== Responsive Wrapper ===== */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f5f7fa;
    padding: 20px;
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 960px;
    width: 100%;
}

/* ===== Responsive Form Section ===== */
.form-section {
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .image-section {
        display: none;
    }

    .form-section {
        padding: 40px 25px;
    }

    .form-title {
        font-size: 1.8rem;
    }

    .form-subtitle {
        font-size: 0.95rem;
    }

    .btn-primary {
        padding: 12px;
        font-size: 15px;
    }

    .scrolling-info {
        font-size: 12px;
        animation-duration: 20s;
    }
}

@media (max-width: 480px) {
    .form-section {
        padding: 30px 20px;
    }
    .form-input {
        font-size: 15px;
        padding: 10px 14px;
    }
}

.login-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f5f7fa;
}

.login-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center; 
    min-height: 100vh;   
    background: #f5f7fa; 
    overflow: hidden;    
}