/* split-login.css */

/* Reset body for full‑height split layout */
body.split-login {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #fff;
    height: 100vh;
    overflow: hidden; /* prevent scrolling on large screens */
}

.container-fluid {
    height: 100%;
}

.row.g-0 {
    height: 100%;
}

/* Left side */
.split-left {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.split-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark overlay for better text readability */
.split-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* Content on the left (logo, welcome text) */
.split-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.split-content .logo {
    max-width: 150px;
    margin-bottom: 2rem;
}

.split-content h2 {
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.split-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Right side */
.split-right {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #fff;
    padding: 2rem;
}

.login-form-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.login-form-wrapper h3 {
    font-weight: 600;
    color: #333;
    text-align: center;
}

.form-label {
    font-weight: 500;
    color: #555;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: none;
}

.btn-primary {
    background: #667eea;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    body.split-login {
        overflow: auto; /* allow scrolling on mobile */
        height: auto;
        min-height: 100vh;
        background: #f8f9fa;
    }

    .split-right {
        padding: 3rem 1.5rem;
        height: auto;
        min-height: 100vh;
    }

    /* mobile logo is already visible via d-lg-none */
}.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.feature-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.95);
}

.feature-list li i {
    width: 2rem;
    font-size: 1.3rem;
    color: #4fd1c5; /* accent color – change as needed */
    margin-right: 0.75rem;
}

/* On smaller screens, reduce size */
@media (max-width: 768px) {
    .feature-list li {
        font-size: 1rem;
    }
}