/* ===== Full Selector ===== */
#wccs-selector {
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ccc;
    max-width: 400px;
    margin: 20px auto;
    border-radius: 8px;
}
#wccs-selector select {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    font-size: 16px;
}
#wccs-selector button {
    padding: 12px;
    width: 100%;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}
#wccs-msg {
    margin-top: 10px;
    font-weight: 500;
}

/* ===== Header Selector ===== */
.wccs-header-wrapper {
    position: relative;
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.wccs-header-current {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 80px;
    justify-content: center;
}

.wccs-header-current:hover {
    border-color: #0073aa;
    background: #f8f9fa;
}

.wccs-flag-code {
    font-size: 15px;
    letter-spacing: 0.5px;
}

.wccs-arrow {
    font-size: 10px;
    color: #666;
    margin-left: 2px;
}

/* Dropdown */
.wccs-header-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    width: 280px;
    max-height: 340px;
    overflow: hidden;
    z-index: 99999;
}

.wccs-search-box {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.wccs-search-box input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
}

.wccs-search-box input:focus {
    border-color: #0073aa;
}

.wccs-country-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 280px;
    overflow-y: auto;
}

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

.wccs-country-item:hover {
    background: #f0f7ff;
}

.wccs-country-item.selected {
    background: #e8f4fd;
    font-weight: 600;
}

.wccs-flag {
    font-size: 18px;
    line-height: 1;
    min-width: 24px;
}

.wccs-code {
    font-weight: 600;
    font-size: 13px;
    color: #333;
    min-width: 30px;
}

.wccs-name {
    font-size: 13px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}