/* GECA auth pages — logo navy #00246c + orange #e48430 */
*,
*::before,
*::after { box-sizing: border-box; }

html, body.geca-login {
    margin: 0;
    min-height: 100%;
}

body.geca-login {
    font-family: "Poppins", "Segoe UI", Tahoma, sans-serif;
    color: #1e293b;
    background-color: #f4efe4;
    background-image:
        radial-gradient(ellipse 70% 50% at 0% 0%, rgba(228, 132, 48, 0.18), transparent 58%),
        radial-gradient(ellipse 55% 45% at 100% 0%, rgba(0, 36, 108, 0.14), transparent 52%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(240, 168, 48, 0.14), transparent 50%);
    min-height: 100vh;
}

.geca-login-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.geca-login-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 24px;
    background: linear-gradient(90deg, #001a52 0%, #00246c 55%, #0c3c78 100%);
    border-bottom: 3px solid #e48430;
    box-shadow: 0 8px 24px rgba(0, 36, 108, 0.18);
}

.geca-login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    text-decoration: none !important;
}

.geca-login-brand:hover,
.geca-login-brand:focus,
.geca-login-brand:active {
    text-decoration: none !important;
    color: inherit;
}

.geca-login-top img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 3px;
    border: 2px solid #e48430;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
    flex: 0 0 58px;
}

.geca-auth-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 16px;
}

.geca-auth-nav a {
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    letter-spacing: 0.2px;
    line-height: 1.4;
    border: 1px solid rgba(240, 200, 144, 0.45);
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.06);
}

.geca-auth-nav a:visited {
    color: #fff !important;
    text-decoration: none !important;
}

.geca-auth-nav a:hover,
.geca-auth-nav a:focus,
.geca-auth-nav a:active {
    color: #00246c !important;
    background: #f0c890;
    border-color: #f0c890;
    text-decoration: none !important;
}

.geca-auth-nav a .fa {
    margin-right: 6px;
    color: inherit;
}

body.geca-login .geca-login-top h1 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    letter-spacing: 0.2px;
}

body.geca-login .geca-login-top h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #f0c890;
    line-height: 1.4;
}

.geca-login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 18px 28px;
}

.geca-login-card {
    width: 100%;
    max-width: 920px;
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(0, 36, 108, 0.08);
    box-shadow:
        0 4px 8px rgba(0, 36, 108, 0.04),
        0 24px 56px rgba(0, 36, 108, 0.14);
    overflow: hidden;
    min-height: 540px;
}
.geca-login-card-wide {
    max-width: 1020px;
    grid-template-columns: 0.7fr 1.3fr;
}

.geca-brand {
    background:
        radial-gradient(320px 220px at 110% -10%, rgba(228, 132, 48, 0.28), transparent 55%),
        radial-gradient(280px 200px at -20% 110%, rgba(240, 168, 48, 0.18), transparent 50%),
        linear-gradient(165deg, #001a52 0%, #00246c 48%, #0c3c78 100%);
    color: #fff;
    padding: 36px 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.geca-brand-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.07) 0 1.5px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,.06) 0 1.5px, transparent 2px);
    background-size: 28px 28px;
    opacity: .7;
}
.geca-brand::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #e48430, #f0a830);
}
.geca-brand img {
    position: relative;
    width: 96px;
    height: 96px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 6px;
    border: 3px solid #e48430;
    margin: 0 auto 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}
.geca-brand-kicker {
    position: relative;
    display: inline-block;
    align-self: center;
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
    padding: 6px 12px;
    border: 0;
    border-radius: 999px;
    background: #e48430;
    box-shadow: 0 6px 14px rgba(228, 132, 48, 0.28);
}
.geca-brand h3 {
    position: relative;
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.3px;
}
.geca-brand p,
.geca-brand-about {
    position: relative;
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,.88);
    max-width: 340px;
    width: 100%;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}
.geca-brand-meta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}
.geca-brand-meta span {
    margin: 0;
    padding: 5px 11px;
    font-size: 11px;
    letter-spacing: 0.6px;
    color: #fff;
    background: rgba(228, 132, 48, 0.22);
    border: 1px solid rgba(228, 132, 48, 0.45);
    border-radius: 999px;
}
.geca-brand em {
    position: relative;
    display: block;
    margin-top: 18px;
    font-style: normal;
    font-size: 12px;
    letter-spacing: .6px;
    color: #f0c890;
    font-weight: 600;
}

.geca-login-card-head {
    display: none;
}

.geca-login-card-body {
    padding: 40px 40px 32px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.geca-form-title {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    color: #00246c;
    letter-spacing: -0.3px;
}
.geca-form-title::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 10px;
    border-radius: 3px;
    background: linear-gradient(90deg, #e48430, #f0a830);
}
.geca-form-sub {
    margin: 0 0 24px;
    font-size: 13.5px;
    color: #6b7280;
    line-height: 1.55;
}

.geca-alert {
    border-radius: 12px;
    padding: 11px 13px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}
.geca-alert-error { background: #fdeaea; color: #b42318; }
.geca-alert-success { background: #e8f7ed; color: #217a43; }

.geca-field {
    position: relative;
    margin-bottom: 16px;
}

.geca-field label,
.geca-login-card-body > label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #00246c;
    margin-bottom: 7px;
    letter-spacing: 0.2px;
}

.geca-field .fa-input {
    position: absolute;
    left: 15px;
    bottom: 16px;
    color: #e48430;
    font-size: 15px;
    width: 16px;
    text-align: center;
    z-index: 2;
    pointer-events: none;
}

.geca-field input.form-control {
    height: 48px;
    border-radius: 12px;
    border: 1px solid #e8e1d4;
    box-shadow: none;
    padding: 0 44px 0 44px;
    font-size: 14px;
    color: #00246c;
    background: #faf7f1;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.geca-field input.form-control:focus {
    border-color: #e48430;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(228, 132, 48, 0.14);
}

.geca-field input.form-control::placeholder {
    color: #9aa3af;
    font-weight: 400;
    letter-spacing: 0;
}

.geca-toggle-pass {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #5b6b7c;
    cursor: pointer;
    border-radius: 8px;
}
.geca-toggle-pass:hover { color: #00246c; background: #f4efe4; }

.geca-captcha {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.geca-captcha-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 6px 6px 7px;
    border: 1px solid #ead9c4;
    border-radius: 12px;
    background: #fff8ef;
    flex: 0 0 auto;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.geca-captcha .geca-field {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.geca-captcha-box img {
    display: block;
    height: 46px;
    width: auto;
    max-width: 100%;
    border-radius: 8px;
    background: #fff;
}

.geca-captcha-refresh {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 9px;
    background: #00246c;
    color: #fff;
    cursor: pointer;
    transition: background .15s ease;
}
.geca-captcha-refresh:hover { background: #e48430; }

.geca-captcha input.form-control {
    letter-spacing: 8px;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    padding-left: 12px;
    padding-right: 12px;
    background: #fff;
}

.geca-btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #e48430 0%, #f0a830 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(228, 132, 48, 0.28);
    letter-spacing: 0.2px;
    transition: filter .15s ease, transform .15s ease;
}
.geca-btn-login:hover { filter: brightness(1.05); color: #fff; }
.geca-btn-login:active { transform: translateY(1px); }

.geca-login-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    font-size: 13px;
}

.geca-login-links a {
    color: #e48430;
    font-weight: 600;
    text-decoration: none !important;
}
.geca-login-links a:hover,
.geca-login-links a:focus {
    color: #00246c;
    text-decoration: none !important;
}

.geca-login-register {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee8dc;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}
.geca-login-register a {
    color: #00246c;
    font-weight: 700;
    text-decoration: none !important;
}
.geca-login-register a:hover,
.geca-login-register a:focus {
    color: #e48430;
    text-decoration: none !important;
}

.geca-otp-note {
    font-size: 12px;
    color: #6b7280;
    margin: -4px 0 10px;
}

.geca-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.geca-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}
.geca-actions .geca-btn-login,
.geca-actions .geca-btn-navy {
    flex: 1;
}

.geca-btn-navy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    border: 0;
    border-radius: 12px;
    background: #00246c;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(0, 36, 108, 0.16);
}
.geca-btn-navy:hover { color: #fff; background: #0c3c78; text-decoration: none; }

.geca-btn-login[disabled],
.geca-btn-navy[disabled] {
    opacity: .55;
    cursor: not-allowed;
}

.geca-error {
    color: #b42318;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

.geca-login-foot {
    display: none;
}

.geca-auth-footer {
    margin-top: auto;
    background: #fff;
    border-top: 3px solid #e48430;
    box-shadow: 0 -8px 24px rgba(0, 36, 108, 0.06);
}

.geca-auth-footer-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 22px 24px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.geca-auth-footer-brand strong {
    display: block;
    color: #00246c;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.geca-auth-footer-brand em {
    display: block;
    margin-top: 4px;
    color: #e48430;
    font-size: 12px;
    font-style: italic;
    font-weight: 500;
}

.geca-auth-footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 14px;
}

.geca-auth-footer-nav a {
    color: #00246c !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 999px;
}

.geca-auth-footer-nav a:hover,
.geca-auth-footer-nav a:focus,
.geca-auth-footer-nav a:active {
    color: #fff !important;
    background: #00246c;
    text-decoration: none !important;
}

.geca-auth-footer-nav a .fa {
    margin-right: 5px;
    color: #e48430;
}

.geca-auth-footer-nav a:hover .fa,
.geca-auth-footer-nav a:focus .fa {
    color: #f0c890;
}

.geca-auth-footer-copy {
    background: #00246c;
    padding: 12px 16px;
    text-align: center;
}

.geca-auth-footer-copy p {
    margin: 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
}

.geca-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 16px;
}
.geca-data-table th,
.geca-data-table td {
    padding: 9px 11px;
    border: 1px solid #eee8dc;
    vertical-align: middle;
}
.geca-data-table th {
    background: #f7f3ea;
    color: #00246c;
    font-weight: 700;
    width: 22%;
    text-align: left;
}
.geca-data-table td { color: #1e293b; }
.geca-data-table .geca-btn-navy,
.geca-data-table .geca-btn-login {
    display: inline-flex;
    width: auto;
    height: 32px;
    padding: 0 12px;
    font-size: 12px;
    margin-left: 8px;
}

.hideshow { display: none; }

#Error, #Success { font-weight: 700; }
#Error { color: #b42318; }
#Success { color: #217a43; }

@media (max-width: 900px) {
    .geca-login-card,
    .geca-login-card-wide {
        grid-template-columns: 1fr;
        max-width: 520px;
        min-height: 0;
    }
    .geca-brand {
        padding: 28px 24px 22px;
        align-items: center;
        text-align: center;
        min-height: 0;
    }
    .geca-brand::after {
        right: auto;
        left: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        height: 4px;
    }
    .geca-brand p { max-width: none; }
    .geca-brand img { width: 76px; height: 76px; margin-bottom: 14px; }
    .geca-brand h3 { font-size: 24px; }
    .geca-brand-kicker { align-self: center; }
    .geca-brand-meta { justify-content: center; }
}

@media (max-width: 767px) {
    .geca-login-top {
        flex-direction: column;
        text-align: center;
        padding: 14px;
    }
    .geca-login-brand {
        flex-direction: column;
    }
    .geca-auth-nav {
        justify-content: center;
    }
    .geca-login-top h1 { font-size: 15px; }
    .geca-login-top h2 { font-size: 13px; }
    .geca-login-card-body { padding: 26px 20px 22px; }
    .geca-captcha { flex-wrap: wrap; }
    .geca-form-grid { grid-template-columns: 1fr; }
    .geca-actions { flex-direction: column; }
    .geca-form-title { font-size: 22px; }
    .geca-auth-footer-main {
        flex-direction: column;
        text-align: center;
        padding: 18px 16px 14px;
    }
    .geca-auth-footer-nav {
        justify-content: center;
    }
}
