html.lt-translating body {
    opacity: 0.94 !important;
    visibility: hidden !important;
    transition: opacity 0.2s ease-out;
    pointer-events: none;
}

html.lt-translated body {
    opacity: 1 !important;
    visibility: visible !important;
}

.lt-global-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: lt-spin 1s linear infinite;
    z-index: 9999999;
    display: none;
}

html.lt-translating .lt-global-spinner {
    display: block;
}

@keyframes lt-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.lt-custom-dropdown {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
}

.lt-dropdown-btn {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border: 1px solid #e0e0e0;
    padding: 6px 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
    color: #444;
    transition: 0.2s;
    justify-content: space-between;
    margin: 0 !important;
}

.lt-dropdown-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.lt-btn-icon img {
    width: 18px;
    height: 13px;
    object-fit: cover;
    display: block;
}

.lt-dropdown-list {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    min-width: 100%;
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.lt-custom-dropdown.active .lt-dropdown-list {
    display: block;
}

.lt-custom-dropdown.lt-pos-edge {
    bottom: 0 !important;
}

.lt-custom-dropdown.lt-pos-top .lt-dropdown-list {
    top: 100%;
    bottom: auto;
}

.lt-dropdown-list::-webkit-scrollbar {
    width: 5px;
}

.lt-dropdown-list::-webkit-scrollbar-thumb {
    background: #ccc;
}

.lt-lang-option {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #444;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid #f5f5f5;
    transition: 0.2s;
}

.lt-lang-option:last-child {
    border-bottom: none;
}

.lt-lang-option:hover {
    background: #f0f8ff;
    color: #0073aa;
}

.lt-lang-option img {
    width: 18px;
    height: 13px;
    object-fit: cover;
    flex-shrink: 0;
}

.lt-status {
    font-size: 10px;
    margin-left: 3px;
    color: #0073aa;
}
