.gpt-switcher {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.gpt-switcher__toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: box-shadow 0.2s;
    font-size: 14px;
    color: #333;
}

.gpt-switcher__toggle:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}

.gpt-switcher__toggle:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

.gpt-switcher__dropdown {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 8px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    list-style: none;
    padding: 8px 0;
    margin-top: 0;
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
}

.gpt-switcher__dropdown.is-open {
    display: block;
}

.gpt-switcher__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    text-decoration: none !important;
    color: #333 !important;
    transition: background 0.15s;
    font-size: 14px;
}

.gpt-switcher__option:hover {
    background: #f5f5f5;
    text-decoration: none !important;
}

.gpt-switcher__option--active {
    font-weight: 600;
    background: #f0f7ff;
}

.gpt-switcher__flag {
    border-radius: 2px;
    flex-shrink: 0;
}

.gpt-switcher__chevron {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.gpt-switcher.is-open .gpt-switcher__chevron {
    transform: rotate(180deg);
}

/* Scrollbar styling for the dropdown */
.gpt-switcher__dropdown::-webkit-scrollbar {
    width: 6px;
}

.gpt-switcher__dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.gpt-switcher__dropdown::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 480px) {
    .gpt-switcher {
        bottom: 16px;
        right: 16px;
    }

    .gpt-switcher__label {
        display: none;
    }

    .gpt-switcher__dropdown {
        min-width: 180px;
        max-height: 300px;
    }
}
