:root {
            --primary-color: #00353d;
            --secondary-color: #f8f9fa;
            --accent-color: #d7a954;
            --text-color: #333;
            --light-text: #777;
            --border-color: #e0e0e0;
        }

        .empty-day {
            visibility: hidden;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--text-color);
            background-color: #00353d;
            padding-top: 50px;
            padding-bottom: 50px;
        }

        .booking-container {
            display: flex;
            max-width: 1200px;
            margin: 30px auto;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            overflow: hidden;
            position: relative;
        }
        .back-btn{
            position: absolute;
            left: 30px;
            top: 15px;
        }
          .back-btn a{
            width: 25px;
            height: 25px;
            border-radius: 50%;
            border:1px solid #00353d;
            display: flex;
         justify-content: center;
         align-items: center;
         text-decoration-line: none;
         color: #000000
          }
        .time-selection {
            flex: 1;
            padding: 60px 30px 30px 30px;
            border-right: 1px solid var(--border-color);
            background-color: var(--secondary-color);
        }

        .calendar-section {
            flex: 2;
            padding: 30px;
        }

        .time-slots {
            flex: 1;
            padding: 30px;
            background-color: var(--secondary-color);
        }
        .time-slots h3 {
            font-size: 16px;
        }

        .selected-slot {
            background-color: var(--primary-color);
            color: white;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            text-align: center;
        }

        .selected-slot h3 {
            margin-top: 0;
            font-weight: 600;
            font-size: 18px;
        }

        .selected-slot .duration {
            font-size: 14px;
            margin-bottom: 8px;
        }

        .selected-slot .time {
            font-size: 18px;
            font-weight: 600;
            margin: 8px 0;
        }

        .selected-slot .date {
            font-size: 14px;
        }

        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .calendar-title {
            font-size: 20px;
            font-weight: 600;
        }

        .calendar-nav button {
            background: none;
            border: none;
            font-size: 18px;
            cursor: pointer;
            color: var(--primary-color);
        }

        .calendar-weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            text-align: center;
            font-weight: 600;
            margin-bottom: 15px;
        }

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

        .calendar-day {
            padding: 10px;
            text-align: center;
            border-radius: 5px;
            cursor: pointer;
        }

        .calendar-day:hover {
            background-color: #cfa64c;
        }

        .current-day {
            background-color: var(--primary-color);
            color: white;
        }

        .other-month {
            color: var(--light-text);
        }

        .time-slot-container {
            margin-bottom: 15px;
            border: 1px solid var(--border-color);
            border-radius: 5px;
            overflow: hidden;
        }

        .time-slot {
            padding: 12px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }

        .time-slot:hover {
            background-color: rgba(74, 111, 165, 0.1);
        }

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

        .slot-select-btn {
            width: 100%;
            padding: 8px;
            background-color: var(--accent-color);
            color: white;
            border: none;
            font-size: 14px;
            cursor: pointer;
            transition: background-color 0.3s;
            display: none;
        }

        .time-slot-container.active .slot-select-btn {
            display: block;
        }

        .slot-select-btn:hover {
            background-color: #ff5252;
        }

        .main-select-btn {
            width: 100%;
            padding: 12px;
            background-color: var(--accent-color);
            color: white;
            border: none;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s;
            margin-top: 20px;
        }

        .main-select-btn:hover {
            background-color: #ff5252;
        }

        .main-select-btn:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }

        /* Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0,0,0,0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-container {
            background-color: white;
            border-radius: 10px;
            width: 90%;
            max-width: 500px;
            padding: 30px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.2);
            transform: translateY(-20px);
            transition: transform 0.3s;
        }

        .modal-overlay.active .modal-container {
            transform: translateY(0);
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .modal-title {
            font-size: 22px;
            font-weight: 600;
            color: var(--primary-color);
        }

        .close-modal {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--light-text);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }

        .form-control {
            width: 100%;
            padding: 10px;
            border: 1px solid var(--border-color);
            border-radius: 5px;
            font-size: 16px;
        }

        .submit-btn {
            width: 100%;
            padding: 12px;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .submit-btn:hover {
            background-color: #3a5a8a;
        }

        /* Phone input styling */
        .intl-tel-input {
            width: 100%;
        }
        .intl-tel-input .flag-container {
            padding: 0 5px;
        }
        .intl-tel-input .selected-flag {
            padding: 0 0 0 8px;
        }
        .intl-tel-input .country-list {
            width: 300px;
        }

        @media (max-width: 992px) {
            .booking-container {
                flex-direction: column;
            }

            .time-selection, .time-slots {
                border-right: none;
                border-bottom: 1px solid var(--border-color);
            }
        }


        /* Add these styles to your custom.css */
.time-slot-container.unavailable {
    opacity: 0.6;
    cursor: not-allowed;
}

.time-slot.disabled {
    color: #999;
    cursor: not-allowed;
}

.slot-select-btn[disabled] {
    background-color: #ccc;
    cursor: not-allowed;
}

.time-slot-container.unavailable .time-slot {
    text-decoration: line-through;
}
.disabled-day {
    color: #777777!important;
    background-color: #e7e7e7 !important;
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.6;
}
