/* =========================================================
   LOGIN SCREEN DESIGN SYSTEM & LAYOUT
========================================================= */
:root {
    --brand-green: rgb(26, 61, 38);
    --brand-green-dark: #0f2719;
    --brand-gold: rgb(184, 137, 15);
    --brand-gold-light: #f5df93;
    --bg-light: #f4f7f5;
    --text-dark: #1e2924;
    --text-muted: #5e6c64;
    --transition-fast: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
}

.auth-split-container {
    overflow: hidden;
}

/* Left Visual Sidebar */
.auth-visual-side {
    position: relative;
    background: linear-gradient(135deg, var(--brand-green-dark) 0%, var(--brand-green) 100%);
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    z-index: 1;
}

.auth-visual-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(184, 137, 15, 0.12), transparent 60%);
    z-index: 2;
    pointer-events: none;
}

.auth-brand-badge {
    display: inline-block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--brand-gold-light);
    border-bottom: 2px solid var(--brand-gold);
    padding-bottom: 4px;
}

.auth-visual-body {
    z-index: 10;
    width: 100%;
    max-width: 580px;
    margin: auto 0;
}

.auth-visual-body h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.15;
}

.auth-visual-body h1 .highlight {
    color: var(--brand-gold);
}

/* Right Form Side Panel */
.auth-form-side {
    background-color: var(--bg-light);
    position: sticky;
    top: 0;
    align-self: flex-start;
    min-height: 100vh;
}

.auth-form-card {
    background: #ffffff;
    border: 1px solid #eef2f0;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 45px rgba(26, 61, 38, 0.04);
}

@media (max-width: 576px) {
    .auth-form-card {
        padding: 30px 20px;
        border: none;
        box-shadow: none;
        background: transparent;
    }
}

.auth-form-card h3 {
    font-weight: 800;
    color: var(--brand-green);
    margin-bottom: 6px;
    font-size: 26px;
}

.auth-form-card .subtitle {
    color: var(--text-muted);
    font-size: 14.5px;
    margin-bottom: 28px;
    line-height: 1.5;
}

.auth-form-card label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand-green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-block;
}

.form-control-lg {
    border-radius: 10px;
    border: 1px solid #c2cdc7;
    font-size: 15px;
    padding: 13px 16px;
    transition: var(--transition-fast);
    color: var(--text-dark);
}

.form-control-lg:focus {
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 4px rgba(184, 137, 15, 0.08);
}

.btn-premium {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(26, 61, 38, 0.2);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 61, 38, 0.3);
}

.auth-link {
    color: var(--brand-gold);
    font-weight: 700;
    font-size: 13.5px;
    transition: var(--transition-fast);
}

.auth-link:hover {
    color: var(--brand-green);
    text-decoration: underline !important;
}

/* =========================================================
   GOOGLE OAUTH ROLE & DETAILS POPUP MODAL
========================================================= */
#googleRoleModal .modal-content,
#emailMultiRoleModal .modal-content {
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(16, 63, 53, 0.35);
    border: none;
}

#googleRoleModal .modal-header,
#emailMultiRoleModal .modal-header {
    background: linear-gradient(135deg, #103f35 0%, #07221c 100%);
    color: #ffffff;
    padding: 22px 28px;
    border-bottom: 2px solid #b8890f;
}

#googleRoleModal .modal-header .modal-title,
#emailMultiRoleModal .modal-header .modal-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 0.5px;
    margin: 0;
}

#googleRoleModal .modal-header p,
#emailMultiRoleModal .modal-header p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 12.5px;
    margin: 2px 0 0 0;
}

#googleRoleModal .modal-header .btn-close-white,
#emailMultiRoleModal .modal-header .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.85;
}

#googleRoleModal .modal-header .btn-close-white:hover,
#emailMultiRoleModal .modal-header .btn-close-white:hover {
    opacity: 1;
}

#googleRoleModal .modal-icon-badge,
#emailMultiRoleModal .modal-icon-badge {
    width: 46px;
    height: 46px;
    background: rgba(184, 137, 15, 0.25);
    border: 1.5px solid #b8890f;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5df93 !important;
    font-size: 20px;
    flex-shrink: 0;
}

#googleRoleModal .modal-icon-badge i,
#emailMultiRoleModal .modal-icon-badge i {
    color: #f5df93 !important;
}

#googleRoleModal .modal-body,
#emailMultiRoleModal .modal-body {
    padding: 28px;
    background: #ffffff;
}

#googleRoleModal label {
    font-size: 11px;
    font-weight: 700;
    color: #103f35;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

/* Custom Input Group Alignment */
#googleRoleModal .input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
}

#googleRoleModal .input-group .input-group-text {
    background-color: #f8faf9;
    border: 1.5px solid #d1d5db;
    border-right: none;
    color: #103f35;
    border-radius: 10px 0 0 10px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
}

#googleRoleModal .input-group .form-select,
#googleRoleModal .input-group .form-control {
    border-radius: 0 10px 10px 0 !important;
    border: 1.5px solid #d1d5db;
    border-left: none;
    font-size: 14.5px;
    font-weight: 500;
    color: #1f2937;
    height: 48px;
    transition: all 0.2s ease;
}

#googleRoleModal .form-control:not(.input-group .form-control) {
    border-radius: 10px;
    border: 1.5px solid #d1d5db;
    height: 48px;
    font-size: 14.5px;
    font-weight: 500;
}

#googleRoleModal .input-group:focus-within .input-group-text {
    border-color: #b8890f;
    background-color: rgba(184, 137, 15, 0.08);
    color: #b8890f;
}

#googleRoleModal .input-group:focus-within .form-select,
#googleRoleModal .input-group:focus-within .form-control,
#googleRoleModal .form-control:focus {
    border-color: #b8890f;
    box-shadow: 0 0 0 4px rgba(184, 137, 15, 0.12);
    outline: none;
}

#googleRoleModal .modal-footer,
#emailMultiRoleModal .modal-footer {
    padding: 16px 28px 24px;
    background: #ffffff;
    border-top: none;
}

#googleRoleModal .btn-continue-google,
#emailMultiRoleModal .btn-continue-google {
    background: linear-gradient(135deg, #103f35 0%, #082620 100%);
    color: #ffffff;
    border: none;
    font-weight: 700;
    border-radius: 10px;
    padding: 12px 24px;
    height: 46px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 63, 53, 0.2);
}

#googleRoleModal .btn-continue-google:hover,
#emailMultiRoleModal .btn-continue-google:hover {
    background: linear-gradient(135deg, #0d352c 0%, #041713 100%);
    box-shadow: 0 8px 20px rgba(16, 63, 53, 0.35);
    color: #ffffff;
}

/* =========================================================
   MULTI-ROLE SELECTOR RADIO BUTTON CUSTOM DESIGN
========================================================= */
.role-radio-input {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    cursor: pointer;
    border: 2px solid #94a3b8 !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease;
    margin: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    outline: none !important;
    box-shadow: none !important;
    display: inline-block;
    position: relative;
}

.role-radio-input:checked {
    background-color: #103f35 !important;
    border-color: #103f35 !important;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3.5'/%3e%3c/svg%3e") !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.role-radio-input:focus {
    border-color: #103f35 !important;
    box-shadow: 0 0 0 3px rgba(16, 63, 53, 0.2) !important;
}

/* International Tel Input dropdown container fix */
.iti {
    width: 100%;
    display: block;
}
.iti__country-list {
    z-index: 1060 !important;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    font-size: 14px;
}
.iti--separate-dial-code .iti__selected-dial-code {
    color: #103f35;
    font-weight: 600;
    font-size: 14px;
}
.iti--separate-dial-code input[type="tel"] {
    padding-left: 85px !important;
}
