/* ATV Booking - Public Styles v4 - scoped to wrapper */

/* ── Reset scope ──────────────────────────────────────────────── */
#atv-booking-form-wrapper,
#atv-booking-form-wrapper * {
    box-sizing: border-box;
}

/* ── Variables via direct colors (no CSS vars - theme compatibility) ── */

/* ── Wrapper ──────────────────────────────────────────────────── */
#atv-booking-form-wrapper {
    max-width: 800px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #2c2c2c;
    line-height: 1.5;
}

/* ── Header ───────────────────────────────────────────────────── */
#atv-booking-form-wrapper .atv-booking-header {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(135deg, #1a2e1a 0%, #2d6a2d 100%) !important;
    border-radius: 10px;
    color: #ffffff;
    margin-bottom: 22px;
}
#atv-booking-form-wrapper .atv-booking-header h2 {
    font-size: 1.7rem !important;
    font-weight: 800 !important;
    margin: 0 0 8px !important;
    color: #ffffff !important;
    letter-spacing: .5px;
    text-transform: uppercase;
    background: none !important;
}
#atv-booking-form-wrapper .atv-booking-header p {
    color: rgba(255,255,255,.78) !important;
    font-size: .95rem;
    margin: 0;
}

/* ── Section card ─────────────────────────────────────────────── */
#atv-booking-form-wrapper .atv-form-section {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px;
    padding: 26px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.07);
    margin-bottom: 0;
}

/* ── Section title ────────────────────────────────────────────── */
#atv-booking-form-wrapper .atv-section-title {
    display: flex !important;
    align-items: center;
    gap: 11px;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 0 20px !important;
    padding-bottom: 13px;
    border-bottom: 2px solid #2d6a2d !important;
}
#atv-booking-form-wrapper .atv-step-num {
    width: 28px !important;
    height: 28px !important;
    background: #2d6a2d !important;
    color: #fff !important;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}

/* ── Grid ─────────────────────────────────────────────────────── */
#atv-booking-form-wrapper .atv-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
#atv-booking-form-wrapper .atv-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}
#atv-booking-form-wrapper .atv-form-group:last-child { margin-bottom: 0; }
#atv-booking-form-wrapper .atv-form-group label {
    font-size: .85rem !important;
    font-weight: 600 !important;
    color: #333 !important;
}
#atv-booking-form-wrapper .atv-required { color: #e74c3c; }
#atv-booking-form-wrapper .atv-field-hint { font-size: .76rem; color: #777; }

/* ── Inputs ───────────────────────────────────────────────────── */
#atv-booking-form-wrapper .atv-input,
#atv-booking-form-wrapper .atv-select,
#atv-booking-form-wrapper .atv-textarea {
    padding: 10px 13px !important;
    border: 1.5px solid #d0d0d0 !important;
    border-radius: 6px !important;
    font-size: .93rem !important;
    color: #2c2c2c !important;
    background: #ffffff !important;
    width: 100% !important;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}
#atv-booking-form-wrapper .atv-input:focus,
#atv-booking-form-wrapper .atv-select:focus,
#atv-booking-form-wrapper .atv-textarea:focus {
    border-color: #2d6a2d !important;
    box-shadow: 0 0 0 3px rgba(45,106,45,.12) !important;
}
#atv-booking-form-wrapper .atv-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 32px !important;
}
#atv-booking-form-wrapper .atv-textarea { resize: vertical; min-height: 80px; }
#atv-booking-form-wrapper .atv-input[type="date"] { cursor: pointer; }

/* ── Tour info bar ────────────────────────────────────────────── */
#atv-booking-form-wrapper .atv-tour-info {
    display: flex; gap: 18px; flex-wrap: wrap;
    margin-top: 8px; padding: 9px 13px;
    background: rgba(45,106,45,.08) !important;
    border-radius: 6px;
    border-left: 3px solid #2d6a2d !important;
}
#atv-booking-form-wrapper .atv-tour-info span {
    font-size: .85rem !important;
    color: #1e4d1e !important;
    font-weight: 600 !important;
}

/* ── Quads available info ─────────────────────────────────────── */
#atv-booking-form-wrapper .atv-quads-info {
    margin-top: 7px; padding: 7px 11px;
    background: rgba(39,174,96,.1) !important;
    border-radius: 6px;
    font-size: .82rem !important;
    color: #1e7e34 !important;
    font-weight: 600 !important;
    border: none !important;
}

/* ── Person counter ───────────────────────────────────────────── */
#atv-booking-form-wrapper .atv-number-input {
    display: inline-flex !important;
    align-items: center;
    border: 1.5px solid #d0d0d0 !important;
    border-radius: 6px;
    overflow: hidden;
    width: 140px;
    background: #fff;
}
#atv-booking-form-wrapper .atv-num-btn {
    width: 40px !important;
    height: 42px !important;
    border: none !important;
    background: #f5f5f5 !important;
    font-size: 1.2rem !important;
    cursor: pointer;
    color: #333 !important;
    flex-shrink: 0;
    transition: background .2s, color .2s;
    padding: 0;
    line-height: 1;
}
#atv-booking-form-wrapper .atv-num-btn:hover {
    background: #2d6a2d !important;
    color: #fff !important;
}
#atv-booking-form-wrapper .atv-num-field {
    flex: 1 !important;
    border: none !important;
    border-left: 1px solid #e0e0e0 !important;
    border-right: 1px solid #e0e0e0 !important;
    text-align: center !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    padding: 10px 4px !important;
    background: #fff !important;
    width: auto !important;
    box-shadow: none !important;
    outline: none !important;
}

/* ── Quads selector ───────────────────────────────────────────── */
#atv-booking-form-wrapper .atv-quads-selector {
    background: #f7f7f7 !important;
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 8px;
    padding: 14px;
}
#atv-booking-form-wrapper .atv-quads-selector-label {
    font-size: .75rem !important;
    font-weight: 700 !important;
    color: #666 !important;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 10px;
    display: block;
}
#atv-booking-form-wrapper .atv-quads-btns {
    display: flex !important;
    flex-wrap: wrap;
    gap: 7px;
}
#atv-booking-form-wrapper .atv-quad-btn {
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 10px !important;
    border: 1.5px solid #d0d0d0 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    font-size: .95rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    color: #333 !important;
    transition: all .18s;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: inherit;
    line-height: 1;
}
#atv-booking-form-wrapper .atv-quad-btn:hover {
    border-color: #2d6a2d !important;
    color: #2d6a2d !important;
    background: rgba(45,106,45,.06) !important;
}
#atv-booking-form-wrapper .atv-quad-btn.active {
    background: #2d6a2d !important;
    border-color: #2d6a2d !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(45,106,45,.35) !important;
}
#atv-booking-form-wrapper .atv-quads-hint {
    margin-top: 9px;
    font-size: .78rem;
    color: #777;
    line-height: 1.4;
    display: block;
}

/* ── Price breakdown ──────────────────────────────────────────── */
#atv-booking-form-wrapper .atv-price-breakdown {
    margin-top: 10px; padding: 10px 13px;
    background: rgba(45,106,45,.07) !important;
    border-radius: 6px;
    border-left: 3px solid #2d6a2d !important;
    font-size: .83rem !important;
    color: #1e4d1e !important;
    line-height: 1.5;
}

/* ── Price summary dark box ───────────────────────────────────── */
#atv-booking-form-wrapper .atv-price-summary {
    background: #1a1a1a !important;
    border-radius: 10px;
    padding: 18px 22px;
    margin-top: 18px;
    color: #ffffff !important;
    border: none !important;
}
#atv-booking-form-wrapper .atv-price-row {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    font-size: .88rem !important;
    color: #ffffff !important;
}
#atv-booking-form-wrapper .atv-price-row:last-child {
    border-bottom: none !important;
    padding-bottom: 0;
}
#atv-booking-form-wrapper .atv-price-total {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #e67e22 !important;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid rgba(255,255,255,.12) !important;
    border-bottom: none !important;
}

/* ── Submit section ───────────────────────────────────────────── */
#atv-booking-form-wrapper .atv-form-submit { text-align: center; }
#atv-booking-form-wrapper .atv-terms-check { margin-bottom: 18px; text-align: left; }
#atv-booking-form-wrapper .atv-checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 9px;
    cursor: pointer;
    font-size: .85rem !important;
    color: #666 !important;
}
#atv-booking-form-wrapper .atv-checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    width: auto !important;
    flex-shrink: 0;
    accent-color: #2d6a2d;
}
#atv-booking-form-wrapper .atv-btn-submit {
    background: linear-gradient(135deg, #2d6a2d, #1e4d1e) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 15px 46px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    text-transform: uppercase;
    letter-spacing: .8px;
    box-shadow: 0 4px 14px rgba(45,106,45,.4) !important;
    font-family: inherit;
    transition: all .22s;
    display: inline-block !important;
}
#atv-booking-form-wrapper .atv-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45,106,45,.5) !important;
}
#atv-booking-form-wrapper .atv-btn-submit:disabled {
    background: #aaa !important;
    box-shadow: none !important;
    transform: none;
    cursor: not-allowed !important;
}

/* ── Secure/Monri note ────────────────────────────────────────── */
#atv-booking-form-wrapper .atv-secure-note {
    margin-top: 13px;
    display: flex; align-items: center; justify-content: center;
    gap: 8px; flex-wrap: wrap;
    font-size: .8rem; color: #777;
}
#atv-booking-form-wrapper .atv-monri-badge {
    display: inline-flex; align-items: center; gap: 5px;
    background: #f0f7f0 !important;
    border: 1px solid #b8d8b8 !important;
    border-radius: 20px;
    padding: 4px 11px;
    font-size: .78rem; font-weight: 600;
    color: #1e4d1e !important;
}

/* ── Messages ─────────────────────────────────────────────────── */
#atv-booking-form-wrapper .atv-messages {
    padding: 13px 17px;
    border-radius: 8px;
    font-weight: 500; font-size: .9rem;
    margin-top: 4px;
}
#atv-booking-form-wrapper .atv-messages.atv-success {
    background: rgba(39,174,96,.1) !important;
    border: 1px solid #27ae60 !important;
    color: #1e7e34 !important;
}
#atv-booking-form-wrapper .atv-messages.atv-error {
    background: rgba(231,76,60,.1) !important;
    border: 1px solid #e74c3c !important;
    color: #c0392b !important;
}
#atv-booking-form-wrapper .atv-inline-msg {
    margin-top: 7px; padding: 8px 12px;
    border-radius: 6px; font-size: .84rem; font-weight: 500;
}
#atv-booking-form-wrapper .atv-inline-error {
    background: #fde8e8 !important;
    border-left: 3px solid #e74c3c !important;
    color: #c0392b !important;
}
#atv-booking-form-wrapper .atv-inline-warning {
    background: #fff8e1 !important;
    border-left: 3px solid #f39c12 !important;
    color: #b7770d !important;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 580px) {
    #atv-booking-form-wrapper .atv-two-col { grid-template-columns: 1fr; }
    #atv-booking-form-wrapper .atv-booking-header h2 { font-size: 1.3rem !important; }
    #atv-booking-form-wrapper .atv-form-section { padding: 18px 15px; }
    #atv-booking-form-wrapper .atv-btn-submit { padding: 14px 28px !important; }
}

/* EUR price row */
#atv-booking-form-wrapper .atv-price-eur {
    font-size: .82rem !important;
    color: rgba(255,255,255,.6) !important;
    border-bottom: none !important;
    padding-top: 4px !important;
    padding-bottom: 0 !important;
    font-style: italic !important;
}

/* cache-bust: 1777026463 */
