/* Sicily Schedule Section - Desktop only */
#sicily-schedule-section {
    display: none;
}

@media only screen and (min-width: 601px) {
    #sicily-schedule-section {
        display: block;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1.5rem 3rem;
        box-sizing: border-box;
    }
}

.sicily-schedule-inner {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    height: 600px;
    display: flex;
}

/* Left panel - images */
.sicily-schedule-left {
    flex: 0 0 35%;
    box-sizing: border-box;
    min-width: 0;
    position: relative;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.sicily-schedule-slideshow {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.sicily-schedule-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.sicily-schedule-slide.active {
    opacity: 1;
}

.sicily-schedule-badge {
    position: absolute;
    z-index: 1;
    width: 100px;
    bottom: 105px;
    right: -30px;
}

/* Right panel - content */
.sicily-schedule-right {
    flex: 0 0 65%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 60px 45px 30px;
    position: relative;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
    min-width: 0;
    --swiper-navigation-size: 21px;
    --swiper-theme-color: black;
}

.sicily-schedule-right * {
    box-sizing: border-box;
}

@media only screen and (min-width: 800px) and (max-width: 1024px) {
    .sicily-schedule-left {
        flex: 0 0 45%;
    }
    .sicily-schedule-right {
        flex: 0 0 55%;
    }
}

@media only screen and (min-width: 1025px) {
    .sicily-schedule-left {
        flex: 0 0 50%;
    }
    .sicily-schedule-right {
        flex: 0 0 50%;
    }
}

.sicily-schedule-right > h2 {
    font-family: "Roboto Condensed", arial, sans-serif;
    font-size: 28px;
    color: #000;
    text-align: center;
    line-height: 1;
    margin: 0 0 5px 0;
    font-weight: 400;
}

/* Swiper container */
.sicily-schedule-swiper-container {
    width: 100%;
    flex: 1;
    min-height: 0;
}

.sicily-schedule-swiper-container .swiper {
    height: 100%;
}

.sicily-schedule-right .swiper-slide {
    display: flex;
    flex-direction: column;
    padding: 0px 15px 15px 15px;
}

/* Back button */
.sicily-schedule-back {
    position: absolute;
    top: 77px;
    left: 20px;
    width: 27px;
    cursor: pointer;
    z-index: 10;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sicily-schedule-back.swiper-button-disabled {
    display: none;
}

.sicily-schedule-back:hover {
    color: #007aff;
}

/* Steps */
.sicily-schedule-step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sicily-schedule-subtitle {
    font-family: "Roboto Condensed", arial, sans-serif;
    font-size: 22px;
    font-weight: 300;
    text-align: center;
    margin: 0 0 40px 0;
}

/* Date list */
.sicily-schedule-dates-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 300px;
    align-items: center;
}

/* Shared radio/checkbox label styles */
#sicily-schedule-section label.container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 40px;
    margin-bottom: 13px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    color: #333;
    font-family: "Roboto Condensed", arial, sans-serif;
    font-weight: 350;
    font-size: 16px;
    min-height: 25px;
    width: 100%;
    box-sizing: border-box;
}

#sicily-schedule-section label.container:last-of-type {
    margin-bottom: 0;
}

#sicily-schedule-section label.container input[type="radio"],
#sicily-schedule-section label.container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

#sicily-schedule-section label.container .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #efefef;
    border-radius: 50%;
    transition-duration: 0.3s;
}

#sicily-schedule-section label.container:not(.disabled):hover:not(:has(.sicily-schedule-flight-link:hover)) input ~ .checkmark {
    background-color: #ddd;
    transform: scale(1.25);
}

#sicily-schedule-section label.container .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    top: 5px;
    left: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #007aff;
}

#sicily-schedule-section label.container input:checked ~ .checkmark::after {
    display: block;
}

/* Disabled (full) dates */
#sicily-schedule-section label.container.disabled {
    cursor: default;
}

#sicily-schedule-section label.container.disabled .checkmark {
    background-color: #f5f5f5;
}

#sicily-schedule-section label.container.disabled .checkmark::after {
    content: '';
    position: absolute;
    top: 9px;
    left: 9px;
    transform: none;
    width: 8px;
    height: 8px;
    background: red;
    border-radius: 50%;
    display: block !important;
}

#sicily-schedule-section label.container.disabled:hover .checkmark {
    background-color: #f5f5f5;
    transform: none;
}

/* Fixed package (always checked) */
#sicily-schedule-section label.container.fixed {
    cursor: default;
}

#sicily-schedule-section label.container.fixed .checkmark::after {
    display: block;
}

/* Date row layout */
.sicily-schedule-date-info {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}

.sicily-schedule-date-text {
    flex: 1;
    white-space: nowrap;
    font-weight: 500;
}

.sicily-schedule-date-availability {
    color: #666;
    flex-shrink: 0;
    margin-left: 8px;
}

.sicily-schedule-avail-low {
    font-weight: 500;
}

/* Flight links */
.sicily-schedule-flight-links {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
    margin-left: 30px;
}

.sicily-schedule-flight-link {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    text-decoration: none;
    color: #555;
    background: #efefef;
    border-radius: 50%;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.sicily-schedule-flight-link:hover {
    background: #ddd;
    color: #007aff;
    transform: scale(1.25);
}

.sicily-schedule-flight-icon {
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
}

.sicily-schedule-transfer-info {
    font-family: "Roboto Condensed", arial, sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
    text-align: center;
    margin: 30px 0 0 0;
}

/* Step 2: Configure & price */
.sicily-schedule-config-inner {
    width: 100%;
    max-width: 280px;
    padding-top: 5px;
    flex: 1;
    align-self: center;
}

.sicily-schedule-config-header {
    text-align: center;
    margin-bottom: 32px;
}

.sicily-schedule-config-title {
    display: block;
    font-family: "Roboto Condensed", arial, sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #000;
    line-height: 1.2;
}

.sicily-schedule-chosen-date {
    display: block;
    font-family: "Roboto Condensed", arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #666;
}

.sicily-schedule-config-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    font-family: "Roboto Condensed", arial, sans-serif;
    font-size: 16px;
    color: #333;
}

.sicily-schedule-config-label {
    font-weight: 500;
    color: #000;
}

.sicily-schedule-avail-row {
    justify-content: flex-start;
    margin-bottom: 4px;
}

.sicily-schedule-persons-row {
    justify-content: flex-start;
    gap: 44px;
}

.sicily-schedule-persons-row .sicily-schedule-stepper {
    margin-left: 40px;
}

.sicily-schedule-config-block {
    margin-top: 28px;
    margin-bottom: 14px;
}

.sicily-schedule-config-block-label {
    margin-bottom: 8px;
}

.sicily-schedule-accommodation-list {
    display: flex;
    flex-direction: column;
}

#sicily-schedule-section .sicily-schedule-config label.container {
    margin-bottom: 12px;
    align-items: center;
}

.sicily-schedule-acc-label {
    display: inline;
    font-family: "Roboto Condensed", arial, sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.3;
}

.sicily-schedule-acc-label strong {
    font-weight: 500;
    color: #000;
}

.sicily-schedule-acc-meta {
    font-weight: 300;
    color: #666;
}

#sicily-schedule-section .sicily-schedule-accommodation-list label.container.disabled .sicily-schedule-acc-label,
#sicily-schedule-section .sicily-schedule-accommodation-list label.container.disabled .sicily-schedule-acc-label strong,
#sicily-schedule-section .sicily-schedule-accommodation-list label.container.disabled .sicily-schedule-acc-meta,
#sicily-schedule-section .sicily-schedule-accommodation-list label.container.disabled .sicily-schedule-acc-beds {
    color: #999;
}

.sicily-schedule-bed-row {
    margin-left: 40px;
    margin-top: -9px;
    margin-bottom: 14px;
    justify-content: flex-start;
    gap: 44px;
}

.sicily-schedule-bed-label {
    font-weight: 400;
    color: #333;
}

/* Stepper */
.sicily-schedule-stepper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sicily-schedule-stepper-btn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    font-family: "Roboto", arial, sans-serif;
}

.sicily-schedule-stepper-btn:hover:not(:disabled) {
    background: #fff;
    transform: scale(1.12);
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
}

.sicily-schedule-stepper-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.sicily-schedule-stepper-value {
    min-width: 18px;
    text-align: center;
    font-family: "Roboto Condensed", arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

/* Price summary */
.sicily-schedule-summary {
    margin-top: 6px;
    margin-bottom: 18px;
    font-family: "Roboto Condensed", arial, sans-serif;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

.sicily-schedule-summary-line {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sicily-schedule-summary-line strong {
    font-weight: 500;
    color: #000;
}

.sicily-schedule-old-price {
    color: #888;
}

.sicily-schedule-summary-total {
    margin-top: 2px;
}

.sicily-schedule-summary-total strong {
    font-weight: 600;
}

.sicily-schedule-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #999;
    color: #666;
    font-family: "Roboto", arial, sans-serif;
    font-size: 11px;
    cursor: help;
    flex-shrink: 0;
}

/* Next button */
.sicily-schedule-next-btn {
    margin-top: auto;
    padding: 14px 50px;
    width: 100%;
    max-width: 300px;
    background: #353944;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-family: "Roboto", arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    min-height: 50px;
    flex-shrink: 0;
}

.sicily-schedule-next-btn:hover {
    background-color: #007aff;
    transform: scale(1.02);
}

/* Override Swiper next button styles */
.sicily-schedule-next-btn.swiper-button-next {
    position: unset;
}

.sicily-schedule-next-btn.swiper-button-next::after {
    content: unset;
}

/* Contact form */
#sicily-schedule-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 65px;
    height: 100%;
    max-width: 350px;
}

#sicily-schedule-form input[type="text"],
#sicily-schedule-form input[type="email"],
#sicily-schedule-form textarea {
    width: 100%;
    height: 40px;
    font-family: "Roboto", arial, sans-serif;
    font-weight: 400;
    color: #000;
    font-size: 14px;
    border: none;
    margin-top: 8px;
    background-color: rgba(200, 200, 200, 0.2);
    padding: 15px;
    outline: none;
    border-radius: 5px;
    box-sizing: border-box;
}

#sicily-schedule-form input[type="text"]:first-child {
    margin-top: 0;
}

#sicily-schedule-form textarea {
    resize: none;
    padding: 10px 15px;
    overflow: auto;
    max-height: 80px;
    min-height: 40px;
    -ms-overflow-style: none;
    line-height: 1.4;
}

#sicily-schedule-form textarea::-webkit-scrollbar {
    display: none;
}

.sicily-schedule-submit {
    margin-top: auto;
    padding: 14px 50px;
    width: 100%;
    max-width: 300px;
    background: #353944;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-family: "Roboto", arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    min-height: 50px;
}

.sicily-schedule-submit:hover {
    background-color: #007aff;
    transform: scale(1.02);
}

/* Result */
.sicily-schedule-result-btn {
    margin-top: auto;
    padding: 14px 50px;
    width: 100%;
    max-width: 300px;
    background: #55a451;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-family: "Roboto", arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: default;
    min-height: 50px;
}

#sicily-schedule-section .sicily-schedule-result-btn.sicily-schedule-error-btn {
    background: #a1160f;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

#sicily-schedule-section .sicily-schedule-result-btn.sicily-schedule-error-btn:hover {
    background: #353944;
    transform: scale(1.02);
}

/* Result content */
.sicily-schedule-result-content {
    text-align: center;
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.sicily-schedule-result-content p {
    font-family: "Roboto Condensed", arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #333;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

/* Tooltip */
.sicily-schedule-tooltip {
    position: fixed;
    z-index: 9999;
    background: #fff;
    color: #333;
    font-family: "Roboto Condensed", arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    padding: 7px 11px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sicily-schedule-tooltip.visible {
    opacity: 1;
}

.sicily-schedule-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #fff;
}

.sicily-schedule-tooltip.wide {
    white-space: normal;
    max-width: 260px;
    text-align: left;
    line-height: 1.4;
    padding: 14px 22px;
}
