:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    height: 100vh;
    display: flex;
    overflow: hidden;
}

.login-container {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Banner Section */
.banner-section {
    flex: 1.2;
    position: relative;
    overflow: hidden;
    background-color: #f0f7ff;
}

.full-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Form Section */
.form-section {
    flex: 1;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
}

.form-content {
    width: 100%;
    max-width: 400px;
}

.mobile-logo {
    display: none;
    text-align: center;
    margin-bottom: 40px;
}

.mobile-logo img {
    height: 35px;
}

.desktop-form-logo {
    height: 35px;
    margin-bottom: 60px;
    display: block;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper > i {
    position: absolute;
    left: 15px;
    color: var(--text-muted);
    z-index: 5;
}


.input-wrapper input {
    width: 100%;
    padding: 14px 45px 14px 45px; /* Increased right padding to 45px */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-wrapper input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: color 0.2s;
}

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

.toggle-password i {
    position: static !important; /* Reset absolute positioning */
    margin: 0;
}



.form-footer {
    text-align: right;
    margin-bottom: 25px;
}

.forgot-password {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    margin-bottom: 25px;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-primary:active {
    transform: scale(0.98);
}

.signup-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.signup-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .banner-text h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .banner-section {
        display: none;
    }
    .form-section {
        flex: 1;
        box-shadow: none;
    }
    .mobile-logo {
        display: block;
    }
    .desktop-form-logo {
        display: none;
    }
    .form-header {
        text-align: center;
    }
}
