/* Converter Form */
.converter-form {
    padding: 0.4em;
    background: var(--bs-light);
    border: 0.15em solid var(--bs-primary);
    color: var(--bs-black); 
}
/* Map Form */
.map-form {
    padding: 0.4em;
    background: var(--bs-light);
    border: 0.2em solid var(--bs-primary);
    border-bottom: none;

    color: var(--bs-black); 
} 
/* Converter Form | Output Container */
.converter-form .output ,
/* Map Form | Output Container */
.map-form .output {
    display: none;
    border: 0.1em solid var(--bs-dark);
    background: var(--bs-white);
    padding: 0em 0.3em;
}
/* Converter Form | Form Select */
.map-form .form-select {
    display: inline-block;
    max-width: fit-content;
}
/* URL Builder L2 Search | Polygon Box */
#polygonReturnBox,
/*URL Builder L2 Search | URL Box */ 
#urlReturnBox {
    margin-bottom: 1em;
    word-wrap: break-word;
}
/* ESRI | Map Container */
.map-container {
    width: 100%;
    height: 40em;
    border: 0.2em solid var(--bs-dark);
    cursor: pointer;
    background: var(--bs-secondary);
}

/* *********************************** START the CSS for the calendar date selector ****************************/

#tab-content .calendarIcon {
    width: 40px;
    height: 40px;
    display: inline-block;
    text-align: center;
    line-height: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Additional styling to position the popup right below the calendar icon */

#tab-content .calendar-icon-wrapper {
    /* Relative positioning for the wrapper */
    display: inline-block;
    /* Align with the input field */
    position: relative; 
}

/* FROM HERE - CSS for  calendar popup */
#tab-content .calcontainer {
    position: absolute;
    max-width: 375px;
    width: fit-content;
    max-height: 450px;
    height: auto;
    overflow-y: auto;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 8px;
    margin: 20px;
    display: none;
    z-index: 3;
}

#tab-content .top {
    width: 100%;
    text-align: center;
    padding: 5px 0;
}

#tab-content button {
    background-color: #0085CA;
    color: #ffffff;
    border: none;
    padding: 5px 10px;
    margin: 2px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    font-size: 14px;
}

#tab-content button:hover {
    background-color: #003087;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

#tab-content #calendar th,
#tab-content #calendar td {
    border: 1px solid #ddd;
    padding: 5px;
    text-align: center;
    font-size: 14px;
}

#tab-content #calendar th {
    background-color: #003087;
    color: #ffffff;
}

#tab-content .day-btn {
    border: none;
    background: none;
    width: 100%;
    height: 100%;
    padding: 5px;
    cursor: pointer;
    color: black;
    font-size: 14px;
}

#tab-content .today {
    background-color: #0085CA;
    color: white;
}

#tab-content .selectDropdowns {
    padding: 5px 25px 5px 5px;
    margin: 2px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
}

#tab-content .selectDropdowns:hover {
    background-color: #f0f0f0;
}
/*

/* TO HERE - CSS for  calendar popup */
/* *********************************** End the CSS for the calendar date selector ****************************/