/* Form */
form div.mb-6 {
    margin-bottom: 2rem; /* Reduced spacing */
}

.rounded-extra {
    border-radius: 10px;
}

.custom-btn {
    padding: 5px 5px;  /* Adjusted padding */
    margin: 20px auto;   /* For horizontal centering */
    font-size: 18px;     /* Increased font size */
    display: block;      /* Make the button a block element */
    width: 180px;        /* Set a specific width for the button */
}

.event-details-inbox{
    color: white;
    font-weight: bold;
    padding-bottom: 2px;
    font-size: 14px
}

html, body {
    height: 100%;
}

.centered-content {
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    /*height: calc(100vh - 100px); !* Adjust this value based on the combined height of your header and footer *!*/
    margin: 10px;
}

/*.flex.flex-col.md:flex-row {*/
/*    width: 100%; !* ensure the content takes the full width of its container *!*/
/*    max-height: 90vh; !* adjust as needed to ensure it doesn't overflow the viewport *!*/
/*    overflow: auto; !* add scrolling if content overflows *!*/
/*}*/


.rounded-lg {
    border-radius: 3rem;
}

h1, h2 {
    color: black;
}


button {
    background-color: #002C5F; /* Wine Red */
    transition: background-color 0.3s;
}

button:active {
    background-color: #5a1724;
}

button:hover {
    background-color: #6a1d2b;
}

/* Styles for the success message */
#successMessage {
    background-color: #002C5F;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 20px 20px 20px;
    font-size: 24px;
    color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.center-form {
    /*align-items: center;*/
    width: 90%;
    align-content: center;
}

.try-this {
    display: flex; /* Use flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100%; /* Take full height of the parent */
}


#calendar {
    width: 100%;
    height: 600px;
    /* Add any additional styles as needed */
}

.calendar-container iframe {
    width: 100%;
    height: 100%;
}
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: #002C5F;
    color: #fff;
    width: 100%;
    z-index: 999;
}

.logo img {
    max-width: 250px;
    height: auto;
    margin-right: 0.5rem;
}

.footer {
    flex-shrink: 0;
    background-color: #000;
    color: #fff;
    padding: 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

@media (min-height: 900px) { /* Adjust 800px based on when you want this to kick in */
    .footer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
    }
    .calendar-container {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .center-form {
        /*align-items: center;*/
        width: 70%;
        align-content: center;
    }

}

.footer a {
    color: #63B1E5;
    text-decoration: none;
}
.text-s{
    font-size: 24px;
}
.text-sm{
    font-size: 15px;
    margin-bottom: 4px;
}
.ec-title{
    display: none;
    font-size: 24px;
}
.ec-today {
    font-size: 18px;
    background: #002C5F;
    color: white;
}
.ec-prev {
    font-size: 18px;
}
.scrollable-container {
    height: 600px; /* Adjust this value based on your desired height */
    overflow-y: auto; /* This will make it vertically scrollable */
    border: 1px solid #ccc; /* Optional: Add a border for clarity */
}
.ec-next{
    font-size: 18px;
}

#start-time, #end-time, #room, #date{
    font-size: 16px;
}
.ec, .ec-time-grid, .ec-day-view{
    padding: 20px;
}
.ec-button:not(:disabled){
    color: white;
}

#mobileButton {
    display: none;
    border: none;
    background-color: #002C5F; /* Dark blue background */
    color: white; /* White text/icon color */
    padding: 10px; /* Adjust padding as needed */
    width: 45px; /* Smaller width for the button */
    height: 45px; /* Smaller height for the button, equal to width for a perfect circle */
    border-radius: 50%; /* Makes the button circular */
    position: fixed; /* Fixed position */
    bottom: 20px; /* 20px from the bottom */
    right: 20px; /* 20px from the right */
    z-index: 1000; /* Ensure it's above other elements */
    cursor: pointer; /* Hand cursor on hover */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
    font-size: 17px; /* Smaller font size for the icon */
    box-sizing: border-box; /* Include padding and border in the button's dimensions */
}

#mobileButton:hover {
    background-color: #6a1d2b; /* Darker blue background on hover */
}

/*#mobileButton {*/
/*    display: none;*/
/*    border: 2px solid #002C5F; !* Dark blue border *!*/
/*    background-color: white;*/
/*    color: black;*/
/*    padding: 10px 20px; !* Padding to make the button larger *!*/
/*    font-size: 16px; !* Adjust font size as needed *!*/
/*    border-radius: 5px; !* Rounded corners *!*/
/*    cursor: pointer; !* Hand cursor on hover *!*/
/*    text-align: center; !* Center the text *!*/
/*    width: 200px; !* Adjust width as needed *!*/
/*    margin: 20px auto; !* Center the button horizontally and add some vertical spacing *!*/
/*    transition: background-color 0.3s, color 0.3s; !* Smooth transition for hover effect *!*/
/*}*/

/*#mobileButton:hover {*/
/*    background-color: #002C5F; !* Dark blue background on hover *!*/
/*    color: white; !* White text on hover *!*/
/*}*/

.centered-content .flex {
    align-items: flex-start;
}

.title-page{
    font-size: 24px;
    margin-bottom: 18px;
    margin-top: 8px;
}
/*.calendar-container {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    justify-content: center;*/
/*    width: 100%;*/
/*    height: 90%;*/
/*    max-height: 100%;*/
/*    margin-top: 10%; !* Adjust as needed *!*/
/*    margin-bottom: 10%;*/
/*    overflow: hidden;*/
/*}*/

body, h1, h2, label, button, select, input {
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f4f4f4;
    color: #002C5F; /* Dark Blue */
}
.flex.flex-col.md {
    max-height: 90vh; /* adjust as needed to ensure it doesn't overflow the viewport */
    overflow: auto; /* add scrolling if content overflows */
}

.center-form, .calendar-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 15px;
    transition: border-radius 0.6s ease-in-out;
    margin-top: 30px; /* Adjust as needed */
    margin-bottom: 30px;
}

h1 {
    margin-bottom: 1rem; /* Reduced space below the title */
}

h2 {
    margin-bottom: 0.75rem; /* Reduced space below the form title */
}

#eventForm {
    padding: 2rem; /* Increase padding for the form */
}

@media (max-width: 767px) {
    /* Target the clockpicker popover specifically for the end time */
    .clockpicker-popover {
        left: auto !important; /* Reset the left property */
        right: 10px !important; /* Position it from the right instead */
    }
    .clockpicker-popover .arrow {
        display: none !important;
    }
}

@media (max-width: 767px) {
    /* Flexbox Adjustments */
    .flex.flex-col.md\:flex-row {
        flex-direction: column;
    }

    .title-page{
        font-size: 20px;
        margin-bottom: 20px;
        margin-top: 4px;
    }

    #mobileButton {
        display: block;
    }

    /*#mobileButton {*/
    /*    display: block;*/
    /*}*/

    #start-time, #end-time, #room, #date{
        font-size: 14px;
    }
    .text-sm {
        font-size: 14px;
    }
    .text-s{
        font-size: 18px;
    }
    .ec-title{
        display: block;
        font-size: 16px;
    }
    .ec-today {
        font-size: 18px;
    }
    .ec-prev {
        font-size: 18px;
    }
    .ec-next{
        font-size: 18px;
    }

    .custom-btn {
        padding: 6px 6px;
        margin: auto;
        font-size: 16px;
        display: block;
        width: 120px;
    }
    /* Form Adjustments */
    /*    .md\:w-1/3 {*/
    /*    width: 100%;*/
    /*}*/

    /*    .center-form {*/
    /*        margin-top: 2rem; !* Add some space above the form *!*/
    /*    }*/

    /*    !* Calendar Adjustments *!*/
    /*    .md\:w-2/3 {*/
    /*    width: 100%;*/
    /*}*/
    .calendar-container {
        height: auto; /* Adjust the height to fit content */
    }

    /* Header and Footer Adjustments */
    .header, .footer {
        padding: 0.5rem; /* Reduce padding for header and footer */
    }

    .logo img {
        max-width: 200px; /* Reduce the size of the logo */
    }

    .footer {
        font-size: 12px;
        margin-top: 20px; /* Add some space above the footer */
    }

    h1 {
        margin-top: 2rem; /* Add space above the calendar title to prevent overlap */
    }
}