/* ============================================
   PHONE INPUT WITH COUNTRY CODE DROPDOWN
   ============================================ */

.phone-input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.country-code-select {
    flex: 0 0 200px;
    padding: 12px 35px 12px 12px;
    font-size: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    font-family: inherit;
    height: auto;
}

.country-code-select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.country-code-select option {
    padding: 11px;
    font-size: 14px;
}

.phone-number-input {
    flex: 1;
    padding: 12px 15px;
    font-size: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.phone-number-input:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-help {
    display: block;
    font-size: 13px;
    color: #999;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .phone-input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .country-code-select {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .country-code-select {
        font-size: 13px;
        padding: 10px 30px 10px 10px;
    }
    
    .phone-number-input {
        font-size: 14px;
        padding: 10px 12px;
    }
}

/* Search functionality for country dropdown (if you add search later) */
.country-code-select::-webkit-search-cancel-button {
    display: none;
}