/* CSS Modal for ReCaptcha */
.css-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.css-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 340px;
    /* Fits ReCaptcha */
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.css-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 0px;
}

.css-close:hover,
.css-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Protected Trigger Button */
.css-protect-trigger {
    background: none;
    border: none;
    color: #0073aa;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.css-protect-trigger:hover {
    color: #005177;
}

/* Form Styles */
.css-secure-form {
    max-width: 500px;
    margin: 20px 0;
}

.css-form-group {
    margin-bottom: 15px;
    position: relative;
}

.css-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.css-form-control {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.css-submit-btn {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.css-submit-btn:hover {
    background-color: #005177;
}

.required {
    color: red;
}

.css-form-message {
    margin-top: 10px;
    font-weight: bold;
}

.css-recaptcha-bucket {
    margin-bottom: 15px;
}

/* Autocomplete Styles */
.css-country-wrapper {
    position: relative;
}

/* Autocomplete Styling */
.css-country-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #333;
    border: 1px solid #555;
    border-top: none;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 0;
}

.css-country-list li {
    padding: 8px 12px;
    cursor: pointer;
    color: #fff;
    border-bottom: 1px solid #444;
}

.css-country-list li:hover {
    background: #444;
}

/* International Phone Input Dark Theme Overrides */
.iti__country-list {
    background-color: #000 !important;
    color: #fff !important;
    border: 1px solid #444 !important;
    white-space: nowrap !important;
}

.iti__country-list .iti__country {
    color: #fff !important;
    background-color: #000 !important;
}

.iti__country-list .iti__country-name,
.iti__country-list .iti__dial-code {
    color: #fff !important;
}

.iti__country-list .iti__country:hover,
.iti__country-list .iti__country.iti__highlight {
    background-color: #333 !important;
}

.iti__country-list .iti__divider {
    border-bottom-color: #444 !important;
}