/* ==========================================================
   Geographic Information Theme Stylesheet - GeoSignUp48 (.NET Framework 4.8)
   Palette: deep sea teal / contour green / earth brown / coordinate grey
   Standalone CSS, no external framework required.
   ========================================================== */

:root {
    --geo-deep: #0d3b4f;        /* deep sea teal - primary */
    --geo-teal: #177e89;        /* teal - secondary */
    --geo-green: #4c956c;       /* contour green */
    --geo-brown: #a47148;       /* earth brown */
    --geo-sand: #f4f0e6;        /* sand base */
    --geo-paper: #fbfaf6;       /* paper white */
    --geo-ink: #1f2d33;         /* ink text */
    --geo-muted: #6b7d85;       /* secondary text */
    --geo-line: #d8e2e0;        /* divider */
    --geo-accent: #ffc857;      /* highlight yellow */
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Segoe UI", "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
    color: var(--geo-ink);
    background-color: var(--geo-sand);
    background-image:
        radial-gradient(circle at 15% 20%, rgba(23, 126, 137, 0.06) 0, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(76, 149, 108, 0.07) 0, transparent 45%);
}

.geo-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

/* ---------- Header / Navigation ---------- */
.geo-header {
    background: linear-gradient(135deg, var(--geo-deep) 0%, var(--geo-teal) 100%);
    border-bottom: 3px solid var(--geo-accent);
    box-shadow: 0 2px 12px rgba(13, 59, 79, 0.25);
}

.geo-header-admin {
    background: linear-gradient(135deg, #1f2d33 0%, var(--geo-deep) 100%);
}

.geo-nav {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
    height: 62px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.geo-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.geo-brand-icon { font-size: 1.4rem; }
.geo-brand-accent { color: var(--geo-accent); }

.geo-nav-coord {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    font-family: Consolas, monospace;
    letter-spacing: 1px;
}

/* ---------- Hero (title + introduction) ---------- */
.geo-hero {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    padding: 52px 40px 44px;
    color: #fff;
    background: linear-gradient(140deg, rgba(13, 59, 79, 0.96) 0%, rgba(23, 126, 137, 0.92) 60%, rgba(76, 149, 108, 0.85) 100%);
    box-shadow: 0 6px 24px rgba(13, 59, 79, 0.28);
}

/* Contour line decoration */
.geo-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-radial-gradient(circle at 88% -10%, transparent 0 34px, rgba(255, 255, 255, 0.07) 34px 36px),
        repeating-radial-gradient(circle at -5% 110%, transparent 0 42px, rgba(255, 255, 255, 0.05) 42px 44px);
    pointer-events: none;
}

/* Graticule decoration */
.geo-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}

.geo-hero-admin {
    background: linear-gradient(140deg, rgba(31, 45, 51, 0.96) 0%, rgba(13, 59, 79, 0.94) 100%);
}

.geo-hero-inner { position: relative; z-index: 1; }

.geo-badge {
    display: inline-block;
    font-family: Consolas, monospace;
    font-size: 0.72rem;
    letter-spacing: 3px;
    color: var(--geo-accent);
    border: 1px solid rgba(255, 200, 87, 0.5);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    background: rgba(255, 200, 87, 0.08);
}

.geo-hero h1 {
    margin: 0 0 6px;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.geo-subtitle {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.geo-intro {
    margin: 0;
    max-width: 760px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.18);
    border-left: 4px solid var(--geo-accent);
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
}

.geo-intro strong { color: var(--geo-accent); }

/* Stats bar */
.geo-stats {
    display: flex;
    gap: 16px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.geo-stat {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 26px;
    text-align: center;
    min-width: 120px;
}

.geo-stat-num {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--geo-accent);
    font-family: Consolas, monospace;
}

.geo-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- Sections ---------- */
.geo-section {
    background: var(--geo-paper);
    border: 1px solid var(--geo-line);
    border-radius: 14px;
    padding: 28px 32px;
    margin-top: 26px;
    box-shadow: 0 2px 10px rgba(31, 45, 51, 0.06);
}

.geo-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--geo-deep);
    margin: 0 0 6px;
    padding-bottom: 10px;
    border-bottom: 2px dashed var(--geo-line);
    display: flex;
    align-items: center;
    gap: 8px;
}

.geo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(23, 126, 137, 0.12);
    color: var(--geo-teal);
    font-size: 0.9rem;
    border: 1px solid rgba(23, 126, 137, 0.3);
}

.geo-section-desc {
    color: var(--geo-muted);
    font-size: 0.85rem;
    margin: 6px 0 18px;
}

/* ---------- Table ---------- */
.table-responsive { overflow-x: auto; }

.geo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    margin: 0;
}

.geo-table thead th {
    background: var(--geo-deep);
    color: #fff;
    padding: 12px 14px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 1px;
    text-align: left;
}

.geo-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--geo-line);
    vertical-align: middle;
}

.geo-table tbody tr:nth-child(even) { background: rgba(23, 126, 137, 0.035); }
.geo-table tbody tr:hover { background: rgba(255, 200, 87, 0.12); }

.geo-name { font-weight: 600; color: var(--geo-deep); }

.geo-coord {
    font-family: Consolas, monospace;
    color: var(--geo-muted);
    font-size: 0.82rem;
    white-space: nowrap;
}

.row-pending { background: rgba(255, 200, 87, 0.08) !important; }
.row-approved { background: rgba(76, 149, 108, 0.07) !important; }

/* ---------- Badges ---------- */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-online {
    background: rgba(23, 126, 137, 0.14);
    color: var(--geo-teal);
    border: 1px solid rgba(23, 126, 137, 0.35);
}

.badge-offline {
    background: rgba(164, 113, 72, 0.14);
    color: var(--geo-brown);
    border: 1px solid rgba(164, 113, 72, 0.4);
}

.badge-pass {
    background: rgba(76, 149, 108, 0.16);
    color: #2e6b48;
    border: 1px solid rgba(76, 149, 108, 0.4);
}

.badge-wait {
    background: rgba(255, 200, 87, 0.2);
    color: #9c7414;
    border: 1px solid rgba(255, 200, 87, 0.6);
}

/* ---------- Empty state ---------- */
.geo-empty {
    text-align: center;
    padding: 46px 20px;
    color: var(--geo-muted);
}

.geo-empty-icon { font-size: 2.6rem; margin-bottom: 10px; }

/* ---------- Form ---------- */
.geo-form { margin-top: 8px; }

.geo-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.geo-form-item { margin-bottom: 18px; }

.geo-form-item label {
    display: block;
    font-weight: 600;
    color: var(--geo-deep);
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.geo-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--geo-line);
    border-radius: 8px;
    font-size: 0.95rem;
    background: #fff;
    color: var(--geo-ink);
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.geo-input:focus {
    outline: none;
    border-color: var(--geo-teal);
    box-shadow: 0 0 0 3px rgba(23, 126, 137, 0.15);
}

.input-validation-error {
    border-color: #c0392b !important;
}

/* Online / offline choice cards */
.geo-radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.geo-radio { cursor: pointer; }
.geo-radio input { display: none; }

.geo-radio-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 18px;
    border: 2px solid var(--geo-line);
    border-radius: 10px;
    background: #fff;
    font-weight: 600;
    color: var(--geo-ink);
    transition: all 0.2s;
}

.geo-radio-desc {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--geo-muted);
}

.geo-radio input:checked + .geo-radio-card {
    border-color: var(--geo-teal);
    background: rgba(23, 126, 137, 0.07);
    box-shadow: 0 0 0 3px rgba(23, 126, 137, 0.12);
}

.geo-radio:hover .geo-radio-card { border-color: var(--geo-teal); }

/* ---------- Buttons ---------- */
.geo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--geo-teal), var(--geo-deep));
    color: #fff;
    border: none;
    padding: 12px 34px;
    font-size: 0.98rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px rgba(13, 59, 79, 0.25);
    transition: transform 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.geo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 59, 79, 0.35);
    color: #fff;
}

.geo-btn-sm {
    padding: 6px 16px;
    font-size: 0.82rem;
    background: linear-gradient(135deg, var(--geo-green), #2e6b48);
    box-shadow: 0 2px 6px rgba(46, 107, 72, 0.3);
}

.geo-form-footer { text-align: center; margin-top: 10px; }

/* ---------- Alerts ---------- */
.alert-geo-success,
.alert-geo-error {
    margin-top: 20px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.93rem;
}

.alert-geo-success {
    background: rgba(76, 149, 108, 0.12);
    border: 1px solid rgba(76, 149, 108, 0.45);
    color: #2e6b48;
}

.alert-geo-error {
    background: rgba(200, 80, 60, 0.1);
    border: 1px solid rgba(200, 80, 60, 0.4);
    color: #a83f2a;
}

.validation-summary-errors {
    color: #c0392b;
    font-size: 0.88rem;
    margin-bottom: 12px;
}

.field-validation-error { color: #c0392b; }
.text-danger { color: #c0392b; font-size: 0.82rem; display: block; }
.text-muted { color: var(--geo-muted); }

/* ---------- Footer ---------- */
.geo-footer {
    background: var(--geo-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 18px 20px;
    font-size: 0.82rem;
}

.geo-footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.geo-footer-scale {
    font-family: Consolas, monospace;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .geo-hero { padding: 34px 22px; }
    .geo-hero h1 { font-size: 1.5rem; }
    .geo-section { padding: 20px 16px; }
    .geo-form-grid { grid-template-columns: 1fr; }
    .geo-radio-group { grid-template-columns: 1fr; }
    .geo-nav-coord { display: none; }
}

/* ==========================================================
   OCOP Theme additions (carries over the geo palette but
   uses agricultural green as the lead colour and adds a
   banner carousel for the two conference posters).
   ========================================================== */

:root {
    --ocop-leaf: #2f7a3e;
    --ocop-leaf-dark: #1f5a2c;
    --ocop-leaf-light: #5fb572;
    --ocop-cream: #f6f3e7;
}

/* ---------- Banner Carousel ---------- */
.ocop-carousel {
    position: relative;
    width: 100%;
    /* Both posters are 3780 x 1889 (2:1). Match that ratio so the whole
       banner is visible instead of being cropped by object-fit: cover. */
    aspect-ratio: 2 / 1;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(13, 59, 79, 0.25);
    background: #1f2d33;
    margin-bottom: 30px;
}

.ocop-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.ocop-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.ocop-slide img {
    width: 100%;
    height: 100%;
    /* contain (not cover) so no part of the poster is cut off */
    object-fit: contain;
    display: block;
}

.ocop-slide-caption {
    position: absolute;
    left: 28px;
    bottom: 22px;
    padding: 12px 18px;
    background: rgba(13, 59, 79, 0.78);
    color: #fff;
    border-left: 4px solid var(--ocop-leaf-light);
    border-radius: 6px;
    max-width: min(560px, 80%);
    backdrop-filter: blur(4px);
}

.ocop-slide-tag {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--ocop-leaf-light);
    font-weight: 600;
    margin-bottom: 4px;
}

.ocop-slide-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
}

.ocop-slide-meta {
    margin-top: 6px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.ocop-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.75);
    color: var(--ocop-leaf-dark);
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    line-height: 1;
}

.ocop-arrow:hover { background: #fff; }

.ocop-arrow-prev { left: 14px; }
.ocop-arrow-next { right: 14px; }

.ocop-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.ocop-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.ocop-dot.is-active {
    background: var(--ocop-leaf-light);
    transform: scale(1.25);
}

@media (max-width: 768px) {
    .ocop-carousel { aspect-ratio: 2 / 1; border-radius: 10px; }
    .ocop-slide-caption { left: 14px; bottom: 12px; padding: 8px 12px; max-width: 88%; }
    .ocop-slide-title { font-size: 0.95rem; }
    .ocop-slide-meta { font-size: 0.75rem; }
    .ocop-arrow { width: 32px; height: 32px; font-size: 1.2rem; }
}

/* ---------- OCOP Hero ---------- */
.ocop-hero {
    position: relative;
    margin-bottom: 30px;
    padding: 38px 30px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(47, 122, 62, 0.92) 0%, rgba(31, 90, 44, 0.95) 100%),
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12) 0, transparent 40%);
    color: #fff;
    overflow: hidden;
}

.ocop-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 36px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 36px);
    pointer-events: none;
}

.ocop-hero-inner { position: relative; z-index: 1; }

.ocop-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    font-weight: 600;
}

.ocop-hero h1 {
    font-size: 1.9rem;
    margin: 0 0 10px;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ocop-subtitle {
    font-size: 0.95rem;
    opacity: 0.92;
    margin: 0 0 18px;
    font-weight: 500;
}

.ocop-intro {
    line-height: 1.7;
    margin: 0 0 22px;
    max-width: 820px;
    opacity: 0.95;
}

.ocop-stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.ocop-stat {
    flex: 1 1 0;
    min-width: 110px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(4px);
}

.ocop-stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.ocop-stat-label {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    opacity: 0.9;
    text-transform: uppercase;
}

/* ---------- OCOP Section / Agenda ---------- */
.ocop-section {
    background: #fff;
    border-radius: 14px;
    padding: 28px 28px;
    margin-bottom: 28px;
    box-shadow: 0 4px 14px rgba(13, 59, 79, 0.07);
    border-left: 4px solid var(--ocop-leaf);
}

.ocop-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    font-size: 1.4rem;
    color: var(--ocop-leaf-dark);
}

.ocop-icon { font-size: 1.3rem; }

.ocop-section-desc {
    margin: 0 0 22px;
    color: var(--geo-muted);
    line-height: 1.6;
}

.ocop-section-desc a {
    color: var(--ocop-leaf-dark);
    text-decoration: underline;
    word-break: break-all;
}

.ocop-agenda-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

@media (max-width: 980px) {
    .ocop-agenda-grid { grid-template-columns: 1fr; }
}

.ocop-agenda-card {
    background: var(--ocop-cream);
    border-radius: 12px;
    padding: 22px 22px 16px;
    border-top: 4px solid var(--ocop-leaf);
    box-shadow: 0 2px 8px rgba(13, 59, 79, 0.06);
}

.ocop-agenda-day {
    display: inline-block;
    padding: 3px 12px;
    background: var(--ocop-leaf);
    color: #fff;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.ocop-agenda-date {
    margin-top: 10px;
    font-size: 0.88rem;
    color: var(--geo-muted);
}

.ocop-agenda-head h3 {
    margin: 6px 0 6px;
    font-size: 1.12rem;
    color: var(--ocop-leaf-dark);
    line-height: 1.3;
}

.ocop-agenda-meta {
    font-size: 0.85rem;
    color: var(--ocop-leaf-dark);
    font-weight: 600;
    margin-bottom: 12px;
}

.ocop-agenda-goal {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--geo-ink);
    margin: 0 0 14px;
    padding: 10px 12px;
    background: rgba(47, 122, 62, 0.08);
    border-left: 3px solid var(--ocop-leaf);
    border-radius: 4px;
}

.ocop-audience-list {
    margin: 0 0 14px;
    padding-left: 20px;
    line-height: 1.7;
    color: var(--geo-ink);
}

.ocop-agenda-tba {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--geo-muted);
    margin: 0;
}

/* Event (sub) heading inside the AGENDA section */
.ocop-event-head { margin: 30px 0 4px; padding-top: 18px; border-top: 1px dashed var(--geo-line); }
.ocop-event-head:first-of-type { border-top: none; padding-top: 0; }
.ocop-event-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--ocop-leaf-dark);
    margin: 0 0 2px;
    line-height: 1.3;
}
.ocop-event-meta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ocop-leaf);
    margin: 0 0 12px;
}
.ocop-event-sub {
    font-size: 0.83rem;
    color: var(--geo-muted);
    margin: 0 0 14px;
    line-height: 1.6;
}

.ocop-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-top: 4px;
}

/* Agenda: single flat table laid out like the source FAO page */
.ocop-agenda-table { font-size: 0.88rem; }

.ocop-agenda-table thead th {
    background: var(--ocop-leaf-dark);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.ocop-agenda-table tbody td {
    padding: 10px 12px;
    line-height: 1.5;
    border-bottom: 1px solid var(--geo-line);
}

.ocop-agenda-table tbody tr:hover td { background: rgba(47, 122, 62, 0.06); }

.ocop-agenda-table .ocop-table-group {
    font-size: 0.86rem;
    padding: 11px 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ocop-table thead th {
    background: var(--ocop-leaf);
    color: #fff;
    padding: 9px 10px;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
}

.ocop-table tbody td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--geo-line);
    vertical-align: top;
    line-height: 1.45;
}

.ocop-table tbody tr:nth-child(even) td { background: rgba(246, 243, 231, 0.4); }

.ocop-table-group {
    background: var(--ocop-leaf-dark) !important;
    color: #fff !important;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.05em;
}

.ocop-table-mod {
    background: rgba(47, 122, 62, 0.12) !important;
    font-size: 0.82rem;
    color: var(--ocop-leaf-dark);
}

/* ---------- OCOP Empty / Form ---------- */
.ocop-empty { text-align: center; padding: 46px 20px; color: var(--geo-muted); }
.ocop-empty-icon { font-size: 2.6rem; margin-bottom: 10px; }

.ocop-form { margin-top: 8px; }

.ocop-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.ocop-form-item { margin-bottom: 18px; }

.ocop-form-item label {
    display: block;
    font-weight: 600;
    color: var(--ocop-leaf-dark);
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.ocop-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--geo-line);
    border-radius: 8px;
    font-size: 0.95rem;
    background: #fff;
    color: var(--geo-ink);
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.ocop-input:focus {
    outline: none;
    border-color: var(--ocop-leaf);
    box-shadow: 0 0 0 3px rgba(47, 122, 62, 0.18);
}

.ocop-radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 6px;
}

.ocop-radio {
    cursor: pointer;
    position: relative;
}

.ocop-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ocop-radio-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border: 2px solid var(--geo-line);
    border-radius: 10px;
    background: #fff;
    transition: all 0.2s;
    font-weight: 600;
    color: var(--geo-ink);
}

.ocop-radio-desc {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--geo-muted);
}

.ocop-radio input[type="radio"]:checked + .ocop-radio-card {
    border-color: var(--ocop-leaf);
    background: rgba(47, 122, 62, 0.08);
    box-shadow: 0 0 0 3px rgba(47, 122, 62, 0.15);
}

.ocop-form-footer { text-align: center; margin-top: 8px; }

.ocop-btn {
    padding: 12px 36px;
    background: linear-gradient(135deg, var(--ocop-leaf) 0%, var(--ocop-leaf-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
    font-family: inherit;
}

.ocop-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(47, 122, 62, 0.35);
}

.text-danger {
    color: #b03a3a;
    font-size: 0.82rem;
    margin-top: 6px;
}

/* ---------- Admin login ---------- */
.ocop-login-wrap {
    min-height: 62vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px 16px;
    background: linear-gradient(135deg, var(--geo-sand) 0%, #eaf1ef 100%);
}

.ocop-login-card {
    width: 100%;
    max-width: 400px;
    background: var(--geo-paper);
    border: 1px solid var(--geo-line);
    border-radius: 14px;
    padding: 34px 30px 26px;
    box-shadow: 0 12px 34px rgba(13, 59, 79, 0.12);
}

.ocop-login-brand { text-align: center; margin-bottom: 22px; }

.ocop-login-logo { font-size: 2.4rem; }

.ocop-login-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--geo-deep);
    margin: 8px 0 4px;
}

.ocop-login-sub {
    font-size: 0.78rem;
    color: var(--geo-muted);
    margin: 0;
    line-height: 1.5;
}

.ocop-login-alert {
    background: #fdecea;
    border: 1px solid #f5c6cb;
    color: #9b2c2c;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.86rem;
    margin-bottom: 18px;
    text-align: center;
}

.ocop-login-form .ocop-form-item label { color: var(--geo-deep); }

.ocop-login-form .ocop-btn {
    width: 100%;
    padding: 12px;
    margin-top: 4px;
}

.ocop-login-foot {
    text-align: center;
    font-size: 0.74rem;
    color: var(--geo-muted);
    margin: 18px 0 0;
}

/* ---------- Admin layout account area ---------- */
.geo-nav-account {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.geo-nav-user {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    font-weight: 600;
}

.geo-link-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 0.78rem;
    font-family: inherit;
    padding: 5px 14px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.geo-link-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .ocop-hero { padding: 28px 20px; }
    .ocop-hero h1 { font-size: 1.4rem; }
    .ocop-section { padding: 22px 18px; }
    .ocop-form-grid { grid-template-columns: 1fr; }
    .ocop-radio-group { grid-template-columns: 1fr; }
    .ocop-table thead th, .ocop-table tbody td { font-size: 0.78rem; padding: 6px 8px; }
}

/* ===== Front desk: banner, horizontal nav, tab pages ===== */
.front-banner {
    background: linear-gradient(135deg, var(--ocop-leaf-dark) 0%, #143a20 100%);
    color: #fff;
}
.front-banner-inner {
    max-width: 1180px; margin: 0 auto; padding: 30px 24px 26px;
    display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between;
}
.front-banner-text { flex: 1 1 360px; min-width: 280px; }
.front-badge {
    display: inline-block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
    background: rgba(255,255,255,0.16); color: #eafbe9; padding: 5px 13px; border-radius: 999px; margin-bottom: 16px;
}
.front-title {
    font-size: 2.4rem; line-height: 1.12; margin: 0 0 10px; font-weight: 800;
    letter-spacing: -0.01em; color: #ffffff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.28);
}
.front-midtitle {
    margin: 0 0 12px; color: #eafbe9; font-size: 1.3rem; line-height: 1.35; font-weight: 600;
    letter-spacing: 0.01em; text-shadow: 0 1px 8px rgba(0,0,0,0.22);
}
.front-subtitle {
    margin: 0; color: #d6efd4; font-size: 1.1rem; line-height: 1.5; font-weight: 500;
    max-width: 640px; padding-top: 14px; border-top: 2px solid rgba(255,255,255,0.22);
}
.front-banner-images {
    position: relative; flex: 1 1 360px; height: 220px;
    border-radius: 10px; overflow: hidden;
    background: rgba(0,0,0,0.18); box-shadow: 0 6px 18px rgba(0,0,0,0.28);
}
.front-slide {
    position: absolute; inset: 0; opacity: 0; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s ease;
}
.front-slide.is-active { opacity: 1; z-index: 2; }
.front-slide img {
    max-width: 100%; max-height: 100%; width: auto; height: auto;
    object-fit: contain; border-radius: 8px;
}
.front-carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 32px; height: 32px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(0,0,0,0.35); color: #fff; font-size: 0.9rem; line-height: 1;
    display: flex; align-items: center; justify-content: center;
}
.front-carousel-btn:hover { background: rgba(0,0,0,0.55); }
.front-carousel-btn.prev { left: 8px; }
.front-carousel-btn.next { right: 8px; }
.front-carousel-dots {
    position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); z-index: 3;
    display: flex; gap: 6px;
}
.front-carousel-dots span {
    width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5);
    cursor: pointer; transition: background 0.2s;
}
.front-carousel-dots span.is-active { background: #fff; }

.front-nav {
    background: #fff; border-bottom: 1px solid #e4e0d2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 50;
}
.front-nav-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; }
.front-nav-link {
    padding: 14px 22px; color: #3c5a40; text-decoration: none; font-weight: 600; font-size: 0.95rem;
    border-bottom: 3px solid transparent; transition: color 0.18s ease, background 0.18s ease;
    white-space: nowrap;
}
.front-nav-link:hover { color: var(--ocop-leaf-dark); background: var(--ocop-cream); }
.front-nav-link.is-active { color: var(--ocop-leaf-dark); border-bottom-color: var(--ocop-leaf); }

.front-page { display: none; }
.front-page.is-active { display: block; animation: frontFade 0.25s ease; }
@keyframes frontFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.front-page-inner { max-width: 1180px; margin: 0 auto; padding: 34px 24px 54px; }
.front-page-title {
    font-size: 1.5rem; color: var(--ocop-leaf-dark);
    border-left: 5px solid var(--ocop-leaf); padding-left: 14px; margin: 0 0 22px;
}

.about-body { max-width: 900px; line-height: 1.85; color: #2c3a2e; font-size: 1.03rem; }
.about-body p { margin: 0 0 16px; }
.about-sub { color: var(--ocop-leaf-dark); font-size: 1.16rem; margin: 28px 0 10px; }
.about-body a { color: var(--ocop-leaf); text-decoration: underline; }

.front-placeholder {
    margin-top: 8px; padding: 64px 24px; text-align: center;
    background: var(--ocop-cream); border: 2px dashed #c9c2a8; border-radius: 14px; color: #6b7257;
}
.front-placeholder-icon { font-size: 2.4rem; margin-bottom: 12px; line-height: 1; }
.front-placeholder p { margin: 0; font-size: 1.05rem; }

.events-intro { max-width: 900px; margin: 0 0 18px; color: #3a463a; font-size: 1.03rem; line-height: 1.7; }
.events-toolbar { margin: 0 0 22px; }
.events-download {
    display: inline-block; background: var(--ocop-leaf); color: #fff; text-decoration: none;
    padding: 10px 18px; border-radius: 8px; font-size: 0.96rem; font-weight: 600;
}
.events-download:hover { background: var(--ocop-leaf-dark); }
.events-gallery { display: flex; flex-direction: column; gap: 22px; align-items: center; }
.events-page { margin: 0; max-width: 900px; width: 100%; }
.events-page img {
    display: block; width: 100%; height: auto; border-radius: 10px;
    box-shadow: 0 6px 22px rgba(40,60,30,0.16); border: 1px solid #e3e0d2; background: #fff;
}
.events-page figcaption { text-align: center; color: #6b7257; font-size: 0.9rem; margin-top: 8px; }

@media (max-width: 768px) {
    .front-banner-inner { flex-direction: column; align-items: flex-start; }
    .front-banner-images { width: 100%; height: 180px; }
    .front-title { font-size: 1.75rem; }
    .front-nav-inner { overflow-x: auto; }
    .front-nav-link { padding: 12px 16px; font-size: 0.88rem; }
    .about-body { font-size: 0.98rem; }
}

/* ===== Registration form ===== */
.reg-intro { color: #4a5340; margin: 0 0 22px; font-size: 1rem; }
.reg-form { margin-top: 8px; }
.reg-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 22px;
}
.reg-field { display: flex; flex-direction: column; }
.reg-field-full { grid-column: 1 / -1; }
.reg-field label {
    font-weight: 600; color: #2c3a2e; margin-bottom: 6px; font-size: 0.92rem;
}
.req { color: #c0392b; font-weight: 700; }
.reg-field input[type="text"],
.reg-field input[type="email"],
.reg-field input[type="date"] {
    padding: 10px 12px; border: 1px solid #c9c2a8; border-radius: 8px;
    font-size: 0.98rem; background: #fff; color: #2c3a2e;
    transition: border-color .15s, box-shadow .15s;
}
.reg-field input:focus {
    outline: none; border-color: var(--ocop-leaf, #3c7a4e);
    box-shadow: 0 0 0 3px rgba(60,122,78,0.15);
}
.reg-radio { display: flex; gap: 22px; padding-top: 6px; }
.reg-radio-item { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: #2c3a2e; }
.reg-radio-item input { width: 16px; height: 16px; accent-color: var(--ocop-leaf, #3c7a4e); }
.reg-actions { margin-top: 24px; }
.reg-submit {
    background: var(--ocop-leaf, #3c7a4e); color: #fff; border: none;
    padding: 12px 28px; border-radius: 8px; font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: background .15s, transform .05s;
}
.reg-submit:hover { background: var(--ocop-leaf-dark, #2c5a3a); }
.reg-submit:active { transform: translateY(1px); }
.reg-alert {
    padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; font-size: 0.96rem; font-weight: 500;
}
.reg-alert-success { background: #e6f4ea; border: 1px solid #9cc8a8; color: #1f5c33; }
.reg-alert-error { background: #fdecea; border: 1px solid #e7a79f; color: #a5321f; }

@media (max-width: 640px) {
    .reg-grid { grid-template-columns: 1fr; }
}

/* ---------- Custom English date picker ---------- */
.reg-field input.reg-date {
    cursor: pointer;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7d85' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.reg-cal {
    z-index: 1000; width: 264px; background: #fff;
    border: 1px solid var(--geo-line, #d8e2e0); border-radius: 10px;
    box-shadow: 0 10px 28px rgba(13,59,79,0.18); padding: 10px;
    font-size: 0.9rem; color: #2c3a2e;
}
.reg-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.reg-cal-nav {
    width: 28px; height: 28px; border: 1px solid var(--geo-line, #d8e2e0);
    background: #f6f8f7; border-radius: 6px; cursor: pointer;
    font-size: 1.1rem; line-height: 1; color: #2c3a2e;
}
.reg-cal-nav:hover { background: #eef3f0; }
.reg-cal-title { display: flex; gap: 6px; align-items: center; }
.reg-cal-sel {
    border: 1px solid var(--geo-line, #d8e2e0); border-radius: 6px;
    padding: 3px 4px; background: #fff; color: #2c3a2e; font-size: 0.88rem;
}
.reg-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.reg-cal-wd { text-align: center; font-weight: 600; color: var(--geo-muted, #6b7d85); padding: 4px 0; font-size: 0.78rem; }
.reg-cal-day { text-align: center; padding: 6px 0; border-radius: 6px; cursor: pointer; }
.reg-cal-day:hover { background: rgba(60,122,78,0.12); }
.reg-cal-day.is-sel { background: var(--ocop-leaf, #3c7a4e); color: #fff; }
.reg-cal-empty { padding: 6px 0; }

/* ---------- Contact us ---------- */
.front-page-lead {
    max-width: 720px;
    margin: 0 auto 28px;
    color: var(--geo-muted, #6b7d85);
    font-size: 1.02rem;
    line-height: 1.7;
    text-align: center;
}
.contact-grid {
    display: flex;
    justify-content: center;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 22px;
    max-width: 620px;
    width: 100%;
    background: #fff;
    border: 1px solid var(--geo-line, #d8e2e0);
    border-left: 5px solid var(--geo-teal, #177e89);
    border-radius: 14px;
    padding: 26px 30px;
    box-shadow: 0 12px 30px rgba(13,59,79,0.10);
    transition: transform .15s ease, box-shadow .15s ease;
}
.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(13,59,79,0.16);
}
.contact-avatar {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--geo-deep, #0d3b4f) 0%, var(--geo-teal, #177e89) 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(13,59,79,0.25);
}
.contact-body { min-width: 0; }
.contact-name {
    margin: 0 0 4px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--geo-deep, #0d3b4f);
}
.contact-role {
    margin: 0 0 12px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--geo-muted, #6b7d85);
}
.contact-lines {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.contact-lines li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-ico {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(23,126,137,0.12);
    color: var(--geo-teal, #177e89);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.contact-link {
    color: var(--geo-ink, #1f2d33);
    text-decoration: none;
    font-size: 0.98rem;
    border-bottom: 1px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}
.contact-link:hover {
    color: var(--geo-teal, #177e89);
    border-bottom-color: var(--geo-teal, #177e89);
}
@media (max-width: 560px) {
    .contact-card {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        padding: 24px 20px;
    }
    .contact-lines { align-items: center; }
}
