/**
 * Movixit Enterprise Utility - Frontend Styles
 * @version 3.0.0
 */

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.movixit-language-switcher {
    position: relative;
    display: inline-block;
    z-index: 9999;
}

.movixit-language-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #0b1f3a;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
}

.movixit-language-current:hover {
    background: #ffffff;
    border-color: #40B5AD;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.movixit-language-flag {
    font-size: 20px;
    line-height: 1;
}

.movixit-language-name {
    font-size: 14px;
}

.movixit-language-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.movixit-language-switcher.open .movixit-language-arrow {
    transform: rotate(180deg);
}

.movixit-language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    padding: 6px;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.movixit-language-switcher.open .movixit-language-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.movixit-language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #0b1f3a;
    transition: all 0.2s ease;
}

.movixit-language-option:hover {
    background: #f1f5f9;
}

.movixit-language-option.active {
    background: #eef9f8;
    color: #40B5AD;
}

.movixit-language-option .movixit-language-check {
    margin-left: auto;
    color: #40B5AD;
}

/* ============================================================
   CURRENCY SWITCHER
   ============================================================ */
.movixit-currency-switcher {
    position: relative;
    display: inline-block;
    z-index: 9998;
}

.movixit-currency-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #0b1f3a;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
}

.movixit-currency-current:hover {
    background: #ffffff;
    border-color: #40B5AD;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.movixit-currency-symbol {
    font-weight: 600;
    font-size: 16px;
}

.movixit-currency-code {
    font-size: 14px;
}

.movixit-currency-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.movixit-currency-switcher.open .movixit-currency-arrow {
    transform: rotate(180deg);
}

.movixit-currency-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    padding: 6px;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.movixit-currency-switcher.open .movixit-currency-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.movixit-currency-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #0b1f3a;
    transition: all 0.2s ease;
}

.movixit-currency-option:hover {
    background: #f1f5f9;
}

.movixit-currency-option.active {
    background: #eef9f8;
    color: #40B5AD;
}

.movixit-currency-option .movixit-currency-check {
    margin-left: auto;
    color: #40B5AD;
}

/* ============================================================
   RESPONSIVE - FRONTEND
   ============================================================ */
@media (max-width: 768px) {
    .movixit-language-switcher {
        position: static;
    }
    
    .movixit-language-dropdown {
        position: fixed;
        top: 60px;
        right: 16px;
        left: 16px;
        min-width: auto;
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .movixit-currency-switcher {
        position: static;
    }
    
    .movixit-currency-dropdown {
        position: fixed;
        top: 60px;
        right: 16px;
        left: 16px;
        min-width: auto;
        max-height: 60vh;
        overflow-y: auto;
    }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.movixit-hidden {
    display: none !important;
}

.movixit-visible {
    display: block !important;
}

.movixit-text-center {
    text-align: center !important;
}

.movixit-text-right {
    text-align: right !important;
}

.movixit-text-left {
    text-align: left !important;
}

.movixit-mt-1 { margin-top: 8px !important; }
.movixit-mt-2 { margin-top: 16px !important; }
.movixit-mt-3 { margin-top: 24px !important; }
.movixit-mb-1 { margin-bottom: 8px !important; }
.movixit-mb-2 { margin-bottom: 16px !important; }
.movixit-mb-3 { margin-bottom: 24px !important; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes movixit-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes movixit-slide-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.movixit-fade-in {
    animation: movixit-fade-in 0.3s ease forwards;
}

.movixit-slide-down {
    animation: movixit-slide-down 0.3s ease forwards;
}