/* ===== AFS 2026 — Shared page styles for auth/dashboard pages ===== */

/* ── Modal backdrop pages (sign-in, register, choose-access) ── */
.modal-page-bg {
    position: relative;
    min-height: 100vh;
    background: url('../images/2025-banner.webp') top center / cover no-repeat;
    overflow: hidden;
}
.modal-page-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}
.modal-page-bg > * { position: relative; z-index: 1; }

/* Hero countdown (visible on modal-bg pages) */
.countdown-circles { display: flex; align-items: center; gap: 1.5rem; }
.circle {
    width: 64px; height: 64px;
    border-radius: 50%;
    border: 2px solid #B3C176;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: #fff;
}
.circle .number { font-size: 1.3rem; font-weight: 700; line-height: 1; }
.circle .label  { font-size: 0.45rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }

/* Orange badge */
.badge-orange {
    background: #EA881D;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: 4px;
}

/* ── Auth modal card ── */
.auth-modal {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 2.5rem;
    width: 100%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.auth-modal .modal-back {
    position: absolute;
    left: 1.5rem; top: 1.5rem;
    font-size: 1.1rem;
    color: #333;
    cursor: pointer;
    background: none; border: none; padding: 0;
}
.auth-modal .modal-close {
    position: absolute;
    right: 1.5rem; top: 1.5rem;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    background: none; border: none; padding: 0;
}
.auth-modal .modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #144B2D;
    text-align: center;
    margin-bottom: 0.25rem;
    margin-top: 0.5rem;
}
.auth-modal .modal-subtitle {
    font-size: 0.82rem;
    color: #555;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 400;
}
.auth-modal .form-control {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.65rem 0.9rem;
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.9rem;
}
.auth-modal .form-control:focus {
    border-color: #60A511;
    box-shadow: 0 0 0 0.15rem rgba(96,165,17,0.15);
}
.auth-modal .btn-auth {
    background: #60A511;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.2s;
}
.auth-modal .btn-auth:hover { background: #144B2D; }
.auth-modal .btn-auth .arrow-circle {
    width: 28px; height: 28px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
}
.auth-modal .terms-text {
    font-size: 0.68rem;
    color: #777;
    text-align: center;
    margin-top: 1rem;
}
.auth-modal .terms-text a { color: #60A511; text-decoration: underline; }

/* ── Choose Access modal ── */
.access-modal {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 2.5rem 2rem;
    width: 100%;
    max-width: 520px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.access-modal .modal-close {
    position: absolute;
    right: 1.5rem; top: 1.5rem;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    background: none; border: none; padding: 0;
}
.access-modal .modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #60A511;
    text-align: center;
    margin-bottom: 0.25rem;
}
.access-modal .modal-subtitle {
    font-size: 0.82rem;
    color: #555;
    text-align: center;
    margin-bottom: 1.5rem;
}
.access-card {
    border-radius: 10px;
    padding: 1.2rem 1.2rem 1rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
    cursor: pointer;
    position: relative;
    transition: opacity 0.15s;
}
.access-card:hover { opacity: 0.92; }
.access-card.green  { background: #60A511; }
.access-card.orange { background: #EA881D; }
.access-card .access-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}
.access-card .access-price {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 0.5rem;
}
.access-card .access-radio {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background: transparent;
    margin-top: 0.8rem;
    display: flex; align-items: center; justify-content: center;
}
.access-card.selected .access-radio {
    background: #fff;
    border-color: #fff;
}
.access-card.selected .access-radio::after {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #60A511;
}
.btn-contact {
    border: 1.5px solid #144B2D;
    border-radius: 30px;
    padding: 0.6rem 1.8rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #144B2D;
    background: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}
.btn-contact:hover { background: #60A511; color: #fff; border-color: #60A511; }
.btn-contact .arrow-circle-green {
    width: 26px; height: 26px;
    background: #60A511;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 0.75rem;
}
.btn-contact:hover .arrow-circle-green { background: #fff; color: #60A511; }

/* ── Dashboard page ── */
.dashboard-body { background: #f0f0f0; min-height: 100vh; }

.dashboard-header {
    background: transparent;
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dash-hero {
    position: relative;
    background: #0a1a10;
    min-height: 52vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}
.dash-hero > *:not(video) { position: relative; z-index: 1; }
.dash-hero-content {
    color: #fff;
    padding: 0 1.5rem 1.2rem;
}
.dash-forum-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 0.5rem;
}
.dash-hero h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}
.dash-hero p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.8rem;
}
.btn-all-access {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.6);
    border-radius: 30px;
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
}

/* Dashboard tabs */
.dash-tabs {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    overflow-x: auto;
    white-space: nowrap;
}
.dash-tabs .nav-link {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555;
    padding: 0.8rem 1rem;
    border-radius: 0;
    border-bottom: 3px solid transparent;
}
.dash-tabs .nav-link.active {
    color: #144B2D;
    border-bottom-color: #60A511;
}
.dash-tabs .nav-link:hover { color: #60A511; }

/* Dashboard content */
.dash-content {
    max-width: 700px;
    margin: 1.5rem auto;
    padding: 0 1rem;
}
.dash-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
}
.user-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #144B2D;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.dash-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.25rem;
}
.dash-card p {
    font-size: 0.75rem;
    color: #555;
    margin-bottom: 0;
}
.btn-interests {
    background: #E0F2F1;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #00796B;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    white-space: nowrap;
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
}
.btn-interests:hover { background: #B2DFDB; }

/* ── Profile modal ── */
.profile-modal {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    max-height: 90vh;
    overflow-y: auto;
}
.profile-modal .modal-close {
    position: absolute;
    right: 1.2rem; top: 1.2rem;
    font-size: 1.1rem;
    color: #333;
    cursor: pointer;
    background: none; border: none; padding: 0;
}
.profile-modal .modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #144B2D;
    margin-bottom: 0.5rem;
}
.profile-modal .instructions {
    font-size: 0.75rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.5;
}
.profile-photo-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    height: 150px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0.75rem;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}
.profile-photo-initials {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #144B2D;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.profile-photo-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    margin-left: 0.5rem;
}
.profile-modal .form-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 0.25rem;
}
.profile-modal .form-control {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.55rem 0.8rem;
    font-size: 0.82rem;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.8rem;
}
.profile-modal .form-control:focus {
    border-color: #60A511;
    box-shadow: 0 0 0 0.12rem rgba(96,165,17,0.15);
}
.social-presence-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.social-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.social-option {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    color: #444;
    cursor: pointer;
}
.social-option input[type="radio"] {
    accent-color: #60A511;
    cursor: pointer;
}
.progress-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.progress-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #ddd;
}
.progress-dot.active { background: #60A511; }
.btn-save {
    background: #144B2D;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 0.7rem 2rem;
    font-size: 0.88rem;
    font-weight: 600;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.2s;
    cursor: pointer;
}
.btn-save:hover { background: #60A511; }

/* ── Complete Profile Reminder modal ── */
.reminder-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reminder-modal {
    background: #fff;
    border-radius: 14px;
    width: 280px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
}
.reminder-modal .modal-close {
    position: absolute;
    right: 0.8rem; top: 0.8rem;
    font-size: 1.1rem;
    color: #fff;
    cursor: pointer;
    background: rgba(0,0,0,0.35);
    border: none;
    border-radius: 50%;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
}
.reminder-image {
    height: 150px;
    /* Placeholder — replace with the landscape/farm photo from the design when available */
    background: url('../images/bg-04.webp') center / cover no-repeat;
    position: relative;
}
.reminder-body {
    padding: 1.2rem 1.5rem 1.5rem;
    text-align: center;
}
.reminder-body h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 1rem;
}
.btn-complete-profile {
    border: 1.5px solid #60A511;
    border-radius: 30px;
    padding: 0.55rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #60A511;
    background: #fff;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.8rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.btn-complete-profile:hover { background: #60A511; color: #fff; }
.skip-link {
    font-size: 0.75rem;
    color: #60A511;
    text-decoration: none;
    font-weight: 500;
}
.skip-link:hover { text-decoration: underline; }

/* Shared hero section for modal-bg pages */
.modal-hero-bg {
    min-height: 100vh;
    position: relative;
    background: url('../images/2025-banner.webp') top center / cover no-repeat;
    display: flex;
    flex-direction: column;
}
.modal-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.52);
}
.modal-hero-bg .nav-top {
    position: relative;
    z-index: 5;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-hero-bg .hero-text-area {
    position: relative;
    z-index: 5;
    padding: 2rem 2rem 0;
    color: #fff;
    flex: 1;
    display: flex;
    align-items: center;
}
.modal-overlay-center {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
}

/* Bottom section (partners strip, footer) visible below modal */
.bg-page-bottom { background: #f8f8f8; }
.partners-strip {
    padding: 1.5rem 2rem;
    background: #fff;
    border-top: 1px solid #eee;
}
.partners-strip .label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #555;
    margin-right: 1.5rem;
}
.partners-strip-logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    overflow: hidden;
    max-height: 50px;
}
.partners-strip-logos img { height: 30px; object-fit: contain; filter: grayscale(0.3); }

/* Nav top for modal pages */
.modal-page-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 2rem;
    position: relative;
    z-index: 5;
}
.modal-page-nav .nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.modal-page-nav .nav-links a {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
}
.modal-page-nav .nav-links a:hover { color: #fff; }
.modal-page-nav .lang-select {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    color: #fff;
    font-size: 0.72rem;
    padding: 2px 8px;
    font-family: 'Montserrat', sans-serif;
}
.modal-page-nav .btn-signin {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 20px;
    padding: 0.3rem 1rem;
    font-size: 0.72rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
}

/* Navbar sign-in button (in index.html navbar) */
.btn-signin-nav {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 20px;
    padding: 0.3rem 1.1rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.btn-signin-nav:hover { background: rgba(255,255,255,0.15); }

/* SweetAlert2 — match dashboard Montserrat theme */
.swal2-popup,
.swal2-popup * { font-family: 'Montserrat', sans-serif !important; }

.swal2-title { font-size: 1.1rem !important; }
.swal2-html-container,
.swal2-content,
.swal2-confirm,
.swal2-cancel,
.swal2-deny { font-size: 0.9rem !important; }
