/* Darb Auto Country Code & Flag Picker Styles */
.darb-phone-picker-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.darb-country-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    cursor: pointer;
    font-weight: 800;
    color: #0f172a;
    font-size: 0.92rem;
    transition: all 0.2s ease;
    user-select: none;
    height: 48px;
    box-sizing: border-box;
}

.darb-country-btn:hover {
    background: #ffffff;
    border-color: #c89951;
}

.darb-country-flag {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.darb-country-dial {
    font-weight: 900;
    color: #b45309;
    direction: ltr;
}

.darb-chevron {
    font-size: 0.75rem;
    color: #c89951;
    margin-right: 2px;
}

/* Dropdown Menu Popup */
.darb-country-dropdown {
    position: absolute;
    top: 115%;
    right: 0;
    background: #ffffff;
    border: 1.5px solid #c89951;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.25);
    z-index: 99999;
    width: 290px;
    max-height: 320px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.darb-country-search-box {
    padding: 10px 12px;
    background: #f8fafc;
    border-bottom: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.darb-country-search-box i {
    color: #c89951;
    font-size: 0.9rem;
}

.darb-country-search-box input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-weight: 700;
    font-size: 0.88rem;
    color: #0f172a;
}

.darb-country-list {
    overflow-y: auto;
    max-height: 250px;
    padding: 4px 0;
}

.darb-country-list::-webkit-scrollbar {
    width: 5px;
}
.darb-country-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.darb-country-list::-webkit-scrollbar-thumb {
    background: #c89951;
    border-radius: 10px;
}

.darb-country-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.18s ease;
    border-bottom: 1px solid #f1f5f9;
}

.darb-country-item:hover, .darb-country-item.selected {
    background: #fffdf5;
}

.darb-country-item.selected {
    font-weight: 900;
}

.darb-country-name {
    flex: 1;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.darb-country-code-badge {
    font-size: 0.85rem;
    font-weight: 900;
    color: #c89951;
    direction: ltr;
    background: rgba(200, 153, 81, 0.1);
    padding: 2px 8px;
    border-radius: 8px;
}

.darb-country-no-result {
    padding: 1.5rem;
    text-align: center;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.88rem;
}
