/* ==========================================================================
   SPLIT-SCREEN LOGIN PAGE STYLES - RESPONSIVE
   ========================================================================== */
:root {
    --bg-body:              #0f2e27;  
    --bg-surface:           #1b4138;
    --bg-surface_log:       #729d95; 
    --bg-input:             #183a32; 
    --bg-input-focus:       #1f4d42;

    --brand-primary:        #1b9b7c; 
    --brand-primary-hover:  #22bd98; 
    --brand-soft-text:      #76f7df; 

    --text-heading:         #ffffff; 
    --text-body:            #f1f5f9; 
    --text-muted:           #f7fdfb; 
    --text-on-dark:         #ffffff;

    --border-subtle:        rgba(255, 255, 255, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    min-height: 100vh;
    width: 100%;
    background-color: var(--bg-body);
    color: var(--text-body);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Split Screen Container */
.containerL {
    display: flex;
    width: 100%;
    max-width: 900px;
    min-height: 540px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Left Panel with Background Image */
.left-panelL {
    flex: 1.1;
    position: relative;
    background: url('/images/SekyereLogo.jpeg') no-repeat center center; /* removed extra space */
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 40px;
}

.overlayL {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(87, 99, 96, 0.85) 0%, rgba(11, 31, 26, 0.6) 100%);
}

.promo-contentL {
    position: relative;
    z-index: 2;
    color: var(--text-on-dark);
}

.promo-contentL h1 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.promo-contentL p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.taglineL {
    color: var(--brand-soft-text) !important;
    font-style: italic;
    font-weight: 500;
    font-size: 0.9rem !important;
}

/* Right Panel Login Form */
.right-panel-loginL {
    flex: 0.9;
    background: var(--bg-surface_log);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.form-wrapper-loginL {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
}

.right-panel-loginL h2 {
    color: var(--text-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.subtitle-loginL {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

/* Alert Notification box */
.alert-boxL {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    font-weight: 500;
}

/* Form Inputs */
.input-groupL {
    margin-bottom: 14px;
}

.right-panel-loginL input[type="text"],
.right-panel-loginL input[type="password"] {
    width: 100% !important;
    padding: 14px 16px !important;          /* slightly bigger for touch */
    margin: 0 !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 8px !important;
    font-size: 1rem !important;             /* better on mobile */
    outline: none !important;
    background: var(--bg-input) !important;
    color: var(--text-on-dark) !important;
    transition: all 0.2s ease;
}

.right-panel-loginL input[type="text"]:focus,
.right-panel-loginL input[type="password"]:focus {
    border-color: var(--brand-primary) !important;
    background: var(--bg-input-focus) !important;
    box-shadow: 0 0 0 3px rgba(27, 155, 124, 0.3) !important;
}

.right-panel-loginL input[type="text"]::placeholder,
.right-panel-loginL input[type="password"]::placeholder {
    color: var(--text-muted) !important;
}

/* Login Button */
.right-panel-loginL button.login-btn {
    background: var(--brand-primary) !important;
    color: var(--text-on-dark) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px !important;
    width: 100% !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    display: block !important;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(27, 155, 124, 0.3);
    transition: all 0.2s ease;
    min-height: 48px;                       /* good touch target */
}

.right-panel-loginL button.login-btn:hover {
    background: var(--brand-primary-hover) !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 768px) {
    body {
        padding: 0;
        align-items: flex-start;
    }

    .containerL {
        flex-direction: column;          /* stack panels vertically */
        width: 50%;
        max-width: 100%;
        min-height: 100vh;
        height: auto;
        border-radius: 0;
        border: none;
    }

    .left-panelL {
        flex: none;
        min-height: 220px;
        padding: 30px 20px;
        justify-content: center;
        text-align: center;
    }

    .promo-contentL h1 {
        font-size: 1.8rem;
    }

    .promo-contentL p {
        font-size: 0.9rem;
    }

    .right-panel-loginL {
        flex: 1;
        padding: 30px 20px;
        align-items: flex-start;
    }

    .form-wrapper-loginL {
        max-width: 100%;
    }

    .right-panel-loginL h2 {
        font-size: 1.4rem;
        text-align: center;
    }

    .subtitle-loginL {
        text-align: center;
    }
}

/* Extra small phones */
@media (max-width: 400px) {
    .left-panelL {
        min-height: 180px;
        padding: 20px 15px;
    }

    .promo-contentL h1 {
        font-size: 1.5rem;
    }

    .right-panel-loginL {
        padding: 25px 15px;
    }
}