/* =====================================================
   NPADEV TOUR BOOKING – MAIN STYLESHEET
   =====================================================
   Table of Contents:
   1. ADMIN – SETTINGS PAGE
      1a. Tabs & Panels
      1b. Settings Fields Layout
      1c. Exchange Rates (Currency)
      1d. Time Slots (Tour edit screen)
      1e. FAQ Repeater (Tour edit screen)
      1f. Color Pickers & Copy Icon
   2. FRONTEND – TOUR LIST (SHORTCODE)
      2a. Tour Grid & Cards
      2b. Slider (none / fade / slide)
      2c. Thumbnail & Hover Effects
      2d. Book Now Button
      2e. Global Currency Switcher
   3. FRONTEND – SINGLE TOUR PAGE
      3a. Gallery & Description
      3b. Booking Form & Price
      3c. FAQ Accordion (2‑column support)
   4. RESPONSIVE MEDIA QUERIES
===================================================== */

/* =====================================================
   1. ADMIN – SETTINGS PAGE
   ===================================================== */
.elementor-widget-wrap,
.elementor-section,
.npadev-tour-grid {
    overflow-x: hidden !important;
    max-width: 100% !important;
}
/* 1a. Tabs & Panels */
.npadev-tabs {
    margin: 20px 0 0;
    border-bottom: 1px solid #ccc;
    display: flex;
    gap: 0;
}
.npadev-tab-button {
    background: #f1f1f1;
    border: 1px solid #ccc;
    border-bottom: none;
    padding: 8px 16px;
    cursor: pointer;
    margin-right: 5px;
    border-radius: 4px 4px 0 0;
    font-weight: 600;
}
.npadev-tab-button.active {
    background: #fff;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
}
.npadev-tab-panel {
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    padding: 20px;
    margin-bottom: 20px;
    display: none;
}
.npadev-tab-panel.active {
    display: block;
}

/* 1b. Settings Fields Layout */
.npadev-settings-field {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}
.npadev-settings-field > label {
    width: 200px;
    font-weight: 600;
    flex-shrink: 0;
}
.npadev-settings-field > div,
.npadev-settings-field > select,
.npadev-settings-field > input[type="text"],
.npadev-settings-field > input[type="number"],
.npadev-settings-field > input[type="email"] {
    max-width: 300px;
}
.npadev-settings-field .description {
    width: 100%;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}
body.admin_page_npadev_settings .wrap {
    max-width: 100%;
    overflow-x: hidden;
}
body.admin_page_npadev_settings .npadev-settings-field .description {
    margin-left: 195px;
    font-size: 12px;
    color: #666;
    width: 100%;
    margin-top: 5px;
}
body.admin_page_npadev_settings .npadev-rate-row .button {
    flex-shrink: 0;
}

/* 1c. Exchange Rates (Currency) */
#npadev_rates_container .npadev-rate-row {
    margin-bottom: 10px;
    gap: 15px;
}
#npadev_rates_container .npadev-rate-row select,
#npadev_rates_container .npadev-rate-row input {
    max-width: none !important;
    width: auto;
    flex: 0 1 auto;
}
.npadev-base-currency-field {
    flex-wrap: wrap;
}
.npadev-base-currency-field > label {
    width: 200px;
}
.npadev-base-currency-field > select {
    flex: 1;
    max-width: 300px;
    width: 100%;
}
.npadev-base-currency-field .description {
    margin-left: 0 !important;
    margin-top: 10px;
    width: 100%;
    padding-left: 215px;
    box-sizing: border-box;
}
.npadev-settings-field > div:has(#npadev_rates_container) {
    max-width: none !important;
}
#npadev_rates_container .npadev-rate-row {
    margin-bottom: 10px;
    gap: 15px;
}
#npadev_rates_container .npadev-rate-row select,
#npadev_rates_container .npadev-rate-row input {
    width: auto;
    max-width: none;
    flex: 0 1 auto;
}
body.admin_page_npadev_settings .npadev-rate-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 6px;
    background: #f9f9f9;
    border-radius: 4px;
}
body.admin_page_npadev_settings #npadev_rates_container {
    margin-bottom: 10px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px;
}
body.admin_page_npadev_settings .npadev-rate-row select,
body.admin_page_npadev_settings .npadev-rate-row input[type="text"],
body.admin_page_npadev_settings .npadev-rate-row input[type="number"] {
    max-width: 140px;
    margin: 0;
}
#npadev_add_rate {
    margin-top: 8px;
}

/* 1d. Time Slots (Tour edit screen) */
#npadev_time_slots_container .npadev-time-slot-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 12px;
}
.npadev-time-slot-day {
    flex: 0 0 auto;
}
#npadev_time_slots_container .npadev-time-slot-day select {
    width: 90%;
    min-width: 140px;
}
.npadev-time-slot-row select,
.npadev-time-slot-row input[type="time"],
.npadev-time-slot-row input[type="number"] {
    margin: 0;
    padding: 6px 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}
.npadev-time-slot-row label {
    margin-right: 0;
    font-weight: normal;
    color: #555;
    font-size: 12px;
}
.npadev-time-slot-row .button {
    margin-left: auto;
    background: #f0f0f0;
    border-color: #ccc;
}
#npadev_add_time_slot {
    margin-top: 8px;
}
.npadev-time-slot-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}
.npadev-time-slot-group label {
    margin: 0;
    font-weight: normal;
    color: #555;
    font-size: 12px;
}
.npadev-time-slot-group input {
    margin: 0;
    padding: 4px 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

/* 1e. FAQ Repeater (Tour edit screen) */
.npadev_faq_item {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
}
.npadev_faq_item input[type="text"],
.npadev_faq_item textarea {
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
    flex: 1;
    min-width: 200px;
}
.npadev_faq_item textarea {
    min-height: 80px;
}
.npadev_faq_item .button {
    margin-top: 5px;
    align-self: center;
    margin-left: auto;
    flex-shrink: 0;
}

/* 1f. Color Pickers & Copy Icon */
.npadev-radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
}
.npadev-radio-group label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}
.npadev-color-input-wrapper {
    position: relative;
    display: inline-block;
}
.npadev-color-value {
    padding-right: 28px !important;
    width: 140px;
}
.npadev-copy-color {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 16px;
    transition: color 0.2s;
    display: none;
}
.npadev-color-input-wrapper:hover .npadev-copy-color {
    display: block;
}
.npadev-copy-color:hover {
    color: #0073aa;
}
.npadev-color-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.npadev-spectrum-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #ccc;
    box-shadow: 0 0 0 1px #fff, 0 0 0 2px #ddd;
}
.sp-replacer {
    display: none !important;
}
.sp-container {
    z-index: 10000;
}
.npadev-color-input-wrapper .npadev-copy-color {
    display: none !important;
}
.npadev-color-input-wrapper:hover .npadev-copy-color {
    display: inline-block !important;
}
.npadev-copy-notification {
    pointer-events: none;
    font-family: monospace;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* =====================================================
   2. FRONTEND – TOUR LIST (SHORTCODE)
   ===================================================== */

/* 2a. Tour Grid & Cards */
.npadev-tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.npadev-tour-card {
    border: 1px solid #ddd;
    background: #fff;
}
/* Make duration and max-people appear on the same line */
.npadev-tour-card .duration,
.npadev-tour-card .max-people,
.npadev-tour-card .location {
    display: inline-block;
    margin-right: 15px;
}

/* Center the price */
.npadev-tour-card .price {
    text-align: center;
}
.npadev-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.npadev-card-link:hover h3 {
    text-decoration: underline;
}

/* =====================================================
   2b. Slider (none / fade / slide)
   ===================================================== */
.npadev-tour-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.npadev-slider {
    position: relative;
    height: 100%;
    overflow: hidden;
}
.npadev-slider-inner {
    position: relative;
    height: 100%;
}
/* Base image styling – all images stacked */
.npadev-slider-inner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ---------- NONE effect (instant replace) ---------- */
.npadev-slider.none-effect .npadev-slider-inner img {
    opacity: 0;
    transition: none;
}
.npadev-slider.none-effect .npadev-slider-inner img.active {
    opacity: 1;
}
/* ---------- FADE effect ---------- */
.npadev-slider.fade-effect .npadev-slider-inner img {
    opacity: 0;
    transition: opacity 0.5s ease;
}
.npadev-slider.fade-effect .npadev-slider-inner img.active {
    opacity: 1;
}
/* ---------- SLIDE effect ---------- */
.npadev-slider.slide-effect .npadev-slider-inner img {
    transform: translateX(100%);
    opacity: 1;
    transition: transform 0.5s ease;
}
.npadev-slider.slide-effect .npadev-slider-inner img.active {
    transform: translateX(0);
}

/* 2c. Thumbnail & Hover Effects */
.npadev-tour-thumbnail > img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.npadev-tour-card:hover .npadev-slider-inner img,
.npadev-tour-card:hover .npadev-tour-thumbnail > img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.npadev-tour-thumbnail {
    overflow: hidden;
}

/* 2d. Book Now Button */
.npadev-book-btn {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    background: #0073aa;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
    transition: background 0.2s, color 0.2s;
}
.npadev-book-btn:hover {
    background: #005a87;
    color: white !important;
}

/* 2e. Global Currency Switcher */
.npadev-global-currency {
    margin-bottom: 20px;
    width: 100%;
    clear: both;
    max-width: 100%;
    overflow-x: hidden;
}
.npadev-global-currency select {
    max-width: 100%;
}
/* =====================================================
   3. FRONTEND – SINGLE TOUR PAGE
   ===================================================== */

/* 3.1 – Hero Header (full width) */
.npadev-single-header {
    position: relative;
    width: 99.5vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 350px;
    background-size: cover;
    background-position: center;
    margin-bottom: 30px;
}
.npadev-single-header .npadev-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.npadev-single-header h1 {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-align: center;
    line-height: 350px;
    margin: 0;
    font-size: 48px;
}

/* 3.2 – Breadcrumbs */
.npadev-breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}
.npadev-breadcrumbs a {
    text-decoration: none;
    color: #0073aa;
}
.npadev-breadcrumbs a:hover {
    text-decoration: underline;
}

/* 3.3 – Gallery Slider */
.npadev-gallery-slider .npadev-slider {
    height: 400px;
    margin-bottom: 30px;
    overflow: hidden;
}
.npadev-gallery-slider img {
    max-width: 100%;
    height: auto;
}

/* 3.4 – Tour Description */
.npadev-description {
    margin: 20px 0;
    line-height: 1.8;
    font-size: 20px;
    color: #ffffff;
}

/* 3.5 – Tour Location (icon + text) */
.npadev-single-tour .meta-icon {
    margin-right: 6px;
}

/* =====================================================
   3.6 – FAQ Accordion (2‑column support)
   ===================================================== */

/* Main FAQ container */
.npadev-tour-faq {
    margin: 40px 0;
}

/* FAQ title */
.npadev-tour-faq h3 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

/* Individual FAQ item card */
.npadev-tour-faq-item {
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

/* Question (clickable) */
.npadev-tour-faq-question {
    cursor: pointer;
    font-weight: 600;
    background: #f5f5f5;
    padding: 14px 20px;
    margin: 0;
    transition: background 0.2s;
}

.npadev-tour-faq-question:hover {
    background: #e9e9e9;
}
.npadev-tour-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Answer (hidden by default) */
.npadev-tour-faq-answer {
    padding: 15px 20px;
    background: #ffffff;
    border-top: 1px solid #eee;
    line-height: 1.5;
    display: none;
}

/* Open state toggled by JavaScript */
.npadev-tour-faq-answer.npadev-tour-faq-answer-open {
    display: block;
}

/* Two‑column grid layout – applied to the wrapper container */
.npadev-tour-faq-2col {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;
}

/* Ensure the FAQ title spans both columns in two‑column mode */
.npadev-tour-faq-2col h3 {
    grid-column: 1 / -1;
    margin-bottom: 10px;
}

/* Remove extra margins inside the grid items */
.npadev-tour-faq-2col .npadev-tour-faq-item {
    margin: 0;
}


/* 3.7 – Calendars (Year Selector + Grid) */
.npadev-calendar-controls {
    margin: 30px 0 20px;
    text-align: center;
}
#npadev-year-select {
    padding: 6px 12px;
    font-size: 16px;
    margin-left: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}
.npadev-calendars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}
.npadev-calendar {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    overflow-x: auto;
}

.npadev-calendar table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.npadev-calendar th,
.npadev-calendar td {
    width: 14.285%;   /* 100% / 7 days */
    text-align: center;
    padding: 8px 4px;
    box-sizing: border-box;
    word-break: keep-all;
}
.npadev-calendar h4 {
    text-align: center;
    margin: 0 0 15px;
    font-size: 18px;
    font-weight: 600;
    color: #222;
}
.npadev-calendar th {
    padding: 8px;
    text-align: center;
    font-weight: 600;
    color: #555;
    background: #f8f9fa;
}
.npadev-calendar td {
    padding: 8px;
    text-align: center;
    border-radius: 6px;
    transition: all 0.2s;
}
.npadev-calendar td.available {
    background: #e0f7fa;
    cursor: pointer;
    font-weight: 500;
    color: #006064;
}
.npadev-calendar td.available:hover {
    background: #b2ebf2;
    transform: scale(1.02);
}
.npadev-calendar td.disabled {
    background: #f5f5f5;
    color: #bbb;
    cursor: not-allowed;
}
.npadev-calendar td.selected {
    background: #0073aa;
    color: white;
}

/* 3.8 – Time Slots Container */
#npadev-time-slots-container {
    margin: 25px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}
#npadev-time-slots-container h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
}
#npadev-time-slots-list div {
    margin-bottom: 12px;
    background: #ffffff;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.2s;
}
#npadev-time-slots-list div:hover {
    background: #fef9e6;
}
#npadev-time-slots-list input[type="radio"] {
    margin-right: 12px;
    accent-color: #0073aa;
    transform: scale(1.1);
}
#npadev-time-slots-list label {
    font-weight: normal;
    cursor: pointer;
}

/* 3.9 – Price Box & Currency Switcher */
.npadev-price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0f4f8;
    padding: 20px 25px;
    border-radius: 16px;
    margin: 30px 0;
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.npadev-price-large {
    font-size: 38px;
    font-weight: bold;
    color: #1e3c72;
}
.npadev-currency-switcher {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    padding: 8px 15px;
    border-radius: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.npadev-currency-switcher label {
    margin: 0;
    font-weight: 500;
}
#npadev-currency-switcher {
    padding: 6px 10px;
    border-radius: 30px;
    border: 1px solid #ccc;
    background: white;
    font-size: 14px;
    cursor: pointer;
}

/* 3.10 – Booking Form */
#npadev-booking-form {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    margin: 20px 0;
}
#npadev-booking-form p {
    margin-bottom: 18px;
}
#npadev-booking-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}
/* Style the number input spinner */
#npadev-spots {
    appearance: textfield; /* Firefox: remove default arrows to customise */
    -moz-appearance: textfield;
}
/* Chrome, Safari, Edge, Opera – increase arrow size and spacing */
#npadev-spots::-webkit-inner-spin-button,
#npadev-spots::-webkit-outer-spin-button {
    opacity: 1;
    height: 24px;
    width: 20px;
    margin-left: 8px;
    transform: scale(1.2);
    cursor: pointer;
}
/* Optional: style on hover */
#npadev-spots::-webkit-inner-spin-button:hover,
#npadev-spots::-webkit-outer-spin-button:hover {
    background-color: #e0e0e0;
    border-radius: 3px;
}
/* Firefox – increase arrow size via font-size trick */
@-moz-document url-prefix() {
    #npadev-spots {
        font-size: 16px;
    }
}
#npadev-booking-form input[type="text"],
#npadev-booking-form input[type="email"],
#npadev-booking-form input[type="tel"],
#npadev-booking-form input[type="number"] {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border 0.2s;
    background-color: #e1e1e1;
    color:#000000;
}

#npadev-booking-form input::placeholder {
    color: #888;        
    font-style: italic;  
    font-size: 14px;    
    opacity: 0.7;     
}
#npadev-booking-form input::-webkit-input-placeholder { /* Chrome, Safari, Edge */
    color: #999;
    font-size: 14px;
}

#npadev-booking-form input:-ms-input-placeholder { /* IE 10-11 */
    color: #999;
    font-size: 14px;
}

#npadev-booking-form input::-ms-input-placeholder { /* MS Edge */
    color: #999;
    font-size: 14px;
}
#npadev-booking-form input:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.2);
}
/* Total price display */
#npadev-booking-form p:last-of-type {
    font-size: 20px;
    font-weight: bold;
    background: #eef2fa;
    border-radius: 10px;
    display: block;
}

#npadev-total-amount {
    font-size: 46px;
    color: #50d32f;
}
#npadev-total-currency {
    font-size: 20px;
    font-weight: normal;
    color: #000000;
}

/* 3.11 – Proceed Button (PayPal) */
.npadev-pay-btn {
    background: #39b6ff;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: bold;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.npadev-pay-btn:hover {
    background: #0089fa;
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.npadev-invalid {
    border-color: #d32f2f !important;
    background-color: #fff5f5 !important;
}

.npadev-error-msg {
    margin-top: 4px;
    font-size: 12px;
    color: #d32f2f;
}

.npadev-pay-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 3.12 – General text/icons inside single tour */
.npadev-single-tour .meta-icon {
    color: #666;
    font-size: 14px;
    margin-right: 5px;
}
/* Hide page title on single tour pages */
body:has(.npadev-single-tour) .entry-title,
body:has(.npadev-single-tour) .page-title,
.npadev-single-tour ~ .entry-title,
.npadev-single-tour + .entry-title {
    display: none;
}
/* Center the booking form */
#npadev-booking-form.npadev-centered-form {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    margin-bottom: 100px;
}

/* Price row inside form */
.npadev-form-price-row {
    text-align: center;
    margin-bottom: 15px;
    color:#000000;
}
.npadev-big-price {
    font-size: 48px;
    font-weight: bold;
    color: #1e3c72;
}
.npadev-big-currency {
    font-size: 28px;
    font-weight: normal;
    margin-left: 5px;
    color:#000000;
}

/* Currency selector row */
.npadev-form-currency-row {
    text-align: center;
    margin-bottom: 25px;
}
.npadev-form-currency-row label {
    font-weight: 500;
    margin-right: 8px;
}
#npadev-currency-switcher {
    padding: 6px 12px;
    border-radius: 30px;
    border: 1px solid #ccc;
    background: white;
    font-size: 14px;
    cursor: pointer;
    color: #000000;
}

/* Total price row */
.npadev-form-total-row {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    background: #eef2fa;
    padding: 12px 15px;
    border-radius: 10px;
    margin: 20px 0;
    color:#000000;
}
.npadev-total-price {
    font-size: 32px;
    color: #d32f2f;
}
.npadev-total-currency {
    font-size: 20px;
    font-weight: normal;
}

/* Large PayPal button */
.npadev-large-btn {
    display: block;
    width: 100%;
    text-align: center;
    color: #ffffff;
    padding: 16px 24px;
    font-size: 20px;
    border-radius: 50px;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}
.npadev-large-btn:hover {
    transform: scale(1.02);
}
/*
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}
.blinking-dot {
    animation: blink 1s step-start infinite;
}
    */
/* =====================================================
   TOUR INFO CARD (single tour page)
   ===================================================== */
.npadev-tour-info-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 24px 20px;
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border: 1px solid #eef2f6;
}

.npadev-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: #f8fafc;
    padding: 12px 20px;
    border-radius: 60px;
    flex: 1;
    min-width: 180px;
    justify-content: center;
    transition: all 0.2s ease;
}

.npadev-info-item:hover {
    background: #eef2ff;
    transform: translateY(-2px);
}

.npadev-info-item i {
    font-size: 28px;
    color: #0073aa;
    width: 32px;
    text-align: center;
}

.npadev-info-label {
    font-weight: 600;
    color: #334155;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.npadev-info-value {
    font-weight: 700;
    color: #0f172a;
    font-size: 18px;
}

.npadev-info-separator {
    color: #94a3b8;
    font-weight: 400;
    margin: 0 5px;
}
.npadev-info-stack {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.npadev-info-stack i {
    margin-top: 4px;
}
.npadev-info-stack-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.npadev-info-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.npadev-info-row .npadev-info-label {
    min-width: 100px;
}
/* Responsive */
@media (max-width: 768px) {
    .npadev-tour-info-card {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }
    .npadev-info-item {
        justify-content: flex-start;
        width: 100%;
    }
    .npadev-info-item i {
        font-size: 24px;
    }
    .npadev-info-value {
        font-size: 16px;
    }
}
/* =====================================================
   CUSTOM DROPDOWNS (SETTINGS ICON SELECTORS)
   ===================================================== */
.npadev-custom-dropdown {
    position: relative;
    display: inline-block;
    min-width: 220px;
}
.npadev-custom-dropdown-display {
    background: #fff;
    border: 1px solid #ccc;
    padding: 6px 30px 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}
.npadev-custom-dropdown-display .dropdown-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}
.npadev-custom-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 240px;
    overflow-y: auto;
    z-index: 99;
    display: none;
}
.npadev-custom-dropdown-item {
    padding: 6px 12px;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}
.npadev-custom-dropdown-item:hover {
    background: #f0f0f0;
}
.npadev-custom-dropdown-item.active {
    background: #e0f0ff;
}
.npadev-custom-dropdown-item i {
    margin-right: 6px;
}
.npadev-custom-dropdown {
    min-width: 260px;      /* wider default */
}
.npadev-custom-dropdown-list .npadev-custom-dropdown-item {
    white-space: nowrap;
    gap: 12px;
}
.npadev-custom-dropdown-display .selected-icon i {
    margin: 0 2px;
    font-size: 14px;
}
/* TAB 5: FAQ ICON DROPDOWN – MATCH INPUT TO OPTIONS CONTAINER WIDTH */
#tab5 .npadev-settings-field > div {
    max-width: none !important;
    width: auto;
}
#tab5 .npadev-custom-dropdown {
    min-width: 400px;           /* wide enough for the longest option */
    max-width: none;
    width: auto;
}
#tab5 .npadev-custom-dropdown-display {
    width: 100%;                /* fill the .npadev-custom-dropdown width */
    box-sizing: border-box;
}
#tab5 .npadev-custom-dropdown-list {
    width: 100%;                /* match the dropdown’s width */
    min-width: 100%;
    white-space: nowrap;
}
#tab5 .npadev-custom-dropdown-item {
    white-space: nowrap;
}
/* Fully booked date cells */
.npadev-calendar td.fully-booked {
    background: #ffcccc !important;
    color: #aa0000 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

/* Selected date highlight */
.npadev-calendar td.selected {
    background: #0073aa !important;
    color: #ffffff !important;
    box-shadow: inset 0 0 0 2px #ffffff;
}

/* Override hover for fully booked */
.npadev-calendar td.fully-booked:hover {
    transform: none;
    background: #ffcccc !important;
}
/* Override theme's site-main padding on tour details page */
body.npadev-tour-details-page .site-main {
    padding-top: 0 !important;
}
/* =====================================================
   4. RESPONSIVE MEDIA QUERIES
   ===================================================== */
@media (max-width: 768px) {
    .npadev-tour-faq-2col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .npadev-big-price {
        font-size: 36px;
    }
    .npadev-big-currency {
        font-size: 22px;
    }
    .npadev-total-price {
        font-size: 28px;
    }
    #npadev-booking-form.npadev-centered-form {
        padding: 20px;
    }
}
@media (max-width: 782px) {
    /* Time slots stack on mobile */
    .npadev-time-slot-row {
        flex-direction: column;
        align-items: stretch;
    }
    .npadev-time-slot-row .button {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    .npadev-time-slot-row select,
    .npadev-time-slot-row input {
        width: 100%;
    }
    .npadev-time-slot-group {
        justify-content: space-between;
    }
    /* FAQ items stack */
    .npadev_faq_item {
        flex-direction: column;
    }
    .npadev_faq_item .button {
        margin-left: 0;
        width: 100%;
    }
    /* Settings page exchange rates – smaller inputs */
    body.admin_page_npadev_settings .npadev-rate-row select,
    body.admin_page_npadev_settings .npadev-rate-row input[type="text"],
    body.admin_page_npadev_settings .npadev-rate-row input[type="number"] {
        max-width: 110px;
    }
}
@media (max-width: 768px) {
.npadev-single-header {
    height: 250px;
}
.npadev-single-header h1 {
    font-size: 32px;
    line-height: 1.2;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
    .npadev-price-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .npadev-currency-switcher {
        margin-left: 0;
    }
    .npadev-calendars-grid {
    grid-template-columns: 1fr;  /* 1 column on mobile */
    gap: 20px;
}

.npadev-calendar {
    overflow-x: auto;
}
}