/* General Styles */
body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Calendar Container */
.calendar {
    width: 90%;
    max-width: 800px;
    margin: auto;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
    text-align: center;
}

/* Calendar Header */
.calendar h2 {
    margin: 0;
    font-size: 1.8rem;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar h2 a {
    text-decoration: none;
    color: #4caf50;
    font-size: 1.5rem;
    padding: 0 10px;
    transition: color 0.3s ease;
}

.calendar h2 a:hover {
    color: #388e3c;
}

/* Calendar Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

thead th {
    font-size: 1rem;
    color: #fff;
    background: #4caf50;
    padding: 10px;
    text-transform: uppercase;
}

tbody td {
    width: 14.28%;
    height: 100px;
    text-align: center;
    vertical-align: top;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Available Status */
.available {
    background: #e8f5e9;
    color: green;
}

.available:hover {
    background: blue;
}

/* Booked Status */
.booked {
    background: skyblue;
    color: #d32f2f;
    cursor: not-allowed;
}

.booked:hover {
    background: #ffcdd2;
}

/* Empty Cells */
tbody td:empty {
    background: #f4f4f4;
    cursor: default;
}

/* Today's Date */
.today {
    background: #bbdefb;
    color: #0d47a1;
    font-weight: bold;
    border: 2px solid #2196f3;
}

/* Booking Form */
#bookingForm {
    margin-top: 20px;
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    max-width: 500px;
    margin: 20px auto;
}

#bookingForm h3 {
    margin: 0;
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #333;
}

#bookingForm input, #bookingForm button {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#bookingForm button {
    background: #4caf50;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

#bookingForm button:hover {
    background: #388e3c;
}

/* Responsive Design */
@media (max-width: 600px) {
    thead th {
        font-size: 0.8rem;
    }

    tbody td {
        height: 80px;
        font-size: 0.9rem;
    }

    .calendar h2 {
        font-size: 1.5rem;
    }

    #bookingForm {
        padding: 15px;
    }
}




/* Popup Form Styling */
.popup-form {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* Semi-transparent background */
    overflow: auto; /* Enable scrolling */
}

.popup-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 40%; /* Adjust width as needed */
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: #000;
    cursor: pointer;
}

.close-btn:hover {
    color: red;
}

input[type="text"], button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}







/* Style for the floating WhatsApp button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px; /* Distance from bottom */
    right: 20px; /* Distance from right */
    z-index: 1000;
}

.whatsapp-icon {
    width: 60px;  /* Adjust icon size */
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover .whatsapp-icon {
    transform: scale(1.1);
}
