/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 4px;
    padding: 40px 30px; /* Increased top padding for spacing */
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
    font-family: 'Open Sans', sans-serif;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #ccc; /* Lighter close icon */
    cursor: pointer;
    background: none;
    border: none;
    font-weight: bold;
}

.modal-close:hover {
    color: #333;
}

.modal-title {
    font-size: 24px;
    font-weight: 400;
    color: #333;
    margin-bottom: 30px;
    margin-top: 0;
}

.modal-form-group {
    margin-bottom: 20px;
    position: relative;
}

/* New Select Box Style */
.custom-select-box {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.custom-select-box:hover {
    border-color: #999;
}

.custom-select-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.custom-select-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-select-value {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    display: flex;
    align-items: center;
}

.custom-select-icon {
    color: #777;
    font-size: 12px;
}

.flag-icon {
    margin-right: 10px;
    font-size: 20px;
    line-height: 1;
}

/* Dropdown Options */
.custom-options-dropdown {
    border: 1px solid #ccc;
    margin-top: 5px;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    position: absolute;
    width: 100%;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    left: 0;
}

.option-item {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.option-item:hover {
    background-color: #f5f5f5;
}

.modal-btn {
    width: 100%;
    background-color: #007C89;
    color: white;
    font-size: 18px;
    padding: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.modal-btn:hover {
    background-color: #005f6b;
}
