/**
 * GMoney Auth Shield - 2-Column Split Login Stylesheet
 */

:root {
    --gmoney-left-bg: #0b1624;
    --gmoney-accent: #0075f4;
    --gmoney-accent-hover: #005ec4;
    --gmoney-text-dark: #0f172a;
    --gmoney-text-muted: #64748b;
    --gmoney-border: #e2e8f0;
}

html, body.login {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--gmoney-text-dark);
}

body.login:before,
body.login:after {
    display: none !important;
}

/* ===================================================
   SPLIT SCREEN WRAPPER (2 COLUMNS)
   =================================================== */
.gmoney-login-split-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100vw;
    background: #ffffff;
}

/* ---------------------------------------------------
   LEFT COLUMN: BRANDING & MEDIA (SVG / IMAGE)
   --------------------------------------------------- */
.gmoney-login-left-col {
    flex: 1 1 50%;
    max-width: 50%;
    background: var(--gmoney-left-bg);
    background: linear-gradient(145deg, var(--gmoney-left-bg) 0%, #112236 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    box-sizing: border-box;
    position: relative;
    color: #ffffff;
    overflow: hidden;
}

.gmoney-login-left-col::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 117, 244, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    top: -100px;
    left: -100px;
    pointer-events: none;
}

.gmoney-left-inner {
    max-width: 540px;
    width: 100%;
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gmoney-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #93c5fd;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.gmoney-badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.gmoney-illustration-wrap {
    width: 100%;
    max-width: 440px;
    max-height: 380px;
    margin: 0 auto 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gmoney-left-media {
    max-width: 100%;
    max-height: 360px;
    height: auto;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.35));
    transition: transform 0.4s ease;
}

.gmoney-left-media:hover {
    transform: scale(1.02);
}

.gmoney-left-headline {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.gmoney-left-desc {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

.gmoney-left-footer {
    margin-top: 40px;
    font-size: 12px;
    color: #64748b;
}

/* ---------------------------------------------------
   RIGHT COLUMN: LOGIN FORM
   --------------------------------------------------- */
.gmoney-login-right-col {
    flex: 1 1 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 40px 30px;
    box-sizing: border-box;
    overflow-y: auto;
}

/* WordPress #login block override */
.login #login {
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Logo */
.login h1 {
    text-align: center;
    margin-bottom: 25px !important;
}

.login h1 a {
    background-image: url('../../../uploads/2026/06/logo-gmoney.png') !important;
    background-size: contain !important;
    background-position: center !important;
    width: 220px !important;
    height: 48px !important;
    margin: 0 auto !important;
}

/* Form Container */
.login form {
    background: #ffffff !important;
    border: 1px solid var(--gmoney-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    padding: 30px 25px !important;
    margin: 0 0 20px 0 !important;
}

.login label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.login input[type="text"],
.login input[type="password"] {
    width: 100% !important;
    height: 44px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 0 14px !important;
    font-size: 15px !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.login input[type="text"]:focus,
.login input[type="password"]:focus {
    border-color: var(--gmoney-accent) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(0, 117, 244, 0.15) !important;
    outline: none !important;
}

/* Remember me & Submit row */
.login .forgetmenot {
    float: none !important;
    margin-bottom: 18px !important;
}

.login .forgetmenot label {
    font-weight: 500 !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
}

.login input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    border-radius: 4px !important;
    border: 1.5px solid #cbd5e1 !important;
}

.login .submit {
    float: none !important;
    margin: 0 !important;
}

.login .button-primary {
    width: 100% !important;
    height: 46px !important;
    background: var(--gmoney-accent) !important;
    border: none !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(0, 117, 244, 0.25) !important;
}

.login .button-primary:hover,
.login .button-primary:focus {
    background: var(--gmoney-accent-hover) !important;
}

/* Bottom Navigation Links */
.login #nav,
.login #backtoblog {
    margin: 0 !important;
    padding: 6px 0 !important;
    text-align: center !important;
}

.login #nav a,
.login #backtoblog a {
    color: #64748b !important;
    font-size: 13px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.login #nav a:hover,
.login #backtoblog a:hover {
    color: var(--gmoney-accent) !important;
}

/* Hide Language Switcher */
.login .language-switcher,
.language-switcher {
    display: none !important;
}

/* Notices & Alerts */
.login .notice,
.login div.error,
.login #login_error,
.login .message {
    border-radius: 8px !important;
    border-left: 4px solid var(--gmoney-accent) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    margin-bottom: 20px !important;
}

.login #login_error {
    border-left-color: #ef4444 !important;
    background: #fef2f2 !important;
    color: #991b1b !important;
}

.login .message {
    border-left-color: #10b981 !important;
    background: #f0fdf4 !important;
    color: #166534 !important;
}

/* ===================================================
   2FA VERIFICATION SCREEN STYLES
   =================================================== */
.gmoney-2fa-container {
    background: #ffffff;
    border: 1px solid var(--gmoney-border);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 35px 25px;
    text-align: center;
}

.gmoney-shield-icon {
    width: 64px;
    height: 64px;
    background: #eff6ff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.gmoney-2fa-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.gmoney-2fa-header p {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.gmoney-otp-group {
    margin: 25px 0;
}

.gmoney-otp-group label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 10px;
    display: block;
}

.gmoney-otp-input {
    width: 220px !important;
    height: 52px !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    letter-spacing: 8px !important;
    text-align: center !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 10px !important;
    color: var(--gmoney-accent) !important;
    font-family: Consolas, "Courier New", monospace !important;
    background: #f8fafc !important;
    transition: all 0.2s ease !important;
}

.gmoney-otp-input:focus {
    border-color: var(--gmoney-accent) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(0, 117, 244, 0.15) !important;
    outline: none !important;
}

.gmoney-alert {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: left;
}

.gmoney-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.gmoney-alert-success {
    background: #f0fdf4;
    color: #166534;
    border-left: 4px solid #10b981;
}

.gmoney-2fa-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    font-size: 13px;
}

.gmoney-2fa-footer a {
    color: var(--gmoney-accent);
    text-decoration: none;
    font-weight: 500;
}

.gmoney-2fa-footer a:hover {
    text-decoration: underline;
}

/* ===================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   =================================================== */
@media (max-width: 900px) {
    .gmoney-login-split-wrapper {
        flex-direction: column;
    }

    .gmoney-login-left-col {
        flex: none;
        max-width: 100%;
        padding: 40px 20px 30px 20px;
    }

    .gmoney-illustration-wrap {
        max-height: 180px;
        margin-bottom: 15px;
    }

    .gmoney-left-media {
        max-height: 160px;
    }

    .gmoney-left-headline {
        font-size: 20px;
    }

    .gmoney-left-desc,
    .gmoney-left-footer {
        display: none;
    }

    .gmoney-login-right-col {
        flex: none;
        max-width: 100%;
        padding: 30px 20px;
    }
}
