/* ============================================================
   SADC Calculateur GES - Frontend Styles v2.2
   Brand color: #69A517 (rgb 105,165,23)
   Layout: 2 columns - content left, sticky summary right
   Font: Heebo (headings) + Titillium Web (body) - matching SADC site
   All key rules use !important to override WP themes
   ============================================================ */

.sadc-ges {
    --green: #69A517;
    --green-light: #7dbc2a;
    --green-bg: #f2f8e8;
    --green-dark: #4e7c12;
    --green-darker: #3a5d0d;
    --gray: #f4f4f4;
    --gray-border: #e0e0e0;
    --text: #3e3e3e;
    --text-light: #3e3e3e;
    --radius: 0px;
    --shadow: 0 2px 8px rgba(0,0,0,0.07);
    font-family: "Titillium Web", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    color: var(--text) !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    max-width: 1200px;
    margin: 0 auto;
}
.sadc-ges *, .sadc-ges *::before, .sadc-ges *::after { box-sizing: border-box; }

/* Header */
.sadc-ges-header { margin-bottom: 20px; }
.sadc-ges-header h2 { font-family: "Heebo", "Titillium Web", sans-serif !important; font-size: 30px !important; font-weight: 700 !important; color: var(--text) !important; margin: 0 0 12px; }
.sadc-ges-header p { margin: 0 0 8px; line-height: 1.5; color: var(--text-light); font-size: 16px; }

/* Nav Tabs */
.sadc-ges-nav { display: flex !important; flex-wrap: wrap; gap: 10px; margin: 10px 0 28px; }
.sadc-ges-tab {
    padding: 14px 28px !important;
    border: none !important;
    border-radius: 0 !important;
    background: #69A517 !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    font-family: "Heebo", "Titillium Web", sans-serif !important;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    line-height: 1.3;
    text-align: center;
}
.sadc-ges-tab:hover { background: #4e7c12 !important; color: #fff !important; }
.sadc-ges-tab.active { background: #3a5d0d !important; color: #fff !important; box-shadow: inset 0 -3px 0 #7dbc2a; }

/* Tab subtotal (shown under tab text when section has value) */
.sadc-ges-tab-subtotal {
    display: block;
    font-size: 14px !important;
    font-weight: 400 !important;
    opacity: 0;
    margin-top: 3px;
    transition: opacity 0.2s;
}
.sadc-ges-tab.has-value .sadc-ges-tab-subtotal {
    opacity: 1;
}

/* ============ 2-COLUMN LAYOUT ============ */
.sadc-ges-layout {
    display: grid !important;
    grid-template-columns: 1fr 300px !important;
    gap: 24px;
    align-items: start;
}

/* LEFT: Main content */
.sadc-ges-main { min-width: 0; overflow: visible; }

/* RIGHT: Sticky sidebar */
.sadc-ges-sidebar {
    z-index: 1;
    position: sticky !important;
    top: 20px;
}

.sadc-ges-summary-box {
    background: var(--green);
    color: #fff;
    border-radius: 0;
    padding: 20px;
    box-shadow: var(--shadow);
}

/* Summary sections breakdown */
.sadc-ges-summary-sections { margin-bottom: 16px; }
.sadc-ges-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-size: 15px;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.sadc-ges-summary-line.has-value { opacity: 1; font-weight: 600; }
.sadc-ges-summary-label { flex: 1; }
.sadc-ges-summary-value { text-align: right; font-family: monospace; white-space: nowrap; margin-left: 8px; }

/* Credits line */
.sadc-ges-summary-credits {
    background: rgba(255,255,255,0.15);
    border-radius: 0;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 16px;
}

/* Grand total */
.sadc-ges-summary-total {
    text-align: center;
    padding-top: 12px;
    border-top: 2px solid rgba(255,255,255,0.3);
}
.sadc-ges-total-label { font-size: 18px; font-weight: 600; margin-bottom: 2px; }
.sadc-ges-total-price { font-size: 36px; font-weight: 700; margin-bottom: 16px; }

/* Pay button */
.sadc-ges-pay-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #fff;
    color: var(--green-dark);
    border: 2px solid #fff;
    border-radius: 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.sadc-ges-pay-btn:hover:not(:disabled) { background: var(--green-light); color: #fff; border-color: var(--green-light); }
.sadc-ges-pay-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============ SECTIONS ============ */
.sadc-ges-section {
    display: none;
    background: #fff;
    border: 1px solid var(--gray-border);
    border-radius: 0;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}
.sadc-ges-section.active { display: block; }

/* Section header with icon */
.sadc-ges-section-header { display: flex !important; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.sadc-ges-section-icon {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    min-width: 48px;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    object-fit: contain;
}
.sadc-ges-section-header > div { flex: 1; min-width: 0; }
.sadc-ges-section-header h3 { font-family: "Heebo", "Titillium Web", sans-serif !important; margin: 0 0 6px; font-size: 20px !important; font-weight: 700 !important; color: var(--text) !important; }
.sadc-ges-section-header p { margin: 0; color: var(--text-light); line-height: 1.5; font-size: 15px; }

/* Section totals bar */
.sadc-ges-section-totals {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gray);
    padding: 10px 16px;
    border-radius: 0;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}
.sadc-ges-section-cost { font-weight: 700; color: var(--green-dark); font-size: 15px; }
.sadc-ges-section-co2 { color: var(--text-light); font-size: 14px; }

/* Subsection titles */
.sadc-ges-subsection-title {
    font-family: "Heebo", "Titillium Web", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--green);
    margin: 20px 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--green-bg);
}

/* ============ ENTRY ROWS ============ */
.sadc-ges-entry-row {
    display: grid;
    grid-template-columns: 1fr 180px 110px 60px;
    gap: 10px;
    align-items: end;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    animation: sadcSlideIn 0.2s ease;
}

.sadc-ges-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.sadc-ges-select {
    width: 100%;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--gray-border);
    border-radius: 0;
    font-size: 15px;
    font-family: "Heebo", "Titillium Web", sans-serif;
    background: #fff;
    color: var(--text);
    box-sizing: border-box;
}
.sadc-ges-select:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 2px rgba(105,165,23,0.2); }

.sadc-ges-input-group {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--gray-border);
    border-radius: 0;
    overflow: hidden;
    height: 38px;
}
.sadc-ges-input-group:focus-within { border-color: var(--green); box-shadow: 0 0 0 2px rgba(105,165,23,0.2); }

.sadc-ges-input {
    flex: 1;
    padding: 0 8px;
    border: none;
    font-size: 15px;
    font-family: "Heebo", "Titillium Web", sans-serif;
    min-width: 0;
    color: var(--text);
    -moz-appearance: textfield;
    height: 100%;
    box-sizing: border-box;
}
.sadc-ges-input::-webkit-inner-spin-button, .sadc-ges-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.sadc-ges-input:focus { outline: none; }

.sadc-ges-unit {
    padding: 0 10px;
    background: var(--gray);
    color: var(--text-light);
    font-size: 13px;
    white-space: nowrap;
    border-left: 1px solid var(--gray-border);
    display: flex;
    align-items: center;
}

/* Result display - vertically centered with inputs */
.sadc-ges-field-result { text-align: right; white-space: nowrap; align-self: center; }
.sadc-ges-result-display {
    display: inline-block;
    padding: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--green-dark);
    font-family: monospace;
    white-space: nowrap;
    line-height: 38px;
}

/* Action buttons (remove + duplicate) - vertically centered */
.sadc-ges-field-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    align-self: center;
}
.sadc-ges-remove-entry,
.sadc-ges-duplicate-entry {
    background: none;
    border: none;
    font-size: 16px;
    color: #ccc;
    cursor: pointer;
    padding: 4px;
    border-radius: 0;
    transition: all 0.15s;
    line-height: 1;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sadc-ges-remove-entry:hover { color: #c0392b; background: #fdecea; }
.sadc-ges-duplicate-entry:hover { color: var(--green); background: var(--green-bg); }

/* Add entry button */
.sadc-ges-add-entry {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border: 1px solid var(--green);
    border-radius: 0;
    background: #fff;
    color: var(--green);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}
.sadc-ges-add-entry:hover { background: var(--green); color: #fff; }

/* ============ MATIÈRES METHOD CHOICE ============ */
.sadc-ges-method-choice { margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sadc-ges-method-choice p { width: 100%; margin: 0 0 4px; }
.sadc-ges-radio-card {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; border: 2px solid var(--gray-border);
    border-radius: 0; cursor: pointer; transition: all 0.2s; font-size: 14px; font-weight: 600;
}
.sadc-ges-radio-card:hover { border-color: var(--green); }
.sadc-ges-radio-card.active { border-color: var(--green); background: var(--green-bg); }
/* radio-card input: handled by custom pseudo-element */

.sadc-ges-radio-inline { display: inline-flex; align-items: center; gap: 5px; margin-right: 14px; font-size: 13px; cursor: pointer; }
.sadc-ges-radio-inline input { accent-color: var(--green); }
.sadc-ges-check-card {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; border: 2px solid var(--gray-border);
    border-radius: 0; cursor: pointer; transition: all 0.2s; font-size: 14px; font-weight: 600;
}
.sadc-ges-check-card:hover { border-color: var(--green); }
.sadc-ges-check-card.active { border-color: var(--green); background: var(--green-bg); }
.sadc-ges-check-card input { accent-color: var(--green); appearance: checkbox !important; -webkit-appearance: checkbox !important; width: 16px !important; height: 16px !important; opacity: 1 !important; position: static !important; pointer-events: auto !important; }

.sadc-ges-recyclage-method { margin-bottom: 10px; padding: 10px 14px; background: var(--gray); border-radius: 0; }
.sadc-ges-recyclage-method p { margin: 0 0 6px; font-weight: 600; font-size: 13px; }

/* Credits direct */
.sadc-ges-credits-direct { max-width: 400px; }
.sadc-ges-credits-direct label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }

/* ============ FOOTER ============ */
.sadc-ges-footer { margin-top: 24px; padding: 16px 16px 20px 16px; background: var(--gray); border-radius: 0; border-top: 3px solid var(--green); }
.sadc-ges-footer p { margin: 0 0 6px; font-size: 11px; color: var(--text-light); line-height: 1.5; }
.sadc-ges-footer-note { background: #fff8e1; padding: 8px 10px; border-radius: 0; border-left: 3px solid #f0ad4e; }
.sadc-ges-footer-meta { font-style: italic; margin-bottom: 0; padding-bottom: 4px; }
.sadc-ges-footer-credit { font-size: 10px !important; }
.sadc-ges-footer a { color: var(--green); text-decoration: none; }
.sadc-ges-footer a:hover { text-decoration: underline; }

/* ============ PER-ROW DISTANCE CALCULATOR (Déplacements) ============ */
/* Mode toggle: km | Calculateur */
.sadc-ges-km-mode-toggle {
    display: flex; gap: 0; margin-bottom: 6px;
}
.sadc-ges-km-mode {
    padding: 3px 10px; border: 1px solid var(--gray-border); background: var(--gray);
    font-size: 11px; font-weight: 600; color: var(--text-light); cursor: pointer;
    transition: all 0.15s; line-height: 1.4; border-radius: 0;
    font-family: "Titillium Web", sans-serif;
}
.sadc-ges-km-mode:first-child { border-right: none; }
.sadc-ges-km-mode.active {
    background: var(--green) !important; color: #fff !important;
    border-color: var(--green) !important;
}
.sadc-ges-km-mode:hover:not(.active) { background: #e8e8e8; }

/* Inline compact result + placeholder in qty column */
.sadc-ges-calc-result-inline {
    padding: 6px 8px; background: var(--green-bg); border-left: 3px solid var(--green);
    font-size: 14px; font-weight: 700; color: var(--green-dark);
}
.sadc-ges-calc-placeholder {
    font-size: 12px; color: #999; font-style: italic; display: block; padding: 6px 0;
}

/* Full-width calc panel (spans all 4 grid columns) */
.sadc-ges-calc-panel {
    overflow: visible;
    grid-column: 1 / -1;
    background: var(--green-bg);
    border: 1px solid #d4e8b8;
    border-top: 2px solid var(--green);
    padding: 14px 16px;
    margin-top: 4px;
    animation: sadcSlideIn 0.2s ease;
}
.sadc-ges-calc-panel-inner {
    display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap;
}
.sadc-ges-calc-field-wrap { flex: 1; min-width: 160px; }
.sadc-ges-calc-field-wrap label {
    display: block; font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.4px; color: var(--green-dark); margin-bottom: 4px;
}
.sadc-ges-calc-field-action { flex: 0 0 auto; min-width: auto; }
.sadc-ges-calc-panel .sadc-ges-input {
    width: 100%; padding: 8px 10px; border: 1px solid #c5dca0; border-radius: 0;
    font-size: 14px; font-family: "Titillium Web", sans-serif; color: var(--text);
    background: #fff;
}
.sadc-ges-calc-panel .sadc-ges-input:focus {
    border-color: var(--green); outline: none;
    box-shadow: 0 0 0 2px rgba(105,165,23,0.25);
}
.sadc-ges-calc-btn {
    padding: 8px 18px; background: var(--green); color: #fff; border: none; border-radius: 0;
    font-size: 13px; font-weight: 700; cursor: pointer; transition: background 0.2s;
    font-family: "Heebo", sans-serif; white-space: nowrap;
}
.sadc-ges-calc-btn:hover { background: var(--green-dark); }
.sadc-ges-calc-btn:disabled { opacity: 0.6; cursor: wait; }

/* Panel result line */
.sadc-ges-calc-panel-result {
    margin-top: 10px; padding: 8px 12px; background: #fff;
    border-left: 3px solid var(--green); font-size: 14px; color: var(--green-dark);
}
.sadc-ges-calc-panel-result strong { font-size: 16px; }

/* Panel error */
.sadc-ges-calc-error {
    margin-top: 8px; padding: 6px 10px; background: #fdecea; color: #c0392b;
    font-size: 13px; border-left: 3px solid #c0392b;
}

/* ============ AUTOCOMPLETE DROPDOWN ============ */
.sadc-ges-autocomplete-wrap { position: relative; }
.sadc-ges-autocomplete-list {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    z-index: 9999; background: #fff; border: 1px solid var(--gray-border);
    border-top: none; list-style: none; margin: 0; padding: 0;
    max-height: 200px; overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.sadc-ges-autocomplete-list.active { display: block; }
.sadc-ges-autocomplete-list li {
    padding: 8px 10px; font-size: 13px; cursor: pointer;
    border-bottom: 1px solid #f4f4f4; color: var(--text);
    transition: background 0.1s;
}
.sadc-ges-autocomplete-list li:hover,
.sadc-ges-autocomplete-list li.sadc-ges-ac-active {
    background: var(--green-bg); color: var(--green-dark);
}
.sadc-ges-autocomplete-list li .sadc-ges-ac-secondary {
    display: block; font-size: 11px; color: #999; margin-top: 1px;
}

.sadc-ges-ac-tag {
    display: inline-block; font-size: 9px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; padding: 1px 5px; border-radius: 3px; margin-right: 6px;
    vertical-align: middle; line-height: 16px;
    background: #e8e8e8; color: #666;
}
.sadc-ges-ac-tag--ville, .sadc-ges-ac-tag--village { background: #E8F0D8; color: #3A5D0D; }
.sadc-ges-ac-tag--adresse { background: #E0EDFF; color: #2563EB; }
.sadc-ges-ac-tag--rue { background: #FFF3E0; color: #E65100; }
.sadc-ges-ac-tag--quartier { background: #F3E5F5; color: #7B1FA2; }
.sadc-ges-ac-tag--aeroport { background: #E0F7FA; color: #00695C; }
/* ============ PROMO CODE (sidebar) ============ */
.sadc-ges-promo-section {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 14px;
    margin-top: 10px;
    margin-bottom: 14px;
}
.sadc-ges-promo-section > label {
    display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #fff;
}
.sadc-ges-promo-row { display: flex; gap: 6px; align-items: stretch; height: 36px; }
.sadc-ges-promo-row .sadc-ges-input {
    flex: 1; padding: 0 8px; font-size: 13px; border: none; border-radius: 0;
    text-transform: uppercase; font-family: monospace; height: 100%; box-sizing: border-box;
}
#sadc-ges-promo-btn {
    padding: 0 14px; background: #fff; color: var(--green-dark); border: none; border-radius: 0;
    font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s; white-space: nowrap;
    height: 100%; box-sizing: border-box;
}
#sadc-ges-promo-btn:hover { background: var(--green-light); color: #fff; }
.sadc-ges-promo-msg {
    margin-top: 6px; padding: 6px 8px; font-size: 12px; border-radius: 0;
}
.sadc-ges-promo-msg.success { background: rgba(255,255,255,0.2); color: #fff; }
.sadc-ges-promo-msg.error { background: rgba(192,57,43,0.3); color: #fdecea; }
.sadc-ges-promo-discount { margin-top: 8px; padding: 8px 10px; background: rgba(255,255,255,0.15); display: flex; align-items: center; gap: 8px; font-size: 13px; flex-wrap: wrap; }
    margin-top: 8px; padding: 8px 10px; background: rgba(255,255,255,0.15); display: flex;
    align-items: center; gap: 8px; font-size: 13px;
}
.sadc-ges-promo-label { flex: 1; }
.sadc-ges-promo-amount { font-weight: 700; font-family: monospace; font-size: 12px; white-space: nowrap; }
#sadc-ges-promo-remove {
    background: none; border: none; color: rgba(255,255,255,0.6); cursor: pointer;
    font-size: 14px; padding: 2px 4px; transition: color 0.2s;
}
#sadc-ges-promo-remove:hover { color: #fff; }

/* Discounted price display */
.sadc-ges-original-price { text-decoration: line-through; opacity: 0.6; font-size: 14px; display: block; margin-bottom: 2px; }
.sadc-ges-discounted-label { font-size: 11px; opacity: 0.8; display: block; margin-top: 2px; }

/* ============ PDF EXPORT BUTTON ============ */
.sadc-ges-pdf-btn {
    display: block; width: 100%; padding: 10px; margin-top: 8px;
    background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); border-radius: 0;
    font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; text-align: center;
}
.sadc-ges-pdf-btn:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* Animation */
@keyframes sadcSlideIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
    .sadc-ges-layout {
        grid-template-columns: 1fr !important;
    }
    .sadc-ges-sidebar {
    z-index: 1;
        position: relative !important;
        top: 0;
        order: 1; /* Summary at the bottom on tablet/mobile */
    }
    .sadc-ges-main { order: 0; }
    .sadc-ges-summary-box { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
    .sadc-ges-summary-sections { width: 100%; }
    .sadc-ges-summary-credits { width: 100%; }
    .sadc-ges-summary-total { flex: 1; text-align: left; border-top: none; padding-top: 0; }
    .sadc-ges-pay-btn { flex: 0 0 auto; width: auto; padding: 10px 24px; }
}

@media (max-width: 700px) {
    .sadc-ges-entry-row { grid-template-columns: 1fr auto auto auto !important; }
    .sadc-ges-field-type { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .sadc-ges-nav { flex-direction: column; }
    .sadc-ges-tab { width: 100% !important; text-align: center; font-size: 16px !important; }
    .sadc-ges-entry-row { grid-template-columns: 1fr !important; gap: 6px; }
    .sadc-ges-field-type { grid-column: auto; }
    .sadc-ges-field-result { text-align: left; }
    .sadc-ges-field-actions { position: absolute; top: 10px; right: 10px; }
    .sadc-ges-entry-row { position: relative; padding: 14px 10px; background: var(--gray); border-radius: 0; border-bottom: none; margin-bottom: 8px; }
    .sadc-ges-section { padding: 16px; }
    .sadc-ges-section-totals { flex-direction: column; text-align: center; }
    .sadc-ges-total-price { font-size: 24px; }
    .sadc-ges-header h2 { font-size: 22px !important; }
    .sadc-ges-section-header { flex-direction: column; align-items: center; text-align: center; }
    .sadc-ges-section-icon { width: 40px !important; height: 40px !important; max-width: 40px !important; max-height: 40px !important; min-width: 40px; }
    .sadc-ges-method-choice { flex-direction: column; }
    .sadc-ges-radio-card { width: 100%; }
    .sadc-ges-check-card { width: 100%; }
    .sadc-ges-calc-panel-inner { flex-direction: column; }
    .sadc-ges-calc-field-wrap { min-width: 100%; }
    .sadc-ges-calc-btn { width: 100%; }
}


/* ================================================================
   EVENT PROMO FORM
   ================================================================ */
.sadc-ges-event-form {
    background: #f0f7ff;
    border: 1px solid #b3d4fc;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
}
.sadc-ges-event-info {
    font-size: 13px;
    color: #1a5276;
    margin: 0 0 10px 0;
    line-height: 1.4;
}
.sadc-ges-event-field {
    margin-bottom: 8px;
}
.sadc-ges-event-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}
.sadc-ges-event-field input {
    width: 100%;
    box-sizing: border-box;
}
.sadc-ges-event-success {
    background: #e8f5e9;
    border: 1px solid #69a517;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    text-align: center;
}
.sadc-ges-event-check {
    display: block;
    font-size: 32px;
    color: #69a517;
    margin-bottom: 6px;
}
.sadc-ges-event-success strong {
    display: block;
    font-size: 15px;
    color: #2e7d32;
    margin-bottom: 4px;
}
.sadc-ges-event-success p {
    font-size: 13px;
    color: #555;
    margin: 0;
}
.sadc-ges-pay-btn.event-mode {
    background: #0073aa; color: #fff; border-color: #0073aa;
}
.sadc-ges-pay-btn.event-mode:hover {
    background: #005a87; color: #fff; border-color: #005a87;
}

/* Event form mobile adjustments */
@media (max-width: 960px) {
    .sadc-ges-event-form { width: 100%; box-sizing: border-box; }
    .sadc-ges-event-success { width: 100%; box-sizing: border-box; }
    .sadc-ges-pay-btn.event-mode { width: 100%; }
    .sadc-ges-promo-section { width: 100%; }
}


/* Double counting warning */
.sadc-ges-warning-double {
    background: #fff8e1;
    border: 1px solid #f9a825;
    border-left: 4px solid #f9a825;
    color: #5d4037;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.5;
    margin: 8px 0 12px 0;
    border-radius: 0;
}

/* Recyclage radio cards (like check-cards but for radio) */
.sadc-ges-radio-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 2px solid var(--gray-border);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 6px;
}
.sadc-ges-radio-card:hover {
    border-color: var(--green);
}
.sadc-ges-radio-card.active {
    border-color: var(--green);
    background: var(--green-bg);
}
&
    accent-color: var(--green);
    width: 16px;
    height: 16px;
}

/* Force hide native radio inside radio-cards, use custom circle */
.sadc-ges-radio-card input[type=radio] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}
.sadc-ges-radio-card span {
    display: inline-flex;
    align-items: center;
}
.sadc-ges-radio-card span::before {
    content: '' !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    border: 2px solid #aaa;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    flex-shrink: 0;
    transition: all 0.2s;
    box-sizing: border-box;
    background: #fff;
}
.sadc-ges-radio-card.active span::before {
    border-color: #69a517 !important;
    background: radial-gradient(circle, #69a517 40%, transparent 45%) !important;
}

/* Intro details block */
.sadc-ges-intro-details {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}
.sadc-ges-intro-details ul {
    margin: 10px 0 10px 20px;
    padding: 0;
    list-style: disc;
}
.sadc-ges-intro-details li {
    margin-bottom: 4px;
}
.sadc-ges-intro-details p {
    margin-top: 12px;
    margin-bottom: 0;
}
