:root {
    --primary-blue: #0098d9;
    --dark-blue: #005a8c;
    --light-gray: #f5f5f5;
    --light-gray-ef: #eff6ff;
    --border-gray: #e0e0e0;
    --text-dark: #2c3e50;
    --text-light: #515054;
    --success-green: #d4edda;
    --success-border: #c3e6cb;
    --warning-yellow: #fff3cd;
    --warning-border: #ffeeba;
    --Deep-Dark-Blue: #203365;
    --Gray-Base: #515054;
    --background-grey: #f6f3f4;
    --sky-blue: #f0f9ff;
    --medium-blue: #008fce;
    --parrent-green: #7bf1a8;
    --white-bg-border: #E5E7EB;
    --orange-dark: #F49649;
}

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css');

body:has(.modal-overlay.active) #header-outer {
    z-index: 10;
}

body:has(.modal-overlay.active) {
    overflow: hidden;
    touch-action: none;
}

.ms-aqua-container .row_col_wrap_12 {
    position: relative;
    z-index: 9999 !important;
}

.btn-main {
    display: flex;
    gap: 10px;
}

.book-button {
    width: calc(50% - 5px);
}

    
.ms_booking_wrapper .ms_booking_container {
    font-family: Lato !important;

    .header {
        display: flex;
        align-items: end;
        gap: 15px;
        margin-bottom: 40px;
    }

    .btn-text {
        position: relative;
        display: inline-block;
        perspective: 800px;
        font-weight: 600;
    }

    .text-front,
    .text-back {
        display: inline-block;
        white-space: nowrap;
    }

    .text-back {
        position: absolute;
        inset: 0;
    }

    /* base */
    .char {
        display: inline-block;
        transform-origin: 50% 100%;
        transition: transform 0.45s cubic-bezier(.19, 1, .22, 1);
    }

    /* front text */
    .text-front .char {
        transform: translateY(0) rotateX(0deg);
    }

    /* back text (hidden initially) */
    .text-back .char {
        transform: translateY(8px) rotateX(-90deg);
    }
  
    .header-icon {
        width: 50px;
        height: 50px;
        background: var(--primary-blue);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 24px;
    }

    .header h1 {
        font-size: 30px;
        color: var(--Deep-Dark-Blue);
        font-weight: 700;
        border-bottom: 4px solid var(--primary-blue);
        padding-bottom: 8px;
        display: inline-block;
        letter-spacing: 2px;
        height: 90px;
    }

    /* Rental Card */
    .card-image {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 215px;
        background: #f4f4f4;
    }

    .card-image img {
        margin: 0 !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


    .card-content {
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 310px;
    }

    .single-service .card-content{
        min-height: auto;
    }
    .price-badge {
        position: absolute;
        top: 20px;
        right: 20px;
        background: var(--primary-blue);
        color: white;
        padding: 8px 13px;
        border-radius: 50px;
        font-weight: 600;
        text-align: center;
        width: max-content;
        display: flex;
        flex-direction: column;
        line-height: 1.5;
        box-shadow: 0px 0.87px 2.61px 0px #0000001A;
    }

    .price-badge .ms-from {
        font-size: 10.44px;
        font-weight: 600;
    }

    .price-badge .amount {
        font-size: 17.39px;
        font-weight: 700;
        line-height: 1;
    }



    .card-title {
        font-size: 17.39px;
        margin: 0;
        font-weight: 600;
        color: var(--Deep-Dark-Blue);
        line-height: unset !important;
    }

    .card-subtitle,
    .info-item {
        color: var(--text-light);
        font-size: 12.17px !important;
        padding-bottom: 10px !important;
        font-weight: 400 !important;
    }

    .info-item {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 0 !important;
    }

    .info-item i {
        color: var(--primary-blue);
        width: 24px !important;
    }

    .age-requirement {
        background: #ecfeff;
        color: var(--text-light);
        padding: 0 8px;
        border-radius: 5.22px;
        margin-top: 10px;
        font-size: 10.44px;
        font-weight: 400;
    }

    .age-requirement strong {
        font-weight: 700 !important;
    }

    .features-list {
        margin: 10px 0px 15px !important;
        line-height: 1.8;
    }

    .feature-item {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        color: var(--text-light);
        font-size: 10.44px !important;
        font-weight: 400;
    }

    .feature-item i {
        color: var(--primary-blue);
        margin-top: 2px;
    }

    .btn-main .book-button {
        width: 100%;
        padding: 11px 16px;
        background: var(--primary-blue);
        color: white;
        border: none;
        border-radius: 5.22px !important;
        font-size: 12.17px;
        font-weight: 600;
        cursor: pointer;
        text-align: center;
        margin: 0;
    }

    [type="button"].rounded-full svg::before {
        font-size: 16px !important;
        color: #333333 !important;
    }

    .book-button:hover .text-front .char {
        transform: translateY(-8px) rotateX(90deg);
    }

    .book-button:hover .text-back .char {
        transform: translateY(0) rotateX(0deg);
    }
    .btn-main [type="button"].book-button {
        background: var(--orange-dark) !important;
    }

   

   
    @media (max-width: 480px) {
        .header-icon {
            width: 40px;
            height: 40px;
            font-size: 20px;
        }

        /*.extra-item {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        */
        .header h1 {
            font-size: 20px;
        }

        .card-content {
            padding: 20px;
        }

        .step-indicator {
            font-size: 12px;
        }

        .time-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .ski-option {
            flex-direction: column;
            gap: 15px;
            text-align: center;
        }

        .main-flex {
            display: block !important;
            text-align: center;
        }
    }

    .cards-grid:not(.w-100) {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 35px 25px;
        margin-top:75px;
    }

    .cards-grid.related-services {
        margin-top:25px;
    }
    
    
    .rental-card {
        background: white;
        border-radius: 8.7px;
        overflow: hidden;
        box-shadow: rgba(187, 192, 195, 0.3) 0px 1px 1px 0px, rgba(176, 180, 183, 0.15) 0px 1px 2px 1px;
        border: 1.74px solid #E5E7EB;
        ;
    }

    @media (max-width: 1024px) {
        .cards-grid:not(.w-100) {
            grid-template-columns: repeat(2, 1fr);
        }

        .card-subtitle {
            padding-bottom: 0px !important;
        }
    }

    @media (max-width:767px) {
        /*padding: 0 !important;
        width: 88%;
        margin: 0 auto;*/

        .cards-grid:not(.w-100) {
            grid-template-columns: 1fr;
            margin-top: 45px;
        }

        .cards-grid.related-services {
            margin-top:20px;
        }

    }

    @media only screen and (min-width: 620px) and (max-width: 768px) {
        .card-content {
            margin-top: 40px;
        }

        .card-title {
            margin-top: 40px;
        }

        .cards-grid {
            margin-top: 50px;
        }
    }

    @media only screen and (min-width: 480px) and (max-width: 620px) {
        .card-title {
            margin-top: 50px;
        }
    }

}

.ms_booking_wrapper .ms-category {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    border-bottom: 1.5px solid #D9D9D9;

    .category-buttons::-webkit-scrollbar {
        display: none;
    }

    .category-scroll {
        overflow-y: visible;
    }

    .category-buttons {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 25%;
        align-items: stretch;

        .category-btn {
            background-color: transparent;
            border: none;
            font-family: Lato;
            padding: 0;
            position: relative;
        }

        .category-btn .ms-category-title {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 10px;
            cursor: pointer;
            font-size: 20px;
            font-weight: 600;
            color: #000000;
            background: transparent;
            transition: background 0.18s, color 0.18s;
            white-space: nowrap;
            justify-content: center;
            border-radius: 0 !important;
            border-right: 1.5px solid #D9D9D9;
            min-height:70px;
        }

        .category-btn:last-child .ms-category-title {
            border: none !important;
        }

        .category-btn .ms-category-title:hover {
            background: #f0f6ff;
        }

        .category-btn.active .ms-category-title {
            background: var(--orange-dark);
            color: #fff;
            position: absolute;
            top: -13px;
            z-index: 99;
            min-height: 100px;
            border: 1.5px solid transparent;
            width: 100%;
        }

        .category-btn .ms-category-title img{
            margin: 0 !important;
        }

        .category-btn.active .ms-category-title img{
            filter: brightness(0) invert(1);
        }

        .category-btn svg {
            margin-right: 15px;
        }

        .category-btn.active span svg g path {
            fill: #fff !important;
            color: #fff !important;
        }
    }

    /* Desktop hide dropdown */
    .category-dropdown-wrapper {
        display: none;
        position: relative;
    }

    /* Mobile */
    @media (max-width: 767px) {
        
        .category-buttons {
            display: none;
        }

        .category-dropdown-wrapper {
            display: block;
            border: 0px solid rgba(22, 63, 107, 1);
            background: rgba(22, 63, 107, 1);
        }
        .category-dropdown-wrapper img{
            margin-bottom: 0 !important;
            width: 36px;
        }

        .dropdown-toggle {
            width: max-content;
            margin: 0 auto;
            padding: 12px 16px;
            font-size: 20px;
            font-weight: 600;
            border: 1px solid rgba(22, 63, 107, 1);
            background: rgba(22, 63, 107, 1);
            color: #fff;
            cursor: pointer;
            text-align: left;
            display: flex;
            gap: 15px;
            justify-content: space-between;
            align-items: center;
            padding:15px;
            position: relative;
            font-family: 'Lato';
        }


        .arrow{
            position: absolute;
            right: -25px;
            font-size: 13px;
        }

        .dropdown-list {
            display: none;
            /*position: absolute;
            top: 100%;
            left: 0;
            max-height: 250px;
            overflow-y: auto;
            border: 1px solid var(--border-gray);*/
            width: 100%;
            z-index: 999;
            background: #fff;
            list-style: none;
            padding: 0;
            margin: 0;
            list-style: none;
        }

        .dropdown-list li {
            padding: 12px 16px;
            cursor: pointer;
            border-bottom: 1px solid var(--border-gray);
            display: flex;
            align-items: center;
            gap: 20px;
            font-weight: bold;
            font-size: 18px;
        }

        .dropdown-list li:hover,
        .dropdown-list li.active {
            background: #F4F4F3;
        }

        .dropdown-toggle svg path {
            fill: #fff;
            color: #fff;
        }
        
    }
    @media only screen and (min-width:767px) and (max-width:1100px){
        .category-btn .ms-category-title{
            font-size: 15px !important;
        }
    }
}


 /****************** Modal css start **********************/
    /* Modal Overlay */
    .modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1000;
        animation: fadeIn 0.3s;
    }

    .modal-overlay.active {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Modal */
    .modal {
        background: white;
        border-radius: 2px;
        width: 100%;
        max-width: 720px;
        position: relative;
        height: fit-content;
        max-height: calc(100vh - 10vh);
        overflow-y: auto;
    }

    .modal-content {
        background: #fff;
        animation: slideUp 0.3s;
    }

    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(50px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Modal Header */
    .modal-header {
        padding: 20px 30px !important;
        border-bottom: 2px solid var(--medium-blue) !important;
        display: flex !important;
        align-items: center !important;
        gap: 20px !important;
    }

    .modal-thumbnail {
        width: 60px !important;
        height: 60px !important;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 8px !important;
        flex-shrink: 0;
    }

    .progress-bar {
        flex: 1 !important;
        height: 8px !important;
        background: var(--white-bg-border);
        border-radius: 10px !important;
        overflow: hidden !important;
    }

    .progress-fill {
        height: 100% !important;
        background: var(--primary-blue);
        transition: width 0.3s !important;
    }

    .step-indicator {
        font-size: 14px !important;
        color: var(--text-light);
        font-weight: 600 !important;
        white-space: nowrap !important;
    }

    [type="button"].close-button {
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 5px 10px !important;
        border-radius: 50% !important;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 35px;
        height: 35px;
        font-size: 35px;
        color: #203365;
    }

    [type="button"].close-button:hover {
        background: var(--background-grey) !important;
    }

    /* Warning Banner */
    .warning-banner {
        background: var(--warning-yellow);
        border: 1px solid var(--warning-border);
        padding: 12px 30px !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        font-size: 14px !important;
        color: #856404 !important;
    }

    .warning-banner i {
        color: #f0ad4e !important;
    }

    /* Modal Content */
    .modal-content {
        padding:0 30px !important;
    }

    .step-content {
        display: none;
        margin: 20px 0 30px;
    }

    .step-content.active {
        display: block !important;
    }

    .section-title {
        font-size: 16px !important;
        font-weight: 600 !important;
        color: var(--Deep-Dark-Blue);
        line-height: unset;
    }

    .availability-badge {
        float: right !important;
        font-size: 14px !important;
        color: var(--text-light);
        font-weight: 600 !important;
        white-space: nowrap !important;
    }

    /* Jet Ski Selection */
    .selection-box {
        border: 2px solid var(--primary-blue);
        background: var(--sky-blue);
        border-radius: 12px;
        padding: 25px;
        margin-bottom: 10px !important;
    }

    .selection-box:first-child {
        margin-bottom: 10px;
    }

    .ski-option {
        background: white;
        border: 1px solid var(--border-gray);
        border-radius: 8px;
        padding: 10px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    

    .ski-info {
        width: 100% !important;
    }

    .ski-info h3 {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: var(--Deep-Dark-Blue);
        height: 30px !important;
    }

    .ski-pricing {
        font-size: 12px;
        color: var(--Gray-Base);
        padding-bottom: 0px;
    }

    .quantity-controls {
        display: flex;
        align-items: center;
    }

    #nextMonth,#prevMonth {
        width: 32px !important;
        height: 32px !important;
        border: 1px solid var(--primary-blue) !important;
        border-radius: 50% !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.2s !important;
        background-color: transparent;
    }

    #nextMonth:hover,#prevMonth:hover {
        background: var(--sky-blue) !important;
    }


    [type="button"].rounded-full i:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

    .qty-display {
        font-size: 18px;
        font-weight: 700;
        min-width: 30px;
        text-align: center;
    }

    li {
        list-style: none;
    }

    /* Duration Selection */
    .duration-section {
        background: var(--light-gray-ef);
        border: 1px solid #cce3ff;
        border-radius: 12px;
        padding: 15px;
    }

    .duration-section ul {
        margin-left: 0px !important;
    }

    #durationSectionJet.duration-section {
        background: #f0fdf4;
        border: 2px solid var(--parrent-green);
    }

    .duration-title {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: var(--text-dark);
        margin-bottom: 0px !important;
        line-height: unset !important;
    }

    .duration-label {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: var(--dark-blue);
        margin-bottom: 5px !important;
        height: 20px !important;
    }

    .duration-badge {
        font-size: 12px;
        color: var(--text-light);
    }

    .duration-price {
        font-size: 14px;
        color: var(--text-light);
        margin-top: 5px;
    }

    /* Calendar */
    .calendar {
        border: 2px solid var(--medium-blue);
        border-radius: 12px;
        padding: 20px;
        margin-bottom: 20px;
    }

    .calendar-header {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 5px;
        margin-bottom: 10px;
    }

    .calendar-day-header {
        text-align: center;
        font-weight: 600;
        font-size: 14px;
        color: var(--text-dark);
        padding: 10px 5px;
    }

    .calendar-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 5px;
    }

    .calendar-cell {
        aspect-ratio: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.2s;
        border: 1px solid transparent;
    }

    .calendar-cell.available {
        background: white;
        border: 2px solid var(--border-gray);
        color: #101828;
    }

    .calendar-cell.disabled {
        background: #eee;
        border: 2px solid var(--border-gray);
        color: #101828;
        cursor: not-allowed !important;
    }

    .calendar-cell.wait {
        background: #eee;
        border: 2px solid var(--border-gray);
        color: #101828;        
        position: relative;
        cursor: not-allowed;
    }

    .calendar-cell.wait::after{
        content: "";
        position: absolute;
        z-index: 9999;
        display: block;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 20px;
        height: 20px;
        margin-top: -13px;
        margin-left: -13px;
        border: 3px solid #fff;
        border-top-color: var(--primary-blue);
        border-radius: 50%;
        -webkit-animation: cd-spiner 2s infinite linear;
        animation: cd-spiner 2s infinite linear;
    }
    @-webkit-keyframes cd-spiner {
        0% {
            -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
        }
        100% {
            -webkit-transform: rotate(359deg);
            transform: rotate(359deg);
        }
    }
    @keyframes cd-spiner {
        0% {
            -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
        }
        100% {
            -webkit-transform: rotate(359deg);
            transform: rotate(359deg);
        }
    }
    
    .calendar-cell.available:not(.selected):hover {
        background: #fbf9fa;
        color: #101828;
    }

    .calendar-cell.limited {
        background: #fff3cd;
        border-color: var(--warning-border);
        color: #856404;
    }

    .calendar-cell.full {
        background: var(--light-gray);
        color: #ccc;
        cursor: not-allowed;
    }

    .calendar-cell.selected {
        background: var(--primary-blue);
        color: white;
    }

    .calendar-legend {
        display: flex;
        gap: 20px;
        margin-top: 15px;
        font-size: 12px;
    }

    .legend-item {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .legend-color {
        width: 20px;
        height: 20px;
        border-radius: 4px;
    }

    /* Time Selection */
    .time-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 5px;
        margin-top: 20px;
    }

    .time-slot {
        padding: 14px;
        background: white;
        border: 2px solid var(--border-gray);
        border-radius: 8px;
        text-align: center;
        cursor: pointer;
        transition: all 0.2s;
        color: #101828;
    }

    .time-slot:hover {
        background: #fbf9fa;
        color: #101828;
    }

    .time-slot.selected {
        background: var(--primary-blue);
        color: white;
    }

    /* Extras Selection */
    .extra-item {
        display: flex;
        gap: 20px;
        padding: 20px;
        border: 2px solid #E5E7EB;
        border-radius: 8px;
        margin-bottom: 15px;
        transition: all 0.2s;
    }

    .extra-item:hover {
        border:2px solid var(--primary-blue);
        background: #f8f9fa;
    }

    .extra-item.selected {
        border:2px solid var(--primary-blue);
        background: #e3f2fd;
        background-color: var(--light-gray-ef);
    }

    .extra-item.active {
        background-color: var(--light-gray-ef);
        border: 2px solid var(--medium-blue);
    }

    .extra-icon {
        width: 60px ;
        height: 60px;
        background: var(--light-gray);
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 24px !important;
        color: var(--text-light);
        flex-shrink: 0;
        overflow: hidden;
    }
    .extra-icon img{
        width: 100%;
        height: 100%;
        object-fit: cover;

    }
    .extra-details {
        flex: 1 !important;
    }

    .extra-add-btn{
        border: 2px solid var(--medium-blue);
        padding: 0 10px;
        border-radius: 5px;
        font-weight: 600;
        color: var(--medium-blue);
        cursor: pointer;
        text-align: center;
    }
    .extra-add-btn .fa{
        margin-bottom: 5px;
    }

    .extra-item .quantity-controls input.qty[type=number],
    .extra-item .quantity-controls .quantity__button{
        background-color: transparent !important;
    }


    button {
        cursor: pointer;
    }

    /* Number input cleanup */
    .qty-input::-webkit-outer-spin-button,
    .qty-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .qty-input[type=number] {
        -moz-appearance: textfield !important;
        border: none !important;
        outline: unset !important;
        background-color: transparent;
        font-size: 18px;
        font-weight: 700;
        width: max-content !important;
        color: var(--Deep-Dark-Blue);
    }

    .qty-input {
        appearance: none !important;
        text-align: center !important;
    }

    .extra-name {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: var(--Deep-Dark-Blue);
        margin-bottom: 5px !important;
        font-family: inter;
    }

    .extra-description {
        font-size: 14px !important;
        line-height: 1.6;
        color: var(--Gray-Base) !important;
        margin-bottom: 8px !important;
    }

     @media (min-width: 641px) {

        .ticket-content .extra-icon{
            width: 200px;
            height: 200px;
        }
    }
    .ticket-content .tickets-options{
        display: flex;
        justify-content: space-between;
        
    } 
    .aquamarine_book_ticket_form .ticket-content .tickets-options{
        justify-content: start;

    } 
    .ticket-content .ticket-checkbox{
        width: 50%;
    }

    .ticket-content .title{
        font-weight: 700 !important;
        color: var(--Deep-Dark-Blue);
    }
    .ticket-content .ticket-price{
        font-weight: 700 !important;
        color: var(--medium-blue);
    }
    .ticket-content .extra-ticket-btn{
        border: 2px solid var(--medium-blue);
        padding: 0 10px;
        border-radius: 5px;
        font-weight: 600;
        color: var(--medium-blue);
        cursor: pointer;
        text-align: center;
        width: 100%;
    }
    .ticket-content .quantity-controls{
        justify-content: left;
    }


    .extra-checkbox {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-size: 14px !important;
        color: var(--Gray-Base) !important;
    }

    .extra-checkbox input[type="checkbox"] {
        width: 18px !important;
        height: 18px !important;
        cursor: pointer;
    }

    .extra-price {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: var(--medium-blue);
        flex-shrink: 0;
        font-family: inter;
    }

    /* coupon code  */
    .giftcard-box,
    .coupon-box{
        margin-top: 10px;
    }

    .giftcard-box .form-group,
    .coupon-box .form-group{
        margin-top:5px;
        display:flex;
        gap:8px;
    }

    .giftcard-box input.form-input,
    .coupon-box input.form-input{
        background-color: #fff !important;
    }

    .giftcard-box button,
    .coupon-box button{
        padding:8px 14px;
        border:none;
        font-size: 14px !important;
        font-weight: 600 !important;
        background: var(--primary-blue);
        color:#fff;
        border-radius:4px;
        cursor:pointer;
    }

    .giftcard-box button:hover,
    .coupon-box button:hover{
          background-color: rgb(5, 94, 133) !important;
    }

    .giftcard-box .summary-label,
    .coupon-box .summary-label{
        font-size: 18px !important;
        font-weight: 700 !important;
        color: var(--primary-blue);
    }

    /* Form Inputs */
    .form-group {
        margin-bottom: 20px !important;
    }

    .form-label {
        display: block !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        color: var(--Deep-Dark-Blue);
        margin-bottom: 8px !important;
    }

    .form-label .required {
        color: var(--Deep-Dark-Blue) !important;
    }

    .form-input {
        width: 100% !important;
        padding: 12px 16px ;
        border: 1px solid var(--border-gray);
        border-radius: 8px !important;
        font-size: 14px !important;
        transition: border-color 0.2s;
        background: transparent !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12) !important;
    }

    .form-input:focus {
        outline: none;
        border-color: var(--primary-blue);
        background: transparent !important;
    }

    textarea.form-input {
        min-height: 100px !important;
        resize: vertical !important;
    }

    /* Summary Box */
    .summary-box {
        background: #e3f2fd !important;
        border-radius: 12px !important;
        padding: 25px !important;
        margin-bottom: 20px !important;
    }

    .summary-title {
        font-size: 18px !important;
        font-weight: 700 !important;
        color:var(--primary-blue);
        margin-bottom: 20px !important;
    }

    .summary-row {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        font-size: 14px;
    }

    .summary-label {
        color: #203365;
        font-weight: 600;
        font-size: 14px;
    }

    .summary-value {
        font-weight: 600;
        color: var(--text-dark);
        line-height: 1.6;
    }

    .summary-total {
        border-top: 2px solid var(--primary-blue);
        margin-top: 15px;
        padding-top: 15px;
        display: flex;
        justify-content: space-between;
        font-size: 16px;
        font-weight: 700;
    }

    .summary-total .price {
        color: var(--primary-blue);
        font-size: 24px !important;
    }

    /* Info Box */
    .info-box {
        background: var(--light-gray);
        border-radius: 8px !important;
        padding: 20px !important;
        margin-top: 20px !important;
    }

    .info-title {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: var(--text-dark);
        margin-bottom: 10px !important;
    }

    .info-text {
        font-size: 14px !important;
        color: var(--text-dark);
        line-height: 1.6;
    }

    .info-detail {
        margin-top: 5px !important;
        color: var(--text-light);
    }

    /* Modal Footer */
    .modal-footer {
        padding: 25px 30px !important;
        border-top: 2px solid var(--medium-blue) !important;
        display: flex !important;
        gap: 15px !important;
    }

    .modal-footer::before {
        content: unset !important;
    }

    .ms-sticky.ms-sticky-top {
        top: 0;
        position: sticky;
        width: 100%;
        background: #fff;
        z-index: 99;
    }

    .modal-overlay.active:has(.header-outer) {
        z-index: 0 !important;
    }

    .pay-button,
    #bookingModal .btn {
        flex: 1 !important;
        padding: 14px !important;
        border-radius: 4px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        transition: all 0.2s;
        border: none !important;
        display: flex;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
    }


    #bookingModal .btn-secondary {
        background: white !important;
        color: var(--primary-blue);
        border: 2px solid var(--medium-blue) !important;
    }

    #bookingModal .btn-secondary:hover {
        border-color: var(--primary-blue);
        background: #e0f2fe !important;
    }

    .pay-button,
    #bookingModal .btn-primary {
        background: var(--primary-blue);
        color: white !important;
    }

    .pay-button:hover,
    .btn-primary:hover {
        background: var(--dark-blue);
    }

    .btn-primary:disabled {
        opacity: 0.5 !important;
        cursor: not-allowed !important;
    }

    .selected-count {
        background: var(--light-gray-ef) !important;
        border: 1px solid #c3e6cb !important;
        border-radius: 8px !important;
        padding: 15px !important;
        margin-top: 20px !important;
        font-size: 12px !important;
        color: var(--Gray-Base);
    }

    .selected-count strong {
        color: var(--Deep-Dark-Blue);
        font-weight: 600 !important;
        font-size: 12px !important;
    }

    .ski-option {
        position: relative;
    }

    .add-another-ride {
        width: 100% !important;
        background: #fff !important;
        padding: 10px;
        border: 2px solid var(--medium-blue);
        color: var(--primary-blue);
        font-size: 14px !important;
        font-weight: 500 !important;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        margin-top: 25px;
    }

    .add-another-ride i {
        background: none !important;
    }

    .add-another-ride:hover {
        background-color: #e0f2fe;
        color: var(--primary-blue);
    }

    .ms-rides button.remove-ride {
        position: absolute;
        right: 20px;
        top: 16px;
        border: none;
        color: #ff3b3b !important;
        background: transparent !important;
        padding: 0;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    .ms-rides button.remove-ride i {
        color: #ff3b3b;
        font-size: 14px;
    }

    .ms-duration-wrapper-other {
        max-width: 650px;
        margin: 0 auto;
    }

    .duration-container {
        border: 2px solid var(--primary-blue);
        border-radius: 8px;
        padding: 20px;
        background-color: var(--sky-blue);
    }

    .duration-title {
        font-size: 16px !important;
        font-weight: 600 !important;
        color: var(--Deep-Dark-Blue);
    }

    .boat-options {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .boat-options label {
        position: relative;
        display: block;
        padding: 20px;
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        background-color: white;
    }

    .boat-options label:hover {
        border-color: var(--primary-blue);
        background-color: #f0f9ff;
    }

    .boat-options input[type="radio"] {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

    .boat-options input[type="radio"]:checked+.option-content {
        border-color: var(--primary-blue);
    }

    .boat-options label:has(input[type="radio"]:checked) {
        border-color: var(--primary-blue);
        background-color: #f0f9ff;
    }

    .option-content {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .option-title {
        font-size: 16px;
        font-weight: 600;
        color: #0f172a;
        margin-bottom: 2px;
    }

    .option-price {
        font-size: 14px;
        color: #64748b;
    }

    /* Checkmark style */
    .checkmark {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        border: 2px solid #e2e8f0;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .checkmark::after {
        content: '✓';
        color: white;
        font-size: 14px;
        font-weight: bold;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .boat-options input[type="radio"]:checked~.checkmark {
        background-color: var(--primary-blue);
        border-color: var(--primary-blue);
    }

    .boat-options input[type="radio"]:checked~.checkmark::after {
        opacity: 1;
    }

    @media (max-width: 640px) {
        .modal-overlay.active{
            padding: 10px;
        }
        .modal-footer{
            padding: 20px 20px !important;
            gap: 15px !important;
        }

        .time-slot {
            padding: 8px;
            font-size: 12px;
            line-height: 1.6;
        }
        .selection-box{
            padding: 12px;
        }
        .quantity-controls{
            min-width: 120px !important;
        }
        .ski-info h3{
            line-height: 1.3;
            margin-bottom: 0px;
        }
        .ski-pricing {
            line-height: 1.5;
        }

        .boat-options {
            grid-template-columns: 1fr;
        }

        .calendar{
            padding: 10px;
        }
        .calendar-grid{
            height: auto;
            gap: 4px;
        }
         
        .extra-item{
            padding: 10px;
            gap: 10px;

        }

        .extra-icon{
            width: 40px;
            height: 40px;
        }
        .extra-name{
            line-height: 1.5;
        }


        .extra-checkbox {
            align-items: initial !important;
            flex-direction: column;
        }

        .extra-item .quantity-controls{
            justify-content: left;
        }
    }
    @media (min-width: 768px) {
        .calendar{
            padding-left: 100px;
            padding-right: 100px;
        }
    }

    #continueBtn {
        background-color: rgb(0, 143, 206) !important;
        color: #fff !important;
    }

    #continueBtn:hover {
        background-color: rgb(5, 94, 133) !important;
    }

    .calendar-nav {
        display: flex;
        justify-content: center;
        gap: 15px;
        align-items: center;
        margin-bottom: 15px;
    }

    .boat-size-duration-options,
    .duration-options {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .boat-size-duration-option,
    .duration-option {
        position: relative;
        padding: 20px;
        border: 2px solid #cccdce;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        background-color: white;
    }

    .boat-size-duration-option:hover,
    .duration-option:hover {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        transition: box-shadow 0.3s ease;
    }

    .boat-size-duration-option.selected,
    .duration-option.selected {
        border-color: var(--primary-blue);
        background-color: #f0f9ff;
    }

    .boat-size-duration-option  input[type="radio"],
    .duration-option input[type="radio"] {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

    .duration-label {
        font-size: 16px;
        font-weight: 600;
        color: #0f172a;
        margin-bottom: 4px;
    }

    .duration-badge {
        font-size: 14px;
        color: var(--Gray-Base);
    }

    .duration-price {
        font-size: 14px;
        color: #64748b;
    }

    /* Checkmark style for duration */
    .duration-option::after {
        content: '✓';
        position: absolute;
        top: 16px;
        right: 16px;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        border: 2px solid #e2e8f0;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 14px;
        font-weight: bold;
        opacity: 0;
        transition: all 0.3s ease;
        line-height: 24px;
        text-align: center;
    }

    .duration-option.selected::after {
        background-color: var(--primary-blue);
        border-color: var(--primary-blue);
        opacity: 1;
    }

    @media (max-width: 640px) {
        .duration-options {
            grid-template-columns: 1fr;
        }
    }

    .ms_booking_container .step-content .form-input {
        background-color: #0000;
        padding: 12px;
        border-color: var(--white-bg-border);
        border-radius: .375rem;
        box-shadow: rgba(187, 192, 195, 0.3) 0px 1px 1px 0px, rgba(176, 180, 183, 0.15) 0px 1px 2px 1px;
    }

    .ms_booking_container .step-content .form-input:focus { 
        border-color: var(--medium-blue);
    }

    #bookingModal h4 {
        color: rgb(32, 51, 101);
        font-weight: 600;
        font-size: 18px;
    }

    .ms_booking_container .category-title {
        color: var(--Deep-Dark-Blue) !important;
        font-size: 1.875rem !important;
        font-weight: 700 !important;
    }

    #bookingModal ul li {
        color: rgb(81, 80, 84);
        font-size: .875rem;
        list-style: none !important;
    }

    .ms-rides {
        color: var(--Deep-Dark-Blue);
        font-size: 14px;
        font-weight: 600;
    }

    .category-section .category-title {
        font-size: 30px !important;
        font-weight: 700;
    }

    .step1-total {
        color: var(--medium-blue);
        font-size: 18px;
        font-weight: 700;
    }

    .icon-spacing {
        margin-right: 10px;
        background: none;
    }

    .aqu-bookings-listing-buttons{
        margin-top:30px;
        gap:15px;
        display: flex;
    }

    .main-flex {
        display: flex;
        justify-content: space-between;
        border: 2px solid var(--white-bg-border);
        padding: 15px;
        border-radius: 6px;
        margin: 10px 0px;
    }

    .icon-space {
        margin-left: 10px;
    }

    .ms-ski-option {
        margin-bottom: 15px;
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        .ms-sticky.ms-sticky-footer {
            position: unset !important;
        }

        .header h1 {
            font-size: 24px !important;
        }

        .modal {
            margin: 40px auto;
        }

        .modal-header {
            padding: 15px 20px !important;
        }

        .modal-thumbnail {
            width: 50px !important;
            height: 50px !important;
        }

        .modal-content {
            padding: 15px !important;
        }

        .modal-footer {
            padding: 15px 20px;
            flex-direction: column;
        }

        .duration-options {
            grid-template-columns: 1fr;
        }

        .time-grid {
            grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        }

        .selection-box .ski-option:first-of-type {
            margin-bottom: 10px;
        }

        .calendar-day-header {
            font-size: 12px;
            padding: 8px 2px;
        }

        .calendar-cell {
            font-size: 12px;
        }

        .dropdown-toggle img{
            filter: brightness(0) invert(1);
        }
    }

    /****************** Modal css end **********************/

.nectar-global-section.nectar_hook_global_section_footer {
    z-index: 1;
}
.aqu-bookings-listing-buttons > *:first-child {
    background-color: #0098D9 !important;
   
}
.aqu-bookings-listing-buttons > *:first-child:hover {
    background-color: #0098D9 !important;
   
}
.aqu-bookings-listing-buttons button:hover{
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.16) !important;
}
#aquamarineview,
#aquamarinereschedule {
  display: none;
}
 .aqu-table.container {

            max-width: 1140px;
            margin: 0 auto;
            padding: 0 15px;
        }
        .aqu-table.mt-4 {
            margin-top: 1.5rem;
        }
        .aqu-table .mb-3 {
            margin-bottom: 1rem;
        }
        .aqu-table .table-responsive {
            overflow-x: auto;
        }
        .aqu-table .table {
            width: 100%;
            margin-bottom: 1rem;
            color: #212529;
            border-collapse: collapse;
        }
        .aqu-table .table th,
        .aqu-table .table td {
            padding: 0.75rem;
            vertical-align: top;
            border-top: 1px solid #dee2e6;
        }
        .aqu-table .table thead th {
            vertical-align: bottom;
            border-bottom: 2px solid #dee2e6;
        }
        .aqu-table .table tbody + tbody {
            border-top: 2px solid #dee2e6;
        }
        .aqu-table .table-bordered th,
        .aqu-table .table-bordered td {
            border: 1px solid #dee2e6;
        }
        .aqu-table .table-striped tbody tr:nth-of-type(odd) {
            background-color: rgba(255, 107, 107, 0.05);
        }
        .aqu-table .table-hover tbody tr:hover {
            background-color: rgba(78, 205, 196, 0.1);
        }
        .aqu-table .table-dark {
            color: #fff;
            background-color: #203365;
        }
        .aqu-table .table-dark th,
        .aqu-table .table-dark td,
        .aqu-table .table-dark thead th {
            border-color: #32383e;
        }
        .aqu-table .badge {
            display: inline-block;
            padding: 0.35em 0.65em;
            font-size: 0.8em;
            font-weight: 700;
            line-height: 1;
            color: #fff;
            text-align: center;
            white-space: nowrap;
            vertical-align: baseline;
            border-radius: 0.375rem;
        }
        .aqu-table .bg-success {
            background-color: #45b7d1 !important;
        }
        .aqu-table .bg-warning {
            background-color: #f0932b !important;
            color: #212529 !important;
        }
        .aqu-table .bg-danger {
            background-color: #eb4d4b !important;
        }
        .aqu-table .text-dark {
            color: #212529 !important;
        }
        @media (max-width: 768px) {
            .aqu-table .table-responsive {
                border: 0;
            }
        }
      

    body:not(.woocommerce-cart) .main-content .aqu-table table thead tr:nth-child(2n+1) {
    background-color: #203365 !important;
    }

.aq-bookings-listing{
    .aqu-custom-modal {
        display: none; 
        position: fixed;
        z-index: 9999;
        left: 0;
        margin-top: 50px !important;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
    }

    .aqu-custom-modal-content {
        background: #fff;
        padding: 20px;
        border-radius: 8px;
        width: 400px;
        max-width: 90%;
        margin: 100px auto;
        position: relative;
    }

    .aqu-custom-modal .close {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 22px;
        cursor: pointer;
    }

    .pagination {
        display: flex;
        gap: 8px;
        align-items: center;
        justify-content: center;
        margin-top: 30px;
        font-family: Arial, sans-serif;
    }
    .pagination a,
    .pagination span {
        min-width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        border-radius: 8px;
        font-size: 14px;
        border: 1px solid #eee;
        color: #555;
        transition: all 0.3s ease;
        padding: 0 10px;
    }
    .pagination a:hover {
        background: var(--orange-dark);
        color: #fff;
        border-color: var(--orange-dark);
        transform: translateY(-2px);
    }
    .pagination .active,
    .pagination .current {
        background: var(--orange-dark);
        color: #fff;
        border-color:var(--orange-dark);
        font-weight: bold;
        box-shadow: 0 4px 10px rgba(244, 150, 73, 0.4);
    }
    /*.pagination .prev,
    .pagination .next {
        font-size: 18px;
        font-weight: bold;
    }*/
    .pagination .dots {
        border: none;
        background: transparent;
        cursor: default;
    }
}

.ms-submit-button {
    width: 100%;
    min-height: 45px;
    border: none;
    border-radius: 999px;
    background: var(--orange-dark);
    color: #fff;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
}
.ms-submit-button:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(244, 150, 73, 0.35);
}


.theme-button {
    min-height: 45px;
    border: none;
    border-radius: 999px;
    background: var(--orange-dark) !important;
    color: #fff;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
}
.theme-button:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(244, 150, 73, 0.35);
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.status-badge:hover {
    opacity: 0.8;
}

.status-confirmed {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Pending */
.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

/* Cancelled */
.status-expired,
.status-cancel,
.status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

/* Completed */
.status-completed {
    background-color: #d4edda;
    color: #155724;
}

/* Processing */
.status-processing {
    background-color: #cce5ff;
    color: #004085;
}

/* Failed */
.status-failed {
    background-color: #f5c6cb;
    color: #721c24;
}
    
.ms-forms-wrapper{

        max-width: 550px;

        .form-title{
            font-size: 24px;
            margin-bottom: 40px;
            font-weight: 600;
            color: var(--Deep-Dark-Blue);
            line-height: unset !important;
            text-align: center;
        }

    .ms-form-content {
        width: 100%;
        /* max-width: 550px;
        background: #fff;
        padding: 60px;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08); */
    }
    .login-title {
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 25px;
        color: #333;
    }

    .input-group {
        margin-bottom: 18px;
    }

    .input-group input {
        width: 100%;
        min-height: 45px;
        border-radius: 999px;
        border: 1px solid #eee;
        padding: 0 18px;
        font-size: 14px;
        outline: none;
        transition: all 0.3s ease;
    }
    .input-group input:focus {
        border-color: var(--orange-dark);
        box-shadow: 0 0 0 3px rgba(244, 150, 73, 0.15);
    }
    .ms-submit-button {
        width: 100%;
        min-height: 45px;
        border: none;
        border-radius: 999px;
        background: var(--orange-dark);
        color: #fff;
        font-size: 14px !important;
        font-weight: 600 !important;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    .ms-submit-button:hover {
        background: var(--orange-dark);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(244, 150, 73, 0.35);
    } 

    @media only screen and (max-width:767px){

        .ms-form-content .form-title {
            font-size: 18px;
        }
        
    }

}