/* Additional Custom CSS Styles */
body {
    padding: 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1574158622682-e40e69881006?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MXwyMDk3NjF8MHwxfGFsbHwxMHx8fHx8fHwxNjI4Mjc2MDAx&ixlib=rb-1.2.1&q=80&w=1920') no-repeat center center fixed;
    background-size: cover;
    font-family: Arial, sans-serif;
}

.container {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.centered-card {
    width: 500px;
    max-width: 100%;
    margin: 0 auto 20px auto;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1501594907352-04cda38ebc29?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw&ixlib=rb-1.2.1&q=80&w=400');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(107, 102, 102, 0.6);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
    padding: 10px;
    position: relative;
}

.centered-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

h1 {
    font-size: 1.2rem;
    margin: 5px 0;
    z-index: 1;
}

.address {
    font-size: 1rem;
    margin: 5px 0;
    z-index: 1;
}

.address i {
    margin-right: 5px;
}

.book-btn {
    background-color: #FF5A5F;
    /* Vibrant color to attract attention */
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 1;
}

.book-btn:hover {
    background-color: #FF787C;
    /* Lighter shade on hover */
}

.booking-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

@media screen and (max-width: 600px) {
    .centered-card {
        width: 90%;
        padding: 5px;
    }

    h1 {
        font-size: 1rem;
    }

    .address {
        font-size: 0.9rem;
    }
}


.calendar-container {
    flex: 0 0 100%;
    max-width: 400px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
    overflow: auto;
    /* Add this line to handle overflow */
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    /* Add this line to fix the table layout */
}

.calendar-table th,
.calendar-table td {
    text-align: center;
    padding: 5px;
    /* Adjust the padding to make the cells smaller */
}

.calendar-day {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    /* Adjust the height as needed */
    width: 40px;
    /* Set the width to match the height */
    cursor: pointer;
    border-radius: 50%;
    /* Make it circular */
    margin: 5px;
    /* Add spacing between days */
    border: none;
    /* Remove border */
    background-color: #e9ecef;
    /* Add background color */
    transition: background-color 0.3s ease-in-out; /* Add smooth background color transition */
}

.calendar-day:hover {
    background-color: #d2d8dd; /* Change background color on hover */
}

.calendar-header {
    font-weight: bold;
    margin-bottom: 10px;
    animation: pulsate 2s infinite;
}

@keyframes pulsate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
    justify-items: center;
    /* Center the weekdays horizontally */
    gap: 5px;
    /* Add space between circles */
}

.calendar-weekdays div {
    animation: rotateColors 4s infinite linear;
}

@keyframes rotateColors {
    0% {
        color: #007bff;
    }
    25% {
        color: #ff6347;
    }
    50% {
        color: #28a745;
    }
    75% {
        color: #ffc107;
    }
    100% {
        color: #dc3545;
    }
}

.calendar-day.available {
    cursor: pointer;
}

.calendar-day.selected {
    background-color: #007bff;
    color: #fff;
    transition: background-color 0.3s ease-in-out; /* Add smooth background color transition */
}

.calendar-day.selected:hover {
    background-color: #0056b3; /* Change background color on hover */
}


.time-slots-container {
    flex: 1 1 300px;
    max-width: 300px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.booking-details-container {
    flex: 1 1 300px;
    max-width: 300px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.time-slot-card {
    cursor: pointer;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.time-slot-card:hover {
    background-color: #007bff;
    color: #fff;
}

.booking-form {
    display: none;
}

.booking-form.active {
    display: block;
}

.booking-actions {
    text-align: center;
    margin-top: 20px;
}


#Dsignedby {
    background-color: #FFCC00;
    background-size: cover;
    color: white; /* White text color */
    text-align: center;
    padding: 15px;
    position: fixed;
    bottom: 0;
    width: 100%;
    display: none; /* Initially hide on desktop */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

/* ... Your existing CSS ... */

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

.btn-link {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.btn-link i {
    font-size: 18px; /* Adjust the icon size as needed */
}
.hidden {
    display: none;
}
.btn-link:hover {
    text-decoration: none;
}

#currentMonthYear {
    font-weight: bold;
    font-size: 18px; /* Adjust the size as needed */
}

.show-more-button {
    text-align: center;
    margin-top: 10px;
}

#showMoreButton {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 15px;
    cursor: pointer;
}

#showMoreButton:hover {
    background-color: #0056b3;
}


#successMessage {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #d4edda; /* Success message background color */
    color: #155724; /* Success message text color */
    border-color: #c3e6cb; /* Border color */
    padding: 0.75rem 1.25rem;
    border-radius: 0.25rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional box shadow */
}
.time-slots-heading {
    text-align: center;
    background-color: #28a745;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeSlideIn 0.5s ease-in-out 0.3s forwards;
}

@media (max-width: 767px) {
    /* Mobile-specific styling */
    .time-slots-heading {
        font-size: 1rem; /* Adjust font size for mobile */
        padding: 8px; /* Adjust padding for mobile */
        margin-bottom: 8px; /* Adjust margin for mobile */
    }
}


#Dsignedby.show {
    display: block; /* Show on mobile */
}

#Dsignedby a {
    color: #E1306C; /* Pink link color */
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

#Dsignedby a:hover {
    color: #FFD700; /* Gold color on hover */
}

#instagram-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    border-radius: 50%;
    overflow: hidden;
}

#instagram-icon img {
    width: 60px; /* Adjust image size as needed */
    height: 60px;
    object-fit: cover;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.animation {
    animation: bounce 2s infinite;
}

@media (max-width: 768px) {
    #Dsignedby {
        display: block; /* Show on mobile */
    }

    #Dsignedby.show {
        position: relative; /* Reset position for mobile */
    }
}


@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



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

    .time-slots-container,
    .booking-details-container {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* Hide footer by default */
.booking-details-container {
    display: none;
}

/* Show footer on screens with a maximum width of 768px */
@media (max-width: 768px) {
    .booking-details-container.show {
        display: block;
    }
}

