/* ===================================================================
   IPTV LIENGO MAROC - MODERN DARK STREAMING THEME
   Supports Bootstrap 5, LTR & RTL (Arabic / French / Spanish / English)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #07090e;
    --bg-card: rgba(18, 24, 38, 0.85);
    --bg-card-hover: rgba(26, 34, 53, 0.95);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(99, 102, 241, 0.4);
    
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.35);
    
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --whatsapp-color: #25D366;
    --whatsapp-glow: rgba(37, 211, 102, 0.4);

    --font-ltr: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-rtl: 'Cairo', 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* Global Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-ltr);
    overflow-x: hidden;
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 60%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
    background-attachment: fixed;
}

/* RTL Support for Moroccan Arabic */
html[dir="rtl"] body {
    font-family: var(--font-rtl);
    text-align: right;
}

html[dir="rtl"] .dropdown-menu {
    text-align: right;
}

html[dir="rtl"] .form-select {
    background-position: left 0.75rem center;
}

html[dir="rtl"] .accordion-button::after {
    margin-right: auto;
    margin-left: 0;
}

html[dir="rtl"] .ms-auto {
    margin-left: unset !important;
    margin-right: auto !important;
}

html[dir="rtl"] .me-auto {
    margin-right: unset !important;
    margin-left: auto !important;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gradient-primary {
    background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #fde68a 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Top Announcement Ticker Bar */
.top-bar {
    background: linear-gradient(90deg, #1e1b4b 0%, #0f172a 50%, #1e1b4b 100%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    font-size: 0.85rem;
    padding: 6px 0;
}

/* Sticky Navbar with Glassmorphism */
.navbar-custom {
    background: rgba(7, 9, 14, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    background: rgba(7, 9, 14, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 10px 0;
}

.navbar-brand {
    font-size: 1.45rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
}

.brand-badge {
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05);
}

/* Switcher Controls (Language & Currency) */
.selector-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.selector-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.dropdown-menu-dark {
    background-color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    padding: 8px;
}

.dropdown-item {
    color: var(--text-secondary);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover, .dropdown-item.active {
    background: rgba(99, 102, 241, 0.15);
    color: #fff;
}

/* Custom Buttons */
.btn-primary-glow {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 12px 26px;
    box-shadow: 0 4px 20px var(--primary-glow);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary-glow:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    box-shadow: 0 6px 28px rgba(99, 102, 241, 0.6);
    transform: translateY(-2px);
    color: #fff;
}

.btn-whatsapp-glow {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 12px 26px;
    box-shadow: 0 4px 20px var(--whatsapp-glow);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-whatsapp-glow:hover {
    background: linear-gradient(135deg, #20ba5a 0%, #0d6e63 100%);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65);
    transform: translateY(-2px);
    color: #fff;
}

.btn-outline-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-weight: 600;
    border-radius: 10px;
    padding: 12px 26px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding: 120px 0 70px 0;
    position: relative;
}

.hero-pill-badge {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.15;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin-bottom: 32px;
}

.hero-stats-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.hero-stats-badge .stat-num {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.hero-stats-badge .stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Feature Stream Showcase Card */
.hero-stream-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.hero-stream-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Channel Ticker & Marquee */
.channel-marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 18px 0;
    background: rgba(15, 23, 42, 0.6);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.channel-marquee-content {
    display: inline-flex;
    gap: 30px;
    animation: marquee 35s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

html[dir="rtl"] .channel-marquee-content {
    animation: marquee-rtl 35s linear infinite;
}

@keyframes marquee-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

.channel-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
}

/* Section Common Styling */
.section-padding {
    padding: 90px 0;
}

.section-badge {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 10px;
    display: inline-block;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 50px auto;
}

/* Pricing Cards */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px 28px;
    position: relative;
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
}

.pricing-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(30, 27, 75, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.25);
}

.pricing-card.vip {
    border-color: var(--accent-amber);
    background: linear-gradient(180deg, rgba(69, 39, 14, 0.5) 0%, rgba(15, 23, 42, 0.9) 100%);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.2);
}

.pricing-card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #38bdf8);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.5);
    white-space: nowrap;
}

.pricing-card-badge.gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.plan-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    min-height: 42px;
}

.price-wrap {
    margin: 24px 0;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.price-amount {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.price-currency {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-right: 4px;
}

html[dir="rtl"] .price-currency {
    margin-right: 0;
    margin-left: 4px;
}

.price-period {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.features-list li {
    padding: 8px 0;
    font-size: 0.92rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li i.check-icon {
    color: var(--accent-emerald);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.features-list li i.star-icon {
    color: var(--accent-amber);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Feature Boxes */
.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 30px 24px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-5px);
    background: var(--bg-card-hover);
}

.feature-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Devices Compatibility Grid */
.device-item-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px 14px;
    text-align: center;
    transition: all 0.25s ease;
}

.device-item-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-3px);
}

.device-item-card i {
    font-size: 2.2rem;
    color: #a5b4fc;
    margin-bottom: 10px;
    display: inline-block;
}

.device-item-card h6 {
    font-size: 0.92rem;
    margin: 0;
    color: #f1f5f9;
}

/* Testimonial Card */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.star-rating {
    color: #fbbf24;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

/* FAQ Accordion */
.accordion-custom .accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px !important;
    margin-bottom: 14px;
    overflow: hidden;
}

.accordion-custom .accordion-button {
    background: var(--bg-card);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 18px 22px;
    box-shadow: none !important;
}

.accordion-custom .accordion-button:not(.collapsed) {
    background: rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
    border-bottom: 1px solid var(--border-color);
}

.accordion-custom .accordion-body {
    background: rgba(15, 23, 42, 0.7);
    color: var(--text-secondary);
    padding: 20px 22px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Payment Gateway Badge Section */
.payment-card-grid {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
}

.payment-method-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.25s ease;
}

.payment-method-item:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

/* Location Card (Bir Jdid) */
.location-card {
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.6) 0%, rgba(15, 23, 42, 0.85) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    padding: 36px 30px;
}

/* Checkout Modal */
.modal-content-custom {
    background: #0f172a;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.modal-header-custom {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 26px;
}

.modal-body-custom {
    padding: 26px;
}

.modal-footer-custom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 26px;
}

.payment-nav-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.payment-nav-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.copy-address-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: monospace;
    font-size: 0.88rem;
    word-break: break-all;
}

.btn-copy-address {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn-copy-address:hover {
    background: var(--primary);
}

/* Floating WhatsApp Floating Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

html[dir="rtl"] .floating-whatsapp {
    right: unset;
    left: 30px;
    flex-direction: row-reverse;
}

.floating-whatsapp-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1) rotate(5deg);
    color: #fff;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.7);
}

.floating-whatsapp-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.floating-whatsapp-tooltip {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.footer-main {
    background: #05070a;
    border-top: 1px solid var(--border-color);
    padding: 70px 0 30px 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.footer-main h5 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    padding-top: 25px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsiveness */
@media (max-width: 991px) {
    .hero-section {
        padding: 90px 0 50px 0;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats-badge {
        margin-bottom: 15px;
    }

    .pricing-card {
        margin-bottom: 24px;
    }
}

@media (max-width: 576px) {
    .top-bar {
        font-size: 0.75rem;
    }
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.25;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
    }
    html[dir="rtl"] .floating-whatsapp {
        left: 20px;
    }
    .floating-whatsapp-tooltip {
        display: none;
    }

    /* Mobile Payment Grid & Modal UX */
    .payment-methods-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .payment-method-card {
        padding: 12px 6px !important;
    }
    .payment-method-card .method-name {
        font-size: 0.78rem !important;
    }
    .payment-method-card .method-tag {
        font-size: 0.65rem !important;
    }
    .modal-body-custom {
        padding: 18px 14px !important;
    }
    .form-control-sm, .form-select-sm {
        min-height: 42px !important;
        font-size: 0.88rem !important;
    }
    .btn-whatsapp-glow {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ===================================================================
   Cookie Consent Banner (GDPR / RGPD)
   =================================================================== */
.liengo-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 15, 25, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(56, 189, 248, 0.25);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7);
    z-index: 99999;
    padding: 8px 0;
    animation: slideUpCookie 0.35s ease-out forwards;
}

@keyframes slideUpCookie {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===================================================================
   Checkout Modal Payment Methods Grid
   =================================================================== */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.payment-method-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 16px 8px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.payment-method-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(56, 189, 248, 0.45);
    transform: translateY(-2px);
}

.payment-method-card.active {
    background: rgba(56, 189, 248, 0.12) !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.35) !important;
    transform: translateY(-2px);
}

.method-check-circle {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: transparent;
    transition: all 0.2s ease;
}

html[dir="rtl"] .method-check-circle {
    right: auto;
    left: 7px;
}

.payment-method-card.active .method-check-circle {
    background: #38bdf8;
    border-color: #38bdf8;
    color: #07090e;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.payment-method-card .method-icon {
    font-size: 1.45rem;
    color: #94a3b8;
    transition: color 0.2s;
}

.payment-method-card.active .method-icon {
    color: #38bdf8;
}

.payment-method-card .method-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.2;
}

.payment-method-card .method-tag {
    font-size: 0.7rem;
    color: #94a3b8;
}
