:root {
    --primary-bg-color: #1A4C66;
    --header-bg-color: #FFF;
    --card-spacing: 1rem;
    --calendar-bg-color: #A2D1FD;
    --calendar-font-color: #333;
}

body {
    background-color: var(--primary-bg-color);
    color: #FFF;
}

.header {
    background-color: var(--header-bg-color);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.header img {
    max-height: 190px;
}



.header-menu {
    display: flex;
    gap: 1rem;
}

.header-link {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    cursor: pointer;
}

.header-link:hover {
    color: #0056b3;
}

.vertical-separator {
    border-left: 1px solid #333;
    height: 20px;
}

#register-form {
    color: #333;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    overflow-y: auto;
}

.modal.show {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.modal-content {
    background-color: #fefefe;
    margin: 2rem auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.container {
    background-color: var(--primary-bg-color);
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    margin-bottom: var(--card-spacing);
    background-color: #FFF;
    color: #1A4C66;
    border-radius: 0.5rem;
    overflow: hidden;
}

.service-card img {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

.stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.step {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background-color: #ccc;
    color: #333;
    border-radius: 5px;
    margin: 0 0.5rem;
    cursor: pointer;
}

.step.active {
    background-color: #4CAF50;
    color: #fff;
}


.step::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    top: -5px;
    left: calc(50% - 5px);
}

.step.active::before {
    background: #6772e5;
}

.step.completed {
    background-color: #4CAF50;
    color: #fff;
    cursor: pointer;
}

/* Tabs styling for both mobile and desktop */
.pricing-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 1rem;
}

.tab-button {
    flex: 1;
    padding: 0.75rem;
    text-align: center;
    background: #f1f1f1;
    border: none;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: #fff;
    color: #2563eb;
    border-bottom: 2px solid #2563eb;
}

.tab-panel {
    display: none;
    padding: 1rem 0;
}

.tab-panel.active {
    display: block;
}

.flatpickr-calendar {
    background-color: var(--calendar-bg-color) !important;
    color: var(--calendar-font-color) !important;
}

.flatpickr-day.today, .flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange {
    background-color: var(--calendar-bg-color) !important;
    color: var(--calendar-font-color) !important;
}

.date-timeslot-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.datepicker-container {
    position: relative;
    flex: 1 1 300px; /* Adjust the flex-basis value based on your layout preference */
    min-width: 300px; /* Ensure a minimum width for better layout on smaller screens */
}

.timeslots-container {
    display: flex;
    flex-direction: column;
    flex: 2 1 300px; /* Adjust the flex-basis value based on your layout preference */
    min-width: 300px; /* Ensure a minimum width for better layout on smaller screens */
    gap: 0.5rem; /* Add gap between buttons */
}

/* Timeslot Button Styles */
.timeslot-btn {
    display: block;
    width: 100%;
    background-color: #1d4ed8; /* Darker blue for better contrast */
    color: #ffffff; /* White text for high contrast */
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem; /* Tailwind rounded */
    margin-bottom: 0.5rem; /* Tailwind mb-2 */
    text-align: center;
}

.timeslot-btn:hover {
    background-color: #1e40af; /* Even darker blue on hover for better contrast */
}

.selected-date {
    background-color: #ffeb3b; /* Yellow background */
    color: #dd1b1b; /* Black text */
}

.selected-timeslot {
    background-color: #efefef; /* Blue background */
    color: #333; /* White text */
    border: 2px solid #24c116; /* Black border */
}


/* payment screen */
.payment-container {
    max-width: 600px;
    background-color: #FFF;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #333;
    padding: 20px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background-color: #6772e5;
    border-color: #6772e5;
}

.btn-primary:hover {
    background-color: #5469d4;
    border-color: #5469d4;
}

.form-row {
    margin-bottom: 20px;
}

.card-errors {
    color: #fa755a;
}

.success-message {
    text-align: center;
    margin-top: 20px;
}

.success-message p {
    font-size: 18px;
    margin-bottom: 10px;
}

.success-message button {
    background-color: #6772e5;
    border-color: #6772e5;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.success-message button:hover {
    background-color: #5469d4;
}


@media (max-width: 768px) {
    .flex-wrap {
        flex-direction: column;
    }

    .service-card {
        margin-bottom: 1rem;
    }

    .stepper {
        flex-direction: column;
        align-items: stretch;
    }

    .step {
        margin: 0.5rem 0;
    }

    .date-timeslot-container {
        flex-direction: column;
    }

    .datepicker-container,
    .timeslots-container {
        flex: 1 1 100%;
    }

    
}
