/*
 * css/froni-bd-popup.css
 * Styles for the bd popup in the Froni theme.
 * 
 * @package Froni
 */
.hidden-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

/* Custom Popup Styles */
.custom-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
		justify-content: center;
    align-items: center;
		display: flex; /* Flexbox for centering */
}

.custom-popup {
    background: #fff;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.custom-popup-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

/* Container for the custom popup form */
#custom-popup-form {
    display: flex;
    flex-wrap: wrap;
		margin-top: 15px;
}

#custom-popup-form .form-row {
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
}

#custom-popup-form .half-width {
    flex: 1 1 48%;
    margin-right: 2%;
}

#custom-popup-form .half-width:last-child {
    margin-right: 0;
}

#custom-popup-form .full-width {
    flex: 1 1 100%;
}

#custom-popup-form label {
    width: 100%;
}

#custom-popup-form input[type="text"],
#custom-popup-form input[type="email"],
#birthday {
    width: 100%;
		margin-top: 5px;
}

/* Adjust the submit button alignment */
#custom-popup-form button[type="button"] {
    margin-left: auto;
    display: block;
}

.custom-popup-form-title-1 {
		color: #000;
    text-align: left;
    text-shadow: 0 0 0 rgba(2, 2, 2, .23);
    font-family: inherit;
    font-weight: 700 !important;
    font-size: 32px;
    line-height: 36px;
}

/* Adjust date picker input fields */
.ui-datepicker-year, .ui-datepicker-month {
    width: auto;
    background-image: none;
}

/* Disable zoom on input focus */
input, select, textarea {
    font-size: 16px;
}

.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
    width: 45%;
}

/* Hide date picker bg arrow */
select, .select2-container .select2-selection--single {
    background-size: .8em;
    background-repeat: no-repeat;
    background-position-x: calc(100% - 10px);
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 0em;
    background-image: none !important;
}

#form-message {
    margin-top: 5px;
    font-size: 14px;
    display: none; /* Ensure it starts hidden */
}

#form-submitting-message {
    margin-top: 5px;
    font-size: 14px;
    display: none; /* Ensure it starts hidden */
}

.error-message {
    color: red;
    font-size: 14px;
    display: none; /* Ensure it starts hidden */
}

#minimized-banner {
    display: none;
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: rgb(232, 117, 135);
    color: white;
    padding: 3px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    z-index: 10000;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 10px;
    line-height: 1.2;
}