
.phone-no-container {
    position: relative;
    display: flex;
    /* max-width: 400px; */
    border: 1px solid #ccc;
    margin-bottom: 10px;
    border-radius: 4px;
}

.phone-select-container {
    position: absolute;
    /* margin-bottom: 10px; */
}

.phone_number_select {
    display: block !important;
    width: 40px;
    border: none !important;
    border-radius: 4px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 30px;
    cursor: pointer;
}

.phone-dropdown-wrapper {
    position: absolute;
    width: 100%;
    z-index: 1000;
    display: none;
}

.phone-dropdown-wrapper.active {
    display: block;
}

.phone-dropdown-content {
    position: absolute;
    width: 250px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.phone-country-search {
    width: 100%;
    padding: 8px;
    border: none;
    border-bottom: 1px solid #eee;
    border-radius: 4px 4px 0 0;
}

.phone-dropdown-options {
    max-height: 300px;
    overflow-y: auto;
}

.phone-dropdown-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 8px;
    cursor: pointer;
}

.phone-dropdown-option:hover {
    background-color: #f0f0f0;
}

.phone-dropdown-wrapper.position-above {
    bottom: 100%;
    margin-bottom: 5px;
}

.phone-dropdown-wrapper.position-above .phone-dropdown-content {
    flex-direction: column-reverse;
}

.phone-dropdown-wrapper.position-above .country-search {
    border-top: 1px solid #eee;
    border-bottom: none;
    border-radius: 0 0 4px 4px;
}

.phone-dropdown-wrapper.position-below {
    top: 100%;
    margin-top: 5px;
}

.phone-input {
    width: 100%;
    padding: 0 0 0 50px;
    border: none !important;
    border-radius: 4px; 
}