/*
Theme Name: AliOne Child Enhanced
Description: Premium SMM Panel Child Theme - Enhanced Version with Elementor & WPML Support
Template: hello-elementor
Version: 2.0.0
Text Domain: alione-child
Domain Path: /languages
Tags: business, portfolio, elementor, wpml-ready, rtl-ready
Author: AliOne.Pro
Author URI: https://alione.pro
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Import Color Scheme */
@import url('assets/css/colors.css');

/* Import Homepage Styles */
@import url('assets/css/homepage.css');

/* Import Elementor Compatibility */
@import url('assets/css/elementor-compatibility.css');

/* Import Responsive Styles */
@import url('assets/css/responsive.css');

/* Hide WordPress credits */
.wp-block-site-info,
.footer-credits,
.site-info,
p a[href*="wordpress.org"] {
    display: none !important;
}

/* Base theme overrides */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s ease;
}

/* Elementor compatibility fixes */
.elementor-section-wrap {
    overflow: visible;
}

.elementor-widget-wrap {
    position: relative;
}

.elementor-container {
    position: relative;
}

/* WPML Language Switcher Base Styles */
.wpml-language-switcher {
    position: fixed;
    top: 20px;
    right: 80px;
    z-index: 1001;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.wpml-language-switcher:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(107, 70, 193, 0.2);
}

.wpml-language-switcher select {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    min-width: 60px;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .wpml-language-switcher {
    right: auto;
    left: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-purple), var(--light-purple));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--light-purple), var(--neon-cyan));
}

/* Accessibility improvements */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--neon-cyan);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    z-index: 999999;
    background: var(--accent-purple);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}