
        @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); /* header + footer space */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
  /*  margin-top: 70px;*/
}
main{
    margin-top: 50px;
    margin-bottom: 50px;
    }
 .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);
        }

        .input-group {
            position: relative;
        }

        .input-group i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
            z-index: 10;
        }

        .input-group .form-control {
            padding-left: 2.5rem;
        }

        .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) {
            .login-container {
                flex-direction: column;
                max-width: 500px;
                border-radius: 16px;
                padding: 16px;
    }
    main{
    margin-top: 0px;
    margin-bottom: 0px;
    }
    .login-page {
        padding: 40px 10px;
    }


            .login-left {
                padding: 2rem;
            }

            .login-right {
                padding: 0rem;
            }

            .login-left h2 {
                font-size: 1.8rem;
            }
        }
        
        
 /* Input wrapper */
.input-group {
    position: relative;
}

/* Icons inside input */
.input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    z-index: 2;
    font-size: 14px;
}

/* Left icon */
.input-icon.left {
    left: 15px;
    pointer-events: none; /* prevents hand cursor */
}

/* Right eye icon */
.input-icon.right {
    right: 15px;
    cursor: pointer;
}

/* Space for icons */
.password-group .form-control {
    padding-left: 2.8rem;
    padding-right: 2.8rem;
}
       
 /* Space for LEFT icon on ALL inputs */
.input-group .form-control {
    padding-left: 2.8rem;
}       
        
                
        .password-field {
    position: relative;
}

.password-field input {
    padding-right: 45px;
    height: 48px;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 15px;
}

.password-toggle:hover {
    color: #000;
}

/* ================= PASSWORD RULES ================= */
.password-rules {
    list-style: none;
    padding-left: 0;
    margin-top: 8px;
    font-size: 13px;
    color: #777;
}

.password-rules li {
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.password-rules li::before {
    content: "✖";
    color: #ccc;
    margin-right: 6px;
    font-size: 12px;
}

.password-rules li.valid {
    color: #28a745;
}

.password-rules li.valid::before {
    content: "✔";
    color: #28a745;
}

/* ================= ERROR TEXT ================= */
.error-text {
    font-size: 13px;
    color: #dc3545;
    margin-top: 4px;
    display: block;
}

@media (max-width: 576px) {
    .login-header h3 {
        font-size: 1.8rem;
    }
}
        
        