/* WP Auto Translator - Floating Language Switcher Styles */

.wpat-floating-switcher {
    position: fixed;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.5px;
    font-weight: 700;
    user-select: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Positions */
.wpat-floating-switcher.wpat-pos-bottom-right {
    bottom: 24px;
    right: 24px;
}

.wpat-floating-switcher.wpat-pos-bottom-left {
    bottom: 24px;
    left: 24px;
}

.wpat-floating-switcher.wpat-pos-top-right {
    top: 24px;
    right: 24px;
}

.wpat-floating-switcher.wpat-pos-top-left {
    top: 24px;
    left: 24px;
}

/* Pill container */
.wpat-switcher-pill {
    display: flex;
    align-items: center;
    background: rgba(18, 22, 32, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28), 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.wpat-switcher-pill:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 4px 10px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Language links */
.wpat-lang-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 30px;
    padding: 0 10px;
    border-radius: 20px;
    color: #a0aec0;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    outline: none;
}

.wpat-lang-item:hover {
    color: #ffffff;
}

/* Active language */
.wpat-lang-item.is-active {
    background: #3b82f6;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

/* Mobile responsive adjustments */
@media (max-width: 600px) {
    .wpat-floating-switcher.wpat-pos-bottom-right {
        bottom: 16px;
        right: 16px;
    }
    .wpat-floating-switcher.wpat-pos-bottom-left {
        bottom: 16px;
        left: 16px;
    }
    .wpat-lang-item {
        min-width: 32px;
        height: 28px;
        padding: 0 8px;
        font-size: 12px;
    }
}
