/* ════════════════════════════════════════════════════════════
 * GBI Slawi — join.css
 * Halaman Join Us / Bergabung
 * ════════════════════════════════════════════════════════════ */

/* ================================================
   JOIN US
   ================================================ */

.section-join {
    padding: 100px 24px;
    background: var(--bg);
}

/* ── ALASAN ── */
.join-reasons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 72px;
}

.join-reason-item {
    padding: 28px;
    text-align: center;
}

.join-reason-icon {
    font-size: 40px;
    margin-bottom: 14px;
}

.join-reason-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.join-reason-item p {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.7;
}

/* ── FORM SECTION ── */
.join-form-section {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 72px;
}

.join-form-intro {
    padding-top: 8px;
}

.join-form-intro .pill {
    margin-bottom: 16px;
}

.join-form-intro h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.join-form-intro p {
    color: var(--text2);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.join-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.join-step {
    display: flex;
    align-items: center;
    gap: 12px;
}

.join-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gold);
    color: #000;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.join-step-text {
    font-size: 13px;
    color: var(--text2);
    font-weight: 500;
}

.join-step-arrow {
    font-size: 14px;
    color: var(--text3);
    padding-left: 8px;
}

.join-form-card {
    padding: 32px;
}

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

.join-type-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.join-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 16px;
    border-radius: 12px;
    border: 2px solid var(--border);
    background: var(--bg4);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.join-type-btn:hover {
    border-color: var(--gold-border);
}

.join-type-btn.active-type {
    border-color: var(--gold);
    background: var(--gold-dim);
}

.join-type-icon {
    font-size: 28px;
}

.join-type-label {
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
}

.join-type-desc {
    font-size: 11px;
    color: var(--text3);
    line-height: 1.4;
}

.join-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
}

.join-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text2);
    cursor: pointer;
}

.join-check input {
    accent-color: var(--gold);
}

.join-privacy {
    padding: 12px 0;
}

.join-submit-btn {
    width: 100%;
    margin-top: 8px;
    padding: 14px;
    font-size: 16px;
}

.join-login-hint {
    text-align: center;
    font-size: 13px;
    color: var(--text3);
    margin-top: 16px;
}

.join-login-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.join-login-link:hover {
    text-decoration: underline;
}

/* ── KONTAK ── */
.join-contact {
    text-align: center;
}

.join-contact-label {
    font-size: 13px;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.join-contact-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.join-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    text-decoration: none;
    color: inherit;
    min-width: 200px;
}

.join-contact-item:hover {
    border-color: var(--gold-border);
}

.join-contact-icon {
    font-size: 22px;
}

.join-contact-text {
    font-size: 13px;
    color: var(--text2);
    font-weight: 500;
}

/* ── RESPONSIVE JOIN ── */
@media (max-width: 900px) {
    .join-form-section {
        grid-template-columns: 1fr;
    }

    .join-form-grid {
        grid-template-columns: 1fr;
    }

    .join-type-group {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-join {
        padding-top: calc(65px + 48px);
        padding-left: 16px;
        padding-right: 16px;
    }

    .join-contact-row {
        flex-direction: column;
        align-items: center;
    }

    .join-contact-item {
        min-width: unset;
        width: 100%;
        max-width: 320px;
    }

    .join-steps {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .join-step-arrow {
        display: none;
    }
}

.auth-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.auth-overlay.open {
    display: flex;
    animation: gcAuthFadeIn .2s ease;
}

@keyframes gcAuthFadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

/* ─ Modal ─ */
.auth-modal-wrap {
    display: flex;
    width: 100%;
    max-width: 800px;
    min-height: 520px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 32px 80px rgba(0, 0, 0, .7), 0 0 0 1px var(--gold-border);
    animation: gcAuthSlideUp .25s ease;
}

@keyframes gcAuthSlideUp {
    from {
        transform: translateY(20px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

/* ─ Panel Kiri ─ */
.auth-panel-left {
    width: 40%;
    flex-shrink: 0;
    background: linear-gradient(165deg, var(--bg2) 0%, #110e06 100%);
    border-right: 1px solid var(--gold-border);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Dekorasi lingkaran gold */
.auth-panel-left::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 200, 66, .09) 0%, transparent 70%);
    top: -60px;
    right: -80px;
    pointer-events: none;
}

.auth-panel-left::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 200, 66, .05) 0%, transparent 70%);
    bottom: -30px;
    left: -50px;
    pointer-events: none;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #c9a200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #000;
    font-weight: 700;
    flex-shrink: 0;
}

.auth-logo-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.auth-left-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
}

.auth-left-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 10px;
}

.auth-left-sub {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.65;
    margin-bottom: 20px;
}

.auth-left-divider {
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin-bottom: 20px;
    border-radius: 2px;
}

/* Kutipan Alkitab */
.auth-verse {
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    padding: 14px 16px;
}

.auth-verse-text {
    font-size: 12.5px;
    color: var(--text2);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 6px;
}

.auth-verse-ref {
    font-size: 11px;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: .04em;
}

/* Footer kiri */
.auth-left-footer {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.auth-switch-hint {
    font-size: 12px;
    color: var(--text3);
}

.auth-switch-btn {
    padding: 9px 16px;
    border: 1px solid var(--gold-border);
    border-radius: 999px;
    background: transparent;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    transition: all .2s;
}

.auth-switch-btn:hover {
    background: var(--gold-dim);
}

.auth-back-link {
    font-size: 12px;
    color: var(--text3);
    text-decoration: none;
    text-align: center;
    transition: color .2s;
}

.auth-back-link:hover {
    color: var(--text2);
}

/* ─ Panel Kanan ─ */
.auth-panel-right {
    flex: 1;
    background: var(--bg2);
    padding: 32px 32px 24px;
    overflow-y: auto;
    position: relative;
    max-height: 88vh;
}

/* Scrollbar tipis */
.auth-panel-right::-webkit-scrollbar {
    width: 4px;
}

.auth-panel-right::-webkit-scrollbar-track {
    background: transparent;
}

.auth-panel-right::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

/* Tombol tutup */
.auth-close-x {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg3);
    color: var(--text3);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.auth-close-x:hover {
    color: var(--text);
    border-color: var(--gold-border);
}

/* Form head */
.auth-form-head {
    margin-bottom: 22px;
}

.auth-form-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
}

.auth-form-sub {
    font-size: 13px;
    color: var(--text2);
}

/* Alert */
.auth-alert {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 14px;
    line-height: 1.5;
}

.auth-alert.error {
    background: rgba(220, 53, 69, .12);
    border: 1px solid rgba(220, 53, 69, .3);
    color: #ff7070;
}

.auth-alert.success {
    background: rgba(39, 174, 96, .12);
    border: 1px solid rgba(39, 174, 96, .3);
    color: #5fd98a;
}

/* Field */
.auth-field {
    margin-bottom: 14px;
}

.auth-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text2);
    margin-bottom: 6px;
}

.auth-req {
    color: var(--gold);
}

.auth-optional {
    font-size: 11px;
    color: var(--text3);
}

/* Input — sama persis dengan .kom-input */
.auth-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg4);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.auth-input::placeholder {
    color: var(--text3);
}

.auth-input:focus {
    border-color: var(--gold-border);
    box-shadow: 0 0 0 3px rgba(245, 200, 66, .07);
}

.auth-input-group {
    position: relative;
}

.auth-input-group .auth-input {
    padding-right: 42px;
}

.auth-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    line-height: 1;
}

.eye-icon {
    font-size: 14px;
    opacity: .4;
    transition: opacity .15s;
}

.auth-eye:hover .eye-icon {
    opacity: .75;
}

/* Row between */
.auth-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.auth-check-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--text2);
    cursor: pointer;
    user-select: none;
}

.auth-check {
    width: 14px;
    height: 14px;
    accent-color: var(--gold);
    cursor: pointer;
}

.auth-link-small {
    font-size: 12.5px;
    color: var(--gold);
    text-decoration: none;
}

.auth-link-small:hover {
    text-decoration: underline;
}

.auth-link-gold {
    color: var(--gold);
    text-decoration: none;
}

.auth-link-gold:hover {
    text-decoration: underline;
}

/* Submit — sama dengan .btn-primary */
.auth-submit-btn {
    width: 100%;
    padding: 11px 24px;
    border-radius: 999px;
    background: var(--gold);
    color: #000;
    font-weight: 700;
    font-size: 14px;
    font-family: inherit;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(245, 200, 66, .28);
    transition: all .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(245, 200, 66, .38);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

.auth-submit-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

/* OR divider */
.auth-or {
    text-align: center;
    position: relative;
    font-size: 12px;
    color: var(--text3);
    margin: 6px 0 12px;
}

.auth-or::before,
.auth-or::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border);
}

.auth-or::before {
    left: 0;
}

.auth-or::after {
    right: 0;
}

/* Social */
.auth-social-row {
    display: flex;
    gap: 10px;
}

.auth-social-btn {
    flex: 1;
    padding: 9px 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg3);
    color: var(--text2);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all .2s;
}

.auth-social-btn:hover {
    border-color: var(--gold-border);
    color: var(--text);
}

/* Password strength */
.auth-strength-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.auth-strength-bar {
    flex: 1;
    height: 3px;
    background: var(--bg4);
    border-radius: 2px;
    overflow: hidden;
}

.auth-strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: width .3s, background .3s;
    width: 0;
}

.auth-strength-label {
    font-size: 11px;
    color: var(--text3);
    white-space: nowrap;
}

/* Spinner */
.auth-spin {
    font-size: 14px;
    display: inline-block;
    animation: gcSpin .8s linear infinite;
}

@keyframes gcSpin {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

/* Terms */
.auth-terms-label {
    margin-bottom: 16px;
    align-items: flex-start;
}

/* ─ Nav auth styles ─ */
.nav-login-btn {
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
    margin-right: 4px;
}

.nav-login-btn:hover {
    border-color: var(--gold-border);
    color: var(--gold);
}

/* User logged-in di navbar */
.nav-user-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 4px;
}

.nav-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #c9a200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #000;
    flex-shrink: 0;
}

.nav-user-name {
    font-size: 13px;
    color: var(--text2);
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-logout-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text3);
    font-size: 13px;
    cursor: pointer;
    padding: 3px 10px;
    transition: all .2s;
    font-family: inherit;
}

.nav-logout-btn:hover {
    border-color: rgba(220, 53, 69, .4);
    color: #ff7070;
}

/* Mobile */
.mobile-auth-btn {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}

.mobile-logout-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text3);
    font-size: 12px;
    padding: 3px 10px;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
}

.mobile-logout-btn:hover {
    color: #ff7070;
    border-color: rgba(220, 53, 69, .4);
}

/* Tombol switch mode (Daftar / Masuk) di dalam panel kanan — hanya muncul mobile */
.auth-mobile-switch {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    text-align: center;
}

/* ─ Responsive ─ */
@media (max-width: 580px) {
    .auth-panel-left {
        display: none;
    }

    .auth-modal-wrap {
        max-width: 420px;
        min-height: auto;
        border-radius: 20px;
    }

    .auth-panel-right {
        padding: 24px 20px;
    }

    .auth-mobile-switch {
        display: flex;
    }
}

.profile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.profile-overlay.open {
