/* Country Code Selector */
.cc-wrapper {
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
}
.cc-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 0 0.75rem;
    cursor: pointer;
    color: #fff;
    white-space: nowrap;
    transition: all 0.3s ease;
    min-width: 90px;
    justify-content: center;
}
.cc-btn:hover {
    background: rgba(255,255,255,0.12);
}
.cc-btn-flag {
    font-size: 1.2rem;
    line-height: 1;
}
.cc-btn-dial {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}
.cc-btn-arrow {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.4);
    margin-left: 0.15rem;
}
.cc-phone-input {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 0 8px 8px 0;
    color: white;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    min-width: 0;
}
.cc-phone-input:focus {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.35);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}
.cc-phone-input::placeholder {
    color: rgba(255,255,255,0.4);
}
.cc-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    max-height: 280px;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    margin-top: 4px;
    z-index: 9999;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    overflow: hidden;
    flex-direction: column;
}
.cc-dropdown.open {
    display: flex;
}
.cc-search {
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: rgba(255,255,255,0.06);
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-size: 0.85rem;
    outline: none;
}
.cc-search::placeholder {
    color: rgba(255,255,255,0.35);
}
.cc-list {
    overflow-y: auto;
    flex: 1;
    max-height: 230px;
}
.cc-list::-webkit-scrollbar {
    width: 5px;
}
.cc-list::-webkit-scrollbar-track {
    background: transparent;
}
.cc-list::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
}
.cc-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.85rem;
    cursor: pointer;
    transition: background 0.15s;
}
.cc-option:hover {
    background: rgba(255,255,255,0.08);
}
.cc-option-flag {
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
}
.cc-option-name {
    flex: 1;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cc-option-dial {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    flex-shrink: 0;
}
.cc-no-results {
    padding: 1rem;
    text-align: center;
    color: rgba(255,255,255,0.35);
    font-size: 0.85rem;
}
.cc-hidden {
    display: none;
}

@media (max-width: 480px) {
    .cc-btn {
        min-width: 78px;
        padding: 0 0.5rem;
    }
    .cc-dropdown {
        width: 260px;
    }
}
