
        @import url("./components/header.css");
        @import url("./components/footer.css");
          body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            /* background: linear-gradient(135deg, #6b8e23 0%, #6b8e23 100%); */
            min-height: 100vh;
            /* display: flex; */
            align-items: center;
            justify-content: center;
        }
.login-page {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

 .login-container {
            background: white;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.2);
            overflow: hidden;
            max-width: 500px;
            width: 100%;
            display: flex;
            min-height: 550px;
        }



        .login-left h2 {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 1rem;
        }

        .login-left p {
            margin-bottom: 2rem;
            opacity: 0.9;
            font-size: 1.1rem;
        }

        .login-left .logo {
            width: 150px;
            margin-bottom: 2rem;
        }

        .login-right {
            flex: 1;
            padding: 3rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .login-header {
            margin-bottom: 2rem;
        }

        .login-header h3 {
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
            text-align: center;
        }

        .login-header p {
            color: #666;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--primary-color);
        }

        .form-control {
            border-radius: 10px;
            padding: 0.75rem 1rem;
            border: 2px solid #e0e0e0;
            transition: all 0.3s;
        }

        .form-control:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
        }



        .password-toggle {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #999;
            z-index: 10;
        }

        .btn-login {
            background: var(--login-btn-color);
            border: none;
            border-radius: 10px;
            padding: 0.75rem;
            font-weight: 600;
            transition: all 0.3s;
            width: 100%;
            color: #000;
            font-size: 1rem;
        }

        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
            color: #000;
            background: var(--login-btn-hover-color);
        }

        .divider {
            text-align: center;
            margin: 1.5rem 0;
            position: relative;
        }

        .divider::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            width: 100%;
            height: 1px;
            background: #e0e0e0;
        }

        .divider span {
            background: white;
            padding: 0 1rem;
            position: relative;
            color: #999;
        }

        .social-login {
            display: flex;
            gap: 1rem;
        }

        .social-btn {
            flex: 1;
            padding: 0.75rem;
            border-radius: 10px;
            border: 2px solid #e0e0e0;
            background: white;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .social-btn:hover {
            border-color: #667eea;
            transform: translateY(-2px);
        }

        .social-btn i {
            font-size: 1.2rem;
        }

        .social-btn.google {
            color: #4267c3;
        }

        .social-btn.apple {
            color: #4267B2;
        }

        .forgot-password {
            text-align: right;
            margin-top: 0.5rem;
        }

        .forgot-password a {
            color: #667eea;
            text-decoration: none;
            font-size: 0.9rem;
        }

        .forgot-password a:hover {
            text-decoration: underline;
        }

        .form-check-label {
            font-size: 0.9rem;
        }

        .signup-link {
            text-align: center;
            margin-top: 1.5rem;
            color: #666;
        }

        .signup-link a {
            color: #667eea;
            font-weight: 600;
            text-decoration: none;
        }

        .signup-link a:hover {
            text-decoration: underline;
        }

        .google img{
            width: 30px;
        }

        .apple img{
            width: 30px;
        }

        @media (max-width: 768px) {
            html,
            body {
                overflow-x: hidden;
            }

            .login-container {
                flex-direction: column;
                max-width: 500px;
                border-radius: 16px;
                padding: 16px;
                width: 95%;
             }


            .login-left {
                padding: 2rem;
            }

            .login-right {
                padding: 0rem;
            }

            .login-left h2 {
                font-size: 1.8rem;
            }

            body.modal-open {
                padding-right: 0 !important;
                overflow: hidden;
                width: 100%;
            }

            .modal-backdrop.show {
                width: 100vw;
            }

            #loginModal {
                padding: 0.5rem !important;
                overflow-x: hidden;
                overflow-y: auto;
            }

            #loginModal .modal-dialog {
                width: calc(100% - 1rem);
                max-width: 420px;
                min-height: calc(100dvh - 1rem);
                margin: 0.5rem auto !important;
                display: flex;
                align-items: center;
                justify-content: center;
                transform: none !important;
            }

            #loginModal .modal-content {
                width: 100%;
                max-width: 100%;
                max-height: calc(100dvh - 1rem);
                border-radius: 18px;
                margin: 0 auto;
                overflow: hidden;
            }

            #loginModal .modal-header {
                padding: 1rem 1rem 0;
                flex: 0 0 auto;
            }

            #loginModal .modal-body {
                padding: 0.5rem 1rem 1rem;
                overflow-y: auto;
            }
        }
        
 /* Input wrapper */
.input-group {
    position: relative;
}

/* Input field */
.form-control {
    position: relative;
    z-index: 1;
}

/* Icons */
.input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}

/* Left icon */
.input-icon.left {
    left: 15px;
    pointer-events: none;
}

/* Right eye icon */
.input-icon.right {
    right: 15px;
    cursor: pointer;
    z-index: 10; /*  critical */
}

/* Padding for icons */
.password-group .form-control {
    padding-left: 2.8rem;
    padding-right: 2.8rem;
}
i.fas.fa-lock.input-icon.left {
    z-index: 99;
}
        
