/* Estilos para o seletor de país de telefone */
.phone-country-container {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    gap: 0;
}

.phone-country-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-right: none;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    cursor: pointer;
    background-color: #fff;
    user-select: none;
    flex-shrink: 0;
    transition: background-color 0.2s;
}

.phone-country-selector:hover {
    background-color: #f5f5f5;
}

.phone-country-container input[type="tel"] {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    flex: 1;
}

.phone-country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    max-height: 300px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-top: 4px;
}

.phone-country-dropdown input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-bottom: 1px solid #eee;
    outline: none;
    font-size: 14px;
}

.phone-country-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.phone-country-item:hover {
    background-color: #f5f5f5;
}

.phone-country-item:last-child {
    border-bottom: none;
}

.phone-country-item img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
}

.phone-country-item > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.phone-country-item span:first-child {
    font-size: 14px;
    color: #333;
}

.phone-country-item span:last-child {
    font-size: 12px;
    color: #666;
}

