/* Custom Choices.js styling */
.choices {
    width: auto;
    margin: 0;
}

.choices__inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 32px;
    font-weight: 400;
    padding: 28px 42px;
    border-radius: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: auto;
    padding-right: 80px;
    
}

.choices__inner:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.choices.is-open .choices__inner {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 24px;
}

.choices__list--single {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.choices__item {
    color: white;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.choices[data-type*=select-one]::after {
    content: '';
    width: 24px;
    height: 24px;
    border: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 42px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    transition: transform 0.3s ease;
}

.choices[data-type*=select-one].is-open::after {
    margin: 0;
    transform: translateY(-50%) rotate(180deg);
}

/* Dropdown menu */
.choices__list--dropdown {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    margin-top: 8px;
    padding: 12px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.choices__list--dropdown .choices__item {
    color: #333;
    font-size: 28px;
    padding: 16px 42px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 16px;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background: rgba(139, 127, 232, 0.2);
}

.choices__list--dropdown .choices__item--selectable {
    padding-right: 42px;
}

/* Custom flag and icon styling */
.flag-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    vertical-align: middle;
}

.phone-icon svg {
    width: 100%;
    height: 100%;
}

.phone-number {
    white-space: nowrap;
}