/* ══════════════════════════════════════════════
   HumanitaireHub Jobs — Stylesheet v2.0
   ══════════════════════════════════════════════ */

:root {
    --hh-primary: #0052CC;
    --hh-primary-dark: #003D99;
    --hh-primary-light: #E6F0FF;
    --hh-accent: #E63946;
    --hh-success: #10B981;
    --hh-warning: #F59E0B;
    --hh-danger: #EF4444;
    --hh-orange: #F97316;
    --hh-bg: #F1F5F9;
    --hh-card: #FFFFFF;
    --hh-text: #1E293B;
    --hh-text-light: #64748B;
    --hh-border: #E2E8F0;
    --hh-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --hh-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
    --hh-shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px rgba(0,0,0,0.04);
    --hh-radius: 12px;
    --hh-radius-sm: 8px;
    --hh-radius-xs: 6px;
    --hh-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --hh-transition: 0.2s ease;
}

/* ── RESET SCOPED ────────────────────── */
.hh-jobboard *,
.hh-single * {
    box-sizing: border-box;
}

.hh-jobboard,
.hh-single {
    font-family: var(--hh-font);
    color: var(--hh-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════════
   HERO WRAPPER (layout 3 colonnes)
   ══════════════════════════════════════ */
.hh-hero-wrapper {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 16px;
    align-items: start;
    margin-bottom: 24px;
}

/* ══════════════════════════════════════
   HERO & SEARCH
   ══════════════════════════════════════ */
.hh-hero {
    background: linear-gradient(135deg, #0052CC 0%, #003D99 50%, #001F4D 100%);
    border-radius: var(--hh-radius);
    padding: 28px 28px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hh-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hh-hero__title {
    font-size: 26px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 6px;
    position: relative;
    z-index: 1;
}

.hh-hero__sub {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin: 0 0 20px;
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════
   PANNEAUX LATÉRAUX
   ══════════════════════════════════════ */
.hh-side-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hh-promo-card {
    background: #FFFFFF;
    border: 1px solid var(--hh-border);
    border-radius: var(--hh-radius);
    padding: 18px 16px;
    box-shadow: var(--hh-shadow);
    transition: box-shadow var(--hh-transition);
}

.hh-promo-card:hover {
    box-shadow: var(--hh-shadow-md);
}

.hh-promo-card--newsletter {
    border-top: 3px solid var(--hh-primary);
}

.hh-promo-card--event {
    border-top: 3px solid var(--hh-accent);
}

.hh-promo-card__icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.hh-promo-card__badge {
    display: inline-block;
    background: rgba(230,57,70,0.1);
    color: var(--hh-accent);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
}

.hh-promo-card__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--hh-text);
    margin: 0 0 6px;
    line-height: 1.3;
}

.hh-promo-card__text {
    font-size: 12px;
    color: var(--hh-text-light);
    margin: 0 0 14px;
    line-height: 1.5;
}

.hh-promo-card__btn {
    display: block;
    text-align: center;
    background: var(--hh-primary);
    color: #FFFFFF !important;
    border-radius: 50px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background var(--hh-transition);
    font-family: var(--hh-font);
}

.hh-promo-card__btn:hover {
    background: var(--hh-primary-dark);
}

.hh-promo-card__btn--outline {
    background: transparent;
    color: var(--hh-accent) !important;
    border: 1.5px solid var(--hh-accent);
}

.hh-promo-card__btn--outline:hover {
    background: var(--hh-accent);
    color: #FFFFFF !important;
}

/* ── SEARCH BAR ─────────────────────── */
.hh-search-bar {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 60px;
    padding: 6px 6px 6px 20px;
    max-width: 600px;
    margin: 0 auto 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
}

.hh-search-icon {
    font-size: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.hh-search-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    font-size: 16px;
    font-family: var(--hh-font);
    background: transparent !important;
    padding: 12px 8px !important;
    box-shadow: none !important;
    color: var(--hh-text);
    min-width: 0;
}

.hh-search-input::placeholder {
    color: #94A3B8;
}

.hh-search-btn {
    background: var(--hh-primary);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--hh-font);
    cursor: pointer;
    transition: background var(--hh-transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.hh-search-btn:hover {
    background: var(--hh-primary-dark);
}

/* ── FILTER DROPDOWNS ────────────────── */
.hh-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hh-filter-select {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.15);
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.25) !important;
    border-radius: 50px;
    padding: 10px 36px 10px 16px !important;
    font-size: 14px;
    font-family: var(--hh-font);
    cursor: pointer;
    transition: all var(--hh-transition);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    min-width: 180px;
    box-shadow: none !important;
    outline: none !important;
}

.hh-filter-select:hover,
.hh-filter-select:focus {
    background-color: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5) !important;
}

.hh-filter-select option {
    color: var(--hh-text);
    background: #FFFFFF;
}

.hh-reset-filters {
    background: rgba(230,57,70,0.2);
    color: #FFFFFF;
    border: 1px solid rgba(230,57,70,0.4);
    border-radius: 50px;
    padding: 10px 18px;
    font-size: 13px;
    font-family: var(--hh-font);
    cursor: pointer;
    transition: all var(--hh-transition);
}

.hh-reset-filters:hover {
    background: rgba(230,57,70,0.4);
}

/* ── RESULTS HEADER ──────────────────── */
.hh-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.hh-results-count {
    font-size: 15px;
    font-weight: 600;
    color: var(--hh-text);
}

.hh-sort-select {
    appearance: none;
    background: var(--hh-card);
    border: 1px solid var(--hh-border);
    border-radius: var(--hh-radius-xs);
    padding: 8px 32px 8px 12px;
    font-size: 14px;
    font-family: var(--hh-font);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748B' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

/* ══════════════════════════════════════
   JOB CARDS GRID
   ══════════════════════════════════════ */
.hh-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.hh-jobs-grid--3 {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* ── LOADING STATE ───────────────────── */
.hh-loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
    min-height: 200px;
}

.hh-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid var(--hh-border);
    border-top-color: var(--hh-primary);
    border-radius: 50%;
    animation: hh-spin 0.8s linear infinite;
    z-index: 10;
}

@keyframes hh-spin {
    to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════
   JOB CARD
   ══════════════════════════════════════ */
.hh-card {
    background: var(--hh-card);
    border: 1px solid var(--hh-border);
    border-radius: var(--hh-radius);
    overflow: hidden;
    transition: all var(--hh-transition);
    position: relative;
}

.hh-card:hover {
    box-shadow: var(--hh-shadow-lg);
    border-color: var(--hh-primary);
    transform: translateY(-2px);
}

.hh-card__link {
    display: block;
    padding: 24px;
    text-decoration: none !important;
    color: inherit !important;
}

.hh-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 8px;
}

.hh-card__org {
    font-size: 13px;
    font-weight: 600;
    color: var(--hh-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hh-card__deadline-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
}

.hh-deadline--ok .hh-card__deadline-badge,
.hh-card__deadline-badge.hh-deadline--ok {
    background: #ECFDF5;
    color: #065F46;
}

.hh-deadline--warning .hh-card__deadline-badge,
.hh-card__deadline-badge.hh-deadline--warning {
    background: #FFF7ED;
    color: #9A3412;
}

.hh-deadline--urgent .hh-card__deadline-badge,
.hh-card__deadline-badge.hh-deadline--urgent {
    background: #FEF2F2;
    color: #991B1B;
    animation: hh-pulse 2s ease-in-out infinite;
}

.hh-deadline--expired .hh-card__deadline-badge,
.hh-card__deadline-badge.hh-deadline--expired {
    background: #F1F5F9;
    color: #94A3B8;
    text-decoration: line-through;
}

.hh-card__deadline-badge.hh-deadline--unknown {
    background: #F1F5F9;
    color: #94A3B8;
}

@keyframes hh-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hh-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 14px;
    color: var(--hh-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hh-card:hover .hh-card__title {
    color: var(--hh-primary);
}

.hh-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-bottom: 14px;
}

.hh-card__meta-item {
    font-size: 13px;
    color: var(--hh-text-light);
    white-space: nowrap;
}

.hh-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.hh-tag {
    display: inline-block;
    background: var(--hh-primary-light);
    color: var(--hh-primary);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    white-space: nowrap;
}

.hh-tag--lg {
    font-size: 13px;
    padding: 6px 14px;
}

.hh-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--hh-border);
    font-size: 12px;
}

.hh-card__date {
    color: var(--hh-text-light);
}

.hh-card__deadline-date {
    font-weight: 600;
}

.hh-card__deadline-date.hh-deadline--ok { color: var(--hh-success); }
.hh-card__deadline-date.hh-deadline--warning { color: var(--hh-orange); }
.hh-card__deadline-date.hh-deadline--urgent { color: var(--hh-danger); }
.hh-card__deadline-date.hh-deadline--expired { color: #94A3B8; text-decoration: line-through; }

/* ── NO RESULTS ──────────────────────── */
.hh-no-results {
    text-align: center;
    padding: 80px 20px;
    background: var(--hh-card);
    border-radius: var(--hh-radius);
    border: 2px dashed var(--hh-border);
}

.hh-no-results__icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.hh-no-results h3 {
    font-size: 20px;
    margin: 0 0 8px;
    color: var(--hh-text);
}

.hh-no-results p {
    color: var(--hh-text-light);
    margin: 0;
}

/* ── PAGINATION ──────────────────────── */
.hh-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 32px;
    padding: 20px 0;
}

.hh-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--hh-border);
    border-radius: var(--hh-radius-xs);
    font-size: 14px;
    font-weight: 500;
    color: var(--hh-text);
    text-decoration: none !important;
    transition: all var(--hh-transition);
    background: var(--hh-card);
}

.hh-page-link:hover {
    border-color: var(--hh-primary);
    color: var(--hh-primary);
    background: var(--hh-primary-light);
}

.hh-page-link.active {
    background: var(--hh-primary);
    color: #FFFFFF;
    border-color: var(--hh-primary);
}

/* ══════════════════════════════════════
   SINGLE JOB PAGE
   ══════════════════════════════════════ */
.hh-single {
    max-width: 900px;
    margin: 0 auto;
}

.hh-single__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--hh-primary) !important;
    text-decoration: none !important;
    font-weight: 500;
    margin-bottom: 24px;
    transition: all var(--hh-transition);
}

.hh-single__back:hover {
    color: var(--hh-primary-dark) !important;
}

.hh-single__header {
    background: linear-gradient(135deg, #0052CC 0%, #003D99 100%);
    border-radius: var(--hh-radius);
    padding: 32px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.hh-single__header-left {
    flex: 1;
    min-width: 280px;
}

.hh-single__org {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #FFFFFF;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.hh-single__title {
    font-size: 28px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 10px;
    line-height: 1.2;
}

.hh-single__location {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
}

.hh-single__header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    flex-shrink: 0;
}

.hh-single__deadline {
    background: rgba(255,255,255,0.15);
    border-radius: var(--hh-radius-sm);
    padding: 14px 20px;
    text-align: center;
    min-width: 180px;
}

.hh-single__deadline-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.hh-single__deadline-date {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
}

.hh-single__deadline-countdown {
    display: block;
    font-size: 13px;
    margin-top: 4px;
}

.hh-single__deadline.hh-deadline--ok .hh-single__deadline-countdown { color: #6EE7B7; }
.hh-single__deadline.hh-deadline--warning .hh-single__deadline-countdown { color: #FCD34D; }
.hh-single__deadline.hh-deadline--urgent .hh-single__deadline-countdown { color: #FCA5A5; animation: hh-pulse 1.5s ease-in-out infinite; }
.hh-single__deadline.hh-deadline--expired .hh-single__deadline-countdown { color: rgba(255,255,255,0.5); }

/* ── APPLY BUTTON ────────────────────── */
.hh-apply-btn {
    display: inline-block;
    background: #FFFFFF;
    color: var(--hh-primary) !important;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--hh-font);
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all var(--hh-transition);
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    white-space: nowrap;
}

.hh-apply-btn:hover {
    background: var(--hh-primary-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ── META GRID ───────────────────────── */
.hh-single__meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.hh-single__meta-card {
    background: var(--hh-card);
    border: 1px solid var(--hh-border);
    border-radius: var(--hh-radius-sm);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hh-single__meta-icon {
    font-size: 24px;
}

.hh-single__meta-label {
    font-size: 12px;
    color: var(--hh-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hh-single__meta-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--hh-text);
}

/* ── TAGS ────────────────────────────── */
.hh-single__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

/* ── CONTENT ─────────────────────────── */
.hh-single__content {
    background: var(--hh-card);
    border: 1px solid var(--hh-border);
    border-radius: var(--hh-radius);
    padding: 32px;
    margin-bottom: 32px;
}

.hh-single__content h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--hh-primary-light);
    color: var(--hh-text);
}

.hh-single__content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 12px;
    color: var(--hh-text);
}

.hh-single__content ul,
.hh-single__content ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.hh-single__content li {
    margin-bottom: 6px;
}

.hh-single__content p {
    margin-bottom: 16px;
}

/* ── CTA BOTTOM ──────────────────────── */
.hh-single__cta-bottom {
    background: linear-gradient(135deg, var(--hh-primary-light) 0%, #DBEAFE 100%);
    border: 2px solid var(--hh-primary);
    border-radius: var(--hh-radius);
    padding: 32px;
    text-align: center;
    margin-bottom: 40px;
}

.hh-single__cta-bottom h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--hh-text);
}

.hh-single__cta-bottom p {
    color: var(--hh-text-light);
    margin: 0 0 20px;
}

.hh-single__cta-bottom .hh-apply-btn {
    background: var(--hh-primary);
    color: #FFFFFF !important;
}

.hh-single__cta-bottom .hh-apply-btn:hover {
    background: var(--hh-primary-dark);
}

/* ── RELATED JOBS ────────────────────── */
.hh-related {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid var(--hh-border);
}

.hh-related__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--hh-text);
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1100px) {
    .hh-hero-wrapper {
        grid-template-columns: 1fr;
    }

    .hh-side-panel {
        flex-direction: row;
    }

    .hh-promo-card {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .hh-hero {
        padding: 22px 16px 18px;
    }

    .hh-hero__title {
        font-size: 20px;
    }

    .hh-side-panel {
        flex-direction: column;
    }

    .hh-search-bar {
        flex-direction: column;
        border-radius: var(--hh-radius);
        padding: 12px;
        gap: 8px;
    }

    .hh-search-icon {
        display: none;
    }

    .hh-search-input {
        width: 100%;
        text-align: center;
    }

    .hh-search-btn {
        width: 100%;
        border-radius: var(--hh-radius-xs);
    }

    .hh-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .hh-filter-select {
        width: 100%;
    }

    .hh-jobs-grid {
        grid-template-columns: 1fr;
    }

    .hh-results-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .hh-single__header {
        padding: 24px 20px;
        flex-direction: column;
    }

    .hh-single__header-right {
        align-items: stretch;
        width: 100%;
    }

    .hh-single__title {
        font-size: 22px;
    }

    .hh-single__deadline {
        min-width: auto;
    }

    .hh-single__meta-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hh-single__content {
        padding: 20px;
    }

    .hh-card__header {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hh-single__meta-grid {
        grid-template-columns: 1fr;
    }

    .hh-card {
        margin: 0 -4px;
    }
}

/* ══════════════════════════════════════════════
   FORMULAIRE DE SOUMISSION [hh_submit_job]
   ══════════════════════════════════════════════ */

.hh-submit {
    max-width: 860px;
    margin: 0 auto;
    font-family: var(--hh-font);
}

.hh-submit__header {
    text-align: center;
    margin-bottom: 32px;
}

.hh-submit__header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--hh-text);
    margin: 0 0 8px;
}

.hh-submit__header p {
    color: var(--hh-text-light);
    font-size: 15px;
    margin: 0;
}

/* ── Sections ─────────────────────── */
.hh-form__section {
    background: var(--hh-card);
    border: 1px solid var(--hh-border);
    border-radius: var(--hh-radius);
    padding: 24px;
    margin-bottom: 20px;
}

.hh-form__section--highlight {
    background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
    border: 2px solid #F59E0B;
}

.hh-form__section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--hh-text);
    margin: 0 0 4px;
}

.hh-form__section-desc {
    color: var(--hh-text-light);
    font-size: 14px;
    margin: 0 0 16px;
}

.hh-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hh-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hh-form__field--wide {
    grid-column: 1 / -1;
}

.hh-form__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--hh-text);
}

.hh-req {
    color: #EF4444;
    font-weight: 700;
}

.hh-form__input,
.hh-form__select,
.hh-form__textarea {
    padding: 10px 14px;
    border: 1px solid var(--hh-border);
    border-radius: var(--hh-radius-xs);
    font-size: 15px;
    font-family: var(--hh-font);
    color: var(--hh-text);
    background: #FFFFFF;
    transition: border-color var(--hh-transition), box-shadow var(--hh-transition);
    width: 100%;
    box-sizing: border-box;
}

.hh-form__input:focus,
.hh-form__select:focus,
.hh-form__textarea:focus {
    border-color: var(--hh-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12);
}

.hh-form__input--large {
    font-size: 20px;
    font-weight: 700;
    padding: 14px 18px;
    border-width: 2px;
    border-color: #D97706;
}

.hh-form__textarea {
    resize: vertical;
    min-height: 200px;
    line-height: 1.6;
}

.hh-form__help {
    font-size: 13px;
    color: var(--hh-text-light);
    margin-top: 2px;
}

/* ── Actions ──────────────────────── */
.hh-form__actions {
    text-align: center;
    padding: 32px 0 16px;
}

.hh-submit-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--hh-primary), var(--hh-primary-dark));
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--hh-font);
    padding: 16px 40px;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: all var(--hh-transition);
    box-shadow: 0 4px 14px rgba(0, 82, 204, 0.3);
}

.hh-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 82, 204, 0.4);
}

/* ── Notices ──────────────────────── */
.hh-notice {
    border-radius: var(--hh-radius);
    padding: 24px 32px;
    margin-bottom: 24px;
    font-family: var(--hh-font);
}

.hh-notice h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.hh-notice p {
    margin: 4px 0;
}

.hh-notice--success {
    background: #ECFDF5;
    border: 2px solid #10B981;
    color: #065F46;
}

.hh-notice--error {
    background: #FEF2F2;
    border: 2px solid #EF4444;
    color: #991B1B;
}

.hh-notice--warning {
    background: #FFFBEB;
    border: 2px solid #F59E0B;
    color: #92400E;
}

/* ── Responsive form ──────────────── */
@media (max-width: 768px) {
    .hh-form__grid {
        grid-template-columns: 1fr;
    }

    .hh-submit__header h2 {
        font-size: 22px;
    }

    .hh-form__section {
        padding: 16px;
    }

    .hh-submit-btn {
        width: 100%;
    }
}
/* ══════════════════════════════════════
   SOCIAL SHARE BUTTONS
══════════════════════════════════════ */
.hh-share {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin: 24px 0;
}

.hh-share__label {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.hh-share__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hh-share__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: opacity .15s, transform .15s;
    color: #fff;
    background: #64748b;
    line-height: 1;
}

.hh-share__btn:hover {
    opacity: .85;
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

.hh-share__btn--linkedin  { background: #0A66C2; }
.hh-share__btn--twitter   { background: #1DA1F2; }
.hh-share__btn--facebook  { background: #1877F2; }
.hh-share__btn--whatsapp  { background: #25D366; }
.hh-share__btn--telegram  { background: #0088CC; }
.hh-share__btn--email     { background: #64748b; }
.hh-share__btn--copy      { background: #475569; }
.hh-share__btn--save      { background: #f1f5f9; color: #334155; }
.hh-share__btn--save.saved { background: #fee2e2; color: #dc2626; }

.hh-share__icon { font-size: 15px; }
.hh-share__text { font-size: 13px; }

@media (max-width: 600px) {
    .hh-share { flex-direction: column; align-items: flex-start; }
    .hh-share__btn .hh-share__text { display: none; }
    .hh-share__btn { padding: 10px 12px; }
}
