﻿:root {
    --accent-color: #ff6b35;
    --dark-surface: #0f172a;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    overflow-x: hidden;
}

.login-container {
    display: flex;
    min-height: 100vh;
    width: 100vw;
}

/* LEFT SIDE BANNER */
.side-banner {
    flex: 1.2;
    position: relative;
    background: url('loginbgimage.jpg') center center no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .side-banner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(45deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4));
    }

.banner-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 40px;
    max-width: 500px;
}

    .banner-content h1 {
        font-size: 2.5rem;
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .banner-content p {
        font-size: 1.1rem;
        opacity: 0.85;
        border-left: 3px solid var(--accent-color);
        padding-left: 20px;
    }

.banner-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

    .feature-item i {
        font-size: 20px;
        color: #ffb347;
    }

/* RIGHT SIDE FORM SECTION */
.form-section {
    flex: 1;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 5%;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.form-box {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    border: 1px solid #e9eef5;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.brand-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

    .brand-logo img {
        height: 60px;
        width: auto;
        object-fit: contain;
    }

.login-header {
    text-align: center;
    margin-bottom: 25px;
}

    .login-header h2 {
        font-size: 24px;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 8px;
    }

    .login-header p {
        color: #64748b;
        font-size: 14px;
        margin: 0;
    }

/* INPUTS & CONTROLS */
.input-wrapper {
    margin-bottom: 18px;
}

    .input-wrapper label {
        font-size: 13px;
        color: #475569;
        font-weight: 600;
        margin-bottom: 6px;
        display: block;
    }

.custom-input {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    border: 2px solid #edf2f7;
    background: #f8fafc;
    padding: 0 16px;
    font-size: 15px;
    transition: all 0.3s;
}

    .custom-input:focus {
        background: #fff;
        border-color: var(--accent-color);
        box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
        outline: none;
    }

.toggle-password {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.3s;
}

    .toggle-password:hover {
        color: var(--accent-color);
    }

.btn-prime {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6b35, #ff934d);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s;
    cursor: pointer;
}

    .btn-prime:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
    }

.login-divider {
    position: relative;
    text-align: center;
    margin: 25px 0 15px;
}

    .login-divider::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        height: 1px;
        background: #edf2f7;
    }

    .login-divider span {
        position: relative;
        background: #fff;
        padding: 0 12px;
        color: #94a3b8;
        font-size: 12px;
    }

.secure-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 13px;
}

    .secure-info i {
        color: #22c55e;
    }

.login-footer {
    margin-top: 25px;
    text-align: center;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
}

    .login-footer a {
        color: var(--accent-color);
        font-weight: 600;
        text-decoration: none;
    }

/* MODAL STYLING */
.forgot-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    width: 100%;
    max-width: 400px;
    padding: 15px;
}

    .forgot-modal .modal-content {
        background: #ffffff;
        color: #0f172a;
        border-radius: 16px;
        border: 1px solid #e9eef5;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        padding: 20px;
    }

.custom-dark-input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.95rem;
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

    .step.active {
        background: var(--accent-color);
        color: #fff;
    }

.step-indicator .line {
    width: 35px;
    height: 2px;
    background: #e2e8f0;
}

#closeBTN {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
    .side-banner {
        display: none;
    }

    .form-section {
        padding: 20px;
        width: 100%;
    }

    .form-box {
        border: none;
        box-shadow: none;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .banner-features {
        grid-template-columns: 1fr;
    }
}
