:root {
    /* Color Palette - White/Lilac/Purple (Roxo/Violeta) */
    --primary-color: #ec4899;
    /* Pink/Magenta from Logo */
    --primary-hover: #db2777;
    --primary-light: #fbcfe8;
    --primary-bg: #fdf2f8;

    --secondary-color: #f97316;
    /* Orange from Logo */
    --accent-color: #06b6d4;
    /* Cyan from Logo */

    /* Backgrounds */
    --bg-body: #e9ecf3;
    /* Cooler, slightly darker gray for better card contrast */
    --bg-sidebar: #ffffff;
    --bg-card: #ffffff;
    --bg-input: #f8fafc;

    /* Text */
    --text-main: #1e1b4b;
    /* Indigo 950 - Deep dark purple/blue */
    --text-muted: #64748b;
    /* Slate 500 */
    --text-light: #94a3b8;
    /* Slate 400 */
    --text-on-primary: #ffffff;

    /* Sidebar Specific */
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 72px;
    --sidebar-item-active: #f5f3ff;
    --sidebar-text: #4c1d95;
    /* Violet 900 */
    --sidebar-border: #e2e8f0;

    /* UI Elements */
    --border-color: #e2e8f0;
    --border-focus: #ec4899;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-primary: 0 4px 14px 0 rgba(236, 72, 153, 0.39);

    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Global Reset & Typography */
body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    overflow-x: hidden;
    padding-bottom: 0px !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 600;
}

a {
    color: var(--primary-color);
    transition: all 0.2s ease;
    text-decoration: none;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

/* App Container Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, #0f172a 0%, #082f49 100%);
    border-right: none;
    display: flex;
    flex-direction: column;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    z-index: 1000;
    transition: transform 0.3s ease;
    /* Shadow only to the right, not overlapping topbar */
    box-shadow: 6px 0 20px -4px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Custom Scrollbar integrated into Sidebar */
.sidebar-menu::-webkit-scrollbar {
    width: 4px;
}

.sidebar-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
}

.sidebar-menu::-webkit-scrollbar-thumb {
    background: rgba(167, 139, 250, 0.4);
    border-radius: 10px;
}

.sidebar-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(167, 139, 250, 0.7);
}


.sidebar-header {
    padding: 20px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.08); */
    flex-shrink: 0;
}

/* Logo Card Container */
.sidebar-logo-card {
    /* background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14); */
    border-radius: 14px;
    padding: 0px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: background 0.2s ease;
    backdrop-filter: blur(6px);
    text-decoration: none;
}

.sidebar-logo-card:hover {
    background: rgba(255, 255, 255, 0.14);
    text-decoration: none;
}

.sidebar-brand-img {
    max-height: 80px;
    max-width: 180px;
    object-fit: contain;
    position: relative;
    overflow: hidden;
}

/* Logo slow shine/reflective sweep */
.sidebar-logo-card {
    position: relative;
    overflow: hidden;
}

.sidebar-logo-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent 20%,
            rgba(255, 255, 255, 0.25) 40%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0.25) 60%,
            transparent 80%);
    animation: logoShine 15s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
    border-radius: 14px;
}

@keyframes logoShine {
    0% {
        left: -100%;
    }

    55% {
        left: 150%;
    }

    /* Sweep happens in the first 15% of the 15s (2.25s), then huge pause */
    100% {
        left: 150%;
    }
}

.sidebar-menu {
    flex: 1;
    overflow-y: auto;
    padding: 10px 16px;
    list-style: none;
    margin: 0;
}

.sidebar-menu-item {
    margin-bottom: 8px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    color: rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Icon Styling - colored bubbles by route type */
.sidebar-link i {
    width: 34px;
    height: 34px;
    margin-right: 12px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

/* Colorful icon accents per route */
.sidebar-link[href*="/"] i,
.sidebar-link[href="/"] i {
    background: rgba(99, 102, 241, 0.18);
    color: #a5b4fc;
}

.sidebar-link[href*="orders"] i {
    background: rgba(234, 179, 8, 0.15);
    color: #fde68a;
}

.sidebar-link[href*="services"] i {
    background: rgba(14, 165, 233, 0.15);
    color: #7dd3fc;
}

.sidebar-link[href*="addfunds"] i {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
}

.sidebar-link[href*="refill"] i {
    background: rgba(20, 184, 166, 0.15);
    color: #5eead4;
}

.sidebar-link[href*="refunds"] i {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

.sidebar-link[href*="tickets"] i {
    background: rgba(251, 146, 60, 0.15);
    color: #fed7aa;
}

.sidebar-link[href*="massorder"] i {
    background: rgba(168, 85, 247, 0.15);
    color: #d8b4fe;
}

.sidebar-link[href*="affiliates"] i {
    background: rgba(244, 114, 182, 0.15);
    color: #fbcfe8;
}

.sidebar-link[href*="child-panels"] i {
    background: rgba(52, 211, 153, 0.15);
    color: #6ee7b7;
}

/* Hover — link and icon change */
.sidebar-link:hover {
    background-color: rgba(255, 255, 255, 0.09);
    color: #ffffff;
    transform: translateX(3px);
}

.sidebar-link:hover i {
    background-color: rgba(139, 92, 246, 0.4) !important;
    color: #ffffff !important;
    transform: scale(1.08);
}

/* Active link state */
.sidebar-menu-item.active .sidebar-link {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.55) 0%, rgba(109, 40, 217, 0.5) 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    font-weight: 600;
}

/* Active — keep bright */
.sidebar-menu-item.active .sidebar-link i {
    background-color: rgba(255, 255, 255, 0.22) !important;
    color: white !important;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 20px 16px;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar-user-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-user-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 9px 4px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    transition: all 0.2s ease;
    text-align: center;
    line-height: 1;
}

.sidebar-user-link:hover {
    border-color: rgba(167, 139, 250, 0.5);
    color: #ffffff;
    background: rgba(139, 92, 246, 0.22);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sidebar-user-link.active {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(167, 139, 250, 0.6);
    color: #ffffff;
}

.sidebar-user-link i {
    font-size: 16px;
    color: rgba(167, 139, 250, 0.8);
    margin: 0;
    transition: color 0.2s, transform 0.2s;
}

.sidebar-user-link:hover i {
    color: #ffffff;
    transform: scale(1.15);
}

/* Colorful Footer Tiles */
.sidebar-user-link[href*="account"] {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.sidebar-user-link[href*="account"] i {
    color: #60a5fa;
}

.sidebar-user-link[href*="account"]:hover {
    background: rgba(59, 130, 246, 0.3);
}

.sidebar-user-link[href*="api"] {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

.sidebar-user-link[href*="api"] i {
    color: #34d399;
}

.sidebar-user-link[href*="api"]:hover {
    background: rgba(16, 185, 129, 0.3);
}

.sidebar-user-link[href*="updates"] {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
}

.sidebar-user-link[href*="updates"] i {
    color: #fbbf24;
}

.sidebar-user-link[href*="updates"]:hover {
    background: rgba(245, 158, 11, 0.3);
}

.sidebar-user-link.link-logout {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}

.sidebar-user-link.link-logout i {
    color: #f87171;
}

.sidebar-user-link.link-logout:hover {
    background: rgba(239, 68, 68, 0.3);
}


/* Main Content Wrapper */
.main-content-wrapper {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--bg-body);
    overflow-x: hidden;
}

/* Top Navbar (Content Header) - ENHANCED */
.content-header-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 28px;
    background: linear-gradient(135deg, #0f172a 0%, #083344 100%);
    /* Deep blue to very dark cyan-blue */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 900;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

/* Balance Badge - ENHANCED */
.balance-card {
    background: linear-gradient(135deg, #df055b 0%, #1d28ac 100%);
    padding: 5px 8px 5px 5px;
    border-radius: var(--radius-full);
    /* border: 1px solid rgba(255, 255, 255, 0.12); */
    display: flex;
    align-items: center;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-left: 12px;
    cursor: pointer;
    transition: all 0.25s;
    height: 40px;
}

.balance-card:hover {
    background: rgba(236, 72, 153, 0.25);
    border-color: rgba(236, 72, 153, 0.5);
    transform: translateY(-1px);
}

.balance-card .badge {
    background: transparent;
    color: white;
    margin-right: 8px;
    border-radius: var(--radius-full);
    padding: 5px 11px;
    font-weight: 700;
    box-shadow: none;
    font-size: 13px;
    letter-spacing: 0.3px;
}

/* Dropdown Menu Enhancement */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-md);
    padding: 10px;
    animation: slideInDown 0.2s cubic-bezier(0.2, 0.0, 0.2, 1);
    background: #ffffff;
}

.dropdown-menu>li>a {
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-weight: 500;
    color: var(--text-muted);
}

.dropdown-menu>li>a:hover {
    background-color: var(--primary-bg);
    color: var(--primary-color);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content Body */
.content-body {
    padding: 32px;
    flex: 1;
}

@media (max-width: 768px) {
    .content-body {
        padding: 20px 16px;
    }
}

/* Buttons */
.btn {
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-body);
    text-transform: none;
    /* Removed capitalize for more natural text */
    letter-spacing: 0.3px;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

.btn-default {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-default:hover {
    background: var(--bg-body);
    border-color: var(--text-muted);
}

/* Form Controls */
.form-control {
    height: 50px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background-color: var(--bg-input);
    padding: 10px 16px;
    font-size: 15px;
    box-shadow: none;
    transition: all 0.2s;
    color: var(--text-main);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15);
    /* Pink ring */
    background-color: white;
}

label.control-label {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    font-size: 14px;
}

/* Cards / Well */
.well {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
}

/* Login Page Specifics (Still used) */
.login-page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, rgba(236, 72, 153, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(249, 115, 22, 0.1), transparent 40%);
    padding: 20px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.auth-logo {
    height: 100px;
    margin-right: 30px;
    margin-bottom: 20px;
    object-fit: contain;
}

/* Sign In Extras */
.forgot-password {
    font-size: 13px;
    color: var(--primary-color);
    float: right;
    margin-top: -30px;
    /* Hack to align with label */
    position: relative;
    z-index: 2;
}

.form-group__password {
    position: relative;
}

.pull-right-middle {
    font-size: 14px;
    color: var(--text-muted);
}

.pull-right-middle a {
    font-weight: 600;
}

/* Alerts */
.alert {
    border-radius: var(--radius-md);
    border: none;
    box-shadow: var(--shadow-sm);
    font-weight: 500;
}

.alert-danger {
    background-color: #fef2f2;
    color: #ef4444;
    border-left: 4px solid #ef4444;
}

.alert-success {
    background-color: #f0fdf4;
    color: #22c55e;
    border-left: 4px solid #22c55e;
}

/* Footer Customization */
footer {
    background: transparent;
    padding: 30px 0;
    margin-top: auto;
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
}

/* Custom Utilities */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Mobile Responsiveness & Logic */

/* ── Medium Screens: Collapsed Sidebar (icons only, expand on hover) ── */
/* Favicon style (hidden by default on all screens) */
.sidebar-brand-favicon {
    display: none;
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
}

@media (min-width: 769px) and (max-width: 1439px) {
    .sidebar {
        width: var(--sidebar-collapsed-width);
        transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        overflow: hidden;
        z-index: 1000;
    }

    /* Expanded sidebar floats OVER content, doesn't push it */
    .sidebar:hover {
        width: var(--sidebar-width);
        box-shadow: 8px 0 30px rgba(0, 0, 0, 0.35);
    }

    /* Logo swap: show favicon when collapsed, full logo when hovered */
    .sidebar-logo-card {
        justify-content: center;
        padding: 8px;
    }

    .sidebar .sidebar-logo-full {
        display: none;
    }

    .sidebar .sidebar-brand-favicon {
        display: block;
    }

    .sidebar:hover .sidebar-logo-full {
        display: block;
    }

    .sidebar:hover .sidebar-brand-favicon {
        display: none;
    }

    /* Hide the ::after shine on collapsed */
    .sidebar-logo-card::after {
        display: none;
    }

    .sidebar:hover .sidebar-logo-card::after {
        display: block;
    }

    /* Menu links: center icons, hide text */
    .sidebar-menu {
        padding: 10px 8px;
    }

    .sidebar-link {
        justify-content: center;
        padding: 12px 10px;
        overflow: hidden;
        white-space: nowrap;
        font-size: 0;
    }

    .sidebar-link i {
        margin-right: 0;
        min-width: 34px;
        font-size: 15px;
        transition: margin-right 0.3s ease;
    }

    /* On hover, restore everything */
    .sidebar:hover .sidebar-link {
        justify-content: flex-start;
        padding: 12px 14px;
        font-size: 14px;
    }

    .sidebar:hover .sidebar-link i {
        margin-right: 12px;
    }

    /* Footer grid: collapse to single column of icons */
    .sidebar-footer {
        padding: 12px 8px;
    }

    .sidebar-user-menu {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .sidebar-user-link {
        padding: 8px;
    }

    .sidebar-user-link span {
        display: none;
    }

    .sidebar:hover .sidebar-user-menu {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .sidebar:hover .sidebar-user-link span {
        display: block;
    }

    .sidebar:hover .sidebar-user-link {
        padding: 9px 4px;
    }

    .sidebar:hover .sidebar-footer {
        padding: 20px 16px;
    }

    /* Main content adjusts to collapsed width and prevents overflow */
    .main-content-wrapper {
        margin-left: var(--sidebar-collapsed-width);
        overflow-x: hidden;
    }

    .content-body {
        overflow-x: hidden;
    }
}

/* Utility Classes for Visibility */
@media (min-width: 769px) {
    .visible-xs {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .hidden-xs {
        display: none !important;
    }

    /* Disable Flex on App Container for Mobile to avoid layout interference */
    .app-container {
        display: block !important;
    }

    .sidebar {
        /* Switch from transform to left positioning for robust 'fixed' behavior */
        transform: none !important;
        left: -320px !important;
        /* Hide off-screen */
        width: 280px;
        box-shadow: none;
        transition: left 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        overflow: hidden;
        /* Ensure only menu scrolls */
        z-index: 100001 !important;
        /* Super high to cover WhatsApp/Chat widgets */
    }

    .sidebar.open {
        left: 0 !important;
        /* Slide in */
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
    }

    /* Overlay */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(30, 27, 75, 0.4);
        /* Dark Purple tint */
        backdrop-filter: blur(2px);
        z-index: 100000 !important;
        /* Just below sidebar */
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .main-content-wrapper {
        margin-left: 0;
    }

    /* Mobile Header */
    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        background: linear-gradient(135deg, #0f192c 0%, #0c486c 100%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 800;
        height: 64px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    /* Push content down because header is fixed */
    .main-content-wrapper {
        padding-top: 64px;
    }

    .mobile-menu-toggle {
        background: transparent;
        /* border: 1px solid rgba(255, 255, 255, 0.15); */
        border-radius: 10px;
        font-size: 20px;
        color: rgba(255, 255, 255, 0.85);
        padding: 8px 12px;
        cursor: pointer;
        transition: background 0.2s;
        box-shadow: none;
        border-style: none;
        margin-top: 5px;
    }

    .mobile-menu-toggle:hover {
        background: rgba(139, 92, 246, 0.3);
        color: #ffffff;
    }

    .mobile-logo img {
        height: 65px;
        /* filter: brightness(0) invert(1); */
    }

    .mobile-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-weight: 700;
        font-size: 17px;
        color: #ffffff;
        text-decoration: none;
    }

    /* Mobile Sidebar Info (Balance/Lang) */
    .mobile-sidebar-info {
        padding: 16px;
        /* background-color: var(--primary-bg); */
        margin: 0 16px 16px 16px;
        /* border-radius: var(--radius-md); */
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .sidebar-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(255, 255, 255, 0.06);
        padding: 11px 14px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--radius-md);
        color: rgba(255, 255, 255, 0.8);
        font-weight: 500;
        width: 100%;
    }

    .sidebar-dropdown.open .sidebar-btn {
        border-color: rgba(139, 92, 246, 0.5);
        color: #ffffff;
        background: rgba(139, 92, 246, 0.15);
    }

    .sidebar-dropdown .dropdown-menu {
        width: 100%;
        position: relative;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: #1e1b4b;
        margin-top: 5px;
        float: none;
    }

    .sidebar-dropdown .dropdown-menu>li>a {
        color: rgba(255, 255, 255, 0.75);
    }

    .sidebar-dropdown .dropdown-menu>li>a:hover {
        background: rgba(139, 92, 246, 0.2);
        color: #ffffff;
    }

    .sidebar-balance {
        margin-bottom: 10px;
        text-align: center;
    }

    .balance-pill {
        display: inline-flex;
        align-items: center;
        background: white;
        padding: 8px 16px;
        border-radius: var(--radius-full);
        box-shadow: var(--shadow-sm);
        font-weight: 700;
        color: var(--text-main);
    }

    .badge-icon {
        margin-right: 8px;
    }

    .sidebar-lang {
        display: flex;
        justify-content: center;
        gap: 8px;
    }

    .lang-pill {
        font-size: 12px;
        padding: 4px 10px;
        background: white;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        color: var(--text-muted);
    }

    .lang-pill.active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

    .sidebar-close-btn {
        position: absolute;
        top: 18px;
        right: 16px;
        background: transparent;
        border: none;
        font-size: 20px;
        color: rgba(255, 255, 255, 0.8);
        padding: 6px 10px;
        cursor: pointer;
        transition: color 0.2s;
        z-index: 10;
    }

    .sidebar-close-btn:hover {
        color: #ef4444;
    }

    .sidebar-header {
        justify-content: center;
        padding: 20px 16px;
    }
}

/* Social Media Filter Cards */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease;
}

.platform-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.platform-card i {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-muted);
    transition: all 0.2s;
}

.platform-card span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.platform-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.platform-card.active {
    background: var(--primary-bg);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.platform-card.active i,
.platform-card.active span {
    color: var(--primary-color);
}

/* Brand Specific Styles (Active/Hover Override) */

/* Instagram */
.platform-card.brand-instagram:hover i,
.platform-card.brand-instagram.active i {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.platform-card.brand-instagram.active {
    border-color: #d6249f;
    background: #fff0f9;
}

/* TikTok */
.platform-card.brand-tiktok:hover i,
.platform-card.brand-tiktok.active i {
    color: #000000;
    filter: drop-shadow(2px 0px 0px #F00) drop-shadow(-2px -2px 0px #0FF);
}

.platform-card.brand-tiktok.active {
    border-color: #000000;
    background: #f0f0f0;
}

/* Platform Filter Cards */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.platform-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.platform-card i {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.platform-card span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.platform-card:hover i {
    transform: scale(1.1);
}

.platform-card.active {
    background: var(--primary-bg);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.platform-card.active i {
    color: var(--primary-color);
}

/* Platform Colors on Active/Hover */
.platform-card.brand-instagram:hover i,
.platform-card.brand-instagram.active i {
    color: #E1306C;
}

.platform-card.brand-tiktok:hover i,
.platform-card.brand-tiktok.active i {
    color: #000000;
}

.platform-card.brand-youtube:hover i,
.platform-card.brand-youtube.active i {
    color: #FF0000;
}

.platform-card.brand-facebook:hover i,
.platform-card.brand-facebook.active i {
    color: #1877F2;
}

.platform-card.brand-twitter:hover i,
.platform-card.brand-twitter.active i {
    color: #1DA1F2;
}

.platform-card.brand-telegram:hover i,
.platform-card.brand-telegram.active i {
    color: #0088cc;
}

.platform-card.brand-whatsapp:hover i,
.platform-card.brand-whatsapp.active i {
    color: #25D366;
}

/* Table Redesign */
#service-table {
    border-collapse: separate;
    border-spacing: 0 8px;
    background: transparent !important;
}

#service-table thead th {
    background: #f8fafc;
    border: none;
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

#service-table tbody tr {
    background: #ffffff;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

#service-table tbody tr:hover {
    transform: scale(1.005);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#service-table td {
    padding: 15px !important;
    border: none !important;
    vertical-align: middle !important;
}

#service-table td:first-child {
    border-radius: 10px 0 0 10px;
}

#service-table td:last-child {
    border-radius: 0 10px 10px 0;
}

.service-name {
    font-weight: 600;
    color: var(--text-main);
    min-width: 250px;
    line-height: 1.4;
}

#service-table td.service-description {
    text-align: right;
}

@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 8px;
    }

    .platform-card {
        padding: 15px 5px;
    }

    .platform-card i {
        font-size: 20px;
    }

    .platform-card span {
        font-size: 11px;
    }

    .services-header h1 {
        font-size: 20px !important;
        width: 100%;
        margin-bottom: 10px !important;
    }
}

/* Service Details Modal & Button */
.btn-details {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--radius-sm);
    background: var(--primary-bg);
    color: var(--primary-color);
    border: 1px solid var(--primary-light);
    box-shadow: none;
}

.btn-details:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

#serviceDetailModal .modal-content {
    border: none !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

#serviceDetailModal .modal-header {
    background: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #06b6d4 100%) !important;
    color: white !important;
    padding: 24px 30px !important;
    border: none !important;
}

#serviceDetailModal .modal-title {
    color: white !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

#serviceDetailModal .close {
    color: white !important;
    opacity: 0.8 !important;
    text-shadow: none !important;
    font-size: 28px !important;
    margin-top: -5px !important;
}

#serviceDetailModal .close:hover {
    opacity: 1 !important;
}

#serviceDetailModal .modal-body {
    padding: 30px !important;
}

.service-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.service-info-item {
    background: var(--bg-body);
    padding: 15px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.service-info-item strong {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.service-info-item span {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
}

.service-description-content h5 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.service-description-content h5::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--primary-color);
    margin-right: 10px;
    border-radius: 2px;
}

.description-text {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 15px;
    background: #ffffff;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-color);
}

#serviceDetailModal .modal-footer {
    border-top: 1px solid var(--border-color) !important;
    padding: 20px 30px !important;
}

@media (max-width: 768px) {
    .service-info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.platform-card.brand-youtube:hover i,
.platform-card.brand-youtube.active i {
    color: #FF0000;
}

.platform-card.brand-youtube.active {
    border-color: #FF0000;
    background: #fff0f0;
}

/* Facebook */
.platform-card.brand-facebook:hover i,
.platform-card.brand-facebook.active i {
    color: #1877F2;
}

.platform-card.brand-facebook.active {
    border-color: #1877F2;
    background: #eff6ff;
}

/* Twitter/X */
.platform-card.brand-twitter:hover i,
.platform-card.brand-twitter.active i {
    color: #000000;
}

/* Telegram */
.platform-card.brand-telegram:hover i,
.platform-card.brand-telegram.active i {
    color: #24A1DE;
}

/* WhatsApp */
.platform-card.brand-whatsapp:hover i,
.platform-card.brand-whatsapp.active i {
    color: #25D366;
}

/* Spotify */
.platform-card.brand-spotify:hover i,
.platform-card.brand-spotify.active i {
    color: #1DB954;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WhatsApp Widget Fixes */
.integration-fixed,
.whatsapp-container,
.whatsapp-button {
    z-index: 9000 !important;
    /* Force below Sidebar (100001) */
}

.whatsapp-button {
    position: fixed !important;
    /* Ensure it doesn't flow in document causing scroll */
}

/* Add Funds - Banking App Style */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.payment-method-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    height: 100%;
    min-height: 120px;
}

.payment-method-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

.payment-method-card.active {
    border-color: var(--primary-color);
    background-color: #f5f3ff;
    /* Very light primary bg */
    box-shadow: 0 0 0 2px var(--primary-color);
}

.payment-icon {
    font-size: 32px;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: all 0.2s;
}

.payment-method-card.active .payment-icon {
    color: var(--primary-color);
}

.payment-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 8px;
}


/* Landing Page Redesign */
.landing-wrapper {
    background: #ffffff;
    overflow-x: hidden;
}

.landing-hero {
    min-height: 100vh;
    background:
        radial-gradient(circle at 14% 18%, rgba(249, 115, 22, 0.28) 0, rgba(249, 115, 22, 0.06) 25%, transparent 42%),
        radial-gradient(circle at 82% 18%, rgba(6, 182, 212, 0.22) 0, rgba(6, 182, 212, 0.05) 24%, transparent 40%),
        radial-gradient(circle at 76% 82%, rgba(236, 72, 153, 0.24) 0, rgba(236, 72, 153, 0.06) 24%, transparent 42%),
        linear-gradient(135deg, #07111f 0%, #111827 48%, #1f1634 100%);
    position: relative;
    isolation: isolate;
    color: #fff;
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.landing-hero::before,
.landing-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.landing-hero::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: 0.38;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.2));
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.2));
}

.landing-hero::after {
    background:
        linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.08) 48%, transparent 58%),
        radial-gradient(ellipse at center, transparent 24%, rgba(2, 6, 23, 0.5) 100%);
    opacity: 0.72;
}

/* Background decorativo do hero: leve e sem loop de JavaScript */
.hero-bg-art {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-art::before,
.hero-bg-art::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(42px);
    opacity: 0.62;
}

.hero-bg-art::before {
    width: 720px;
    height: 720px;
    left: -220px;
    top: -220px;
    background: conic-gradient(from 180deg, rgba(236, 72, 153, 0.28), rgba(6, 182, 212, 0.22), rgba(249, 115, 22, 0.24), rgba(236, 72, 153, 0.28));
    animation: heroFloat 18s ease-in-out infinite alternate;
}

.hero-bg-art::after {
    width: 560px;
    height: 560px;
    right: -140px;
    bottom: -220px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(236, 72, 153, 0.2));
    animation: heroFloat 22s ease-in-out infinite alternate-reverse;
}

.hero-glow {
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 26px 8px rgba(255, 255, 255, 0.42);
    opacity: 0.54;
    animation: glowPulse 4.4s ease-in-out infinite;
}

.hero-glow-one {
    top: 22%;
    left: 12%;
    background: #fb923c;
}

.hero-glow-two {
    top: 16%;
    right: 22%;
    background: #22d3ee;
    animation-delay: 1.2s;
}

.hero-glow-three {
    right: 14%;
    bottom: 18%;
    background: #f472b6;
    animation-delay: 2.1s;
}

.landing-hero .hero-icons-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    pointer-events: none;
    overflow: hidden;
}

.landing-hero .hero-icons-bg i {
    --icon-rest: translate3d(0, 0, 0) rotate(-4deg) scale(1);
    --icon-drift-a: translate3d(8px, -16px, 0) rotate(3deg) scale(1.04);
    --icon-drift-b: translate3d(-10px, -28px, 0) rotate(-5deg) scale(1.08);
    --icon-drift-c: translate3d(6px, -10px, 0) rotate(5deg) scale(1.02);
    --icon-duration: 7.4s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
    box-shadow: 0 18px 45px rgba(2, 6, 23, 0.18);
    color: rgba(255, 255, 255, 0.78);
    font-size: 20px;
    opacity: 0.38;
    animation: iconDrift var(--icon-duration) cubic-bezier(0.45, 0, 0.2, 1) infinite;
    filter: drop-shadow(0 8px 18px rgba(255, 255, 255, 0.08));
    transform-origin: center center;
    will-change: transform, opacity;
    transition: none;
}

.hero-icons-bg i:nth-child(1) {
    top: 12%;
    left: 5%;
    color: rgba(236, 72, 153, 0.92);
    animation-delay: -1s;
}

.hero-icons-bg i:nth-child(2) {
    top: 10%;
    left: 34%;
    color: rgba(34, 211, 238, 0.86);
    animation-delay: -3s;
}

.hero-icons-bg i:nth-child(3) {
    top: 18%;
    right: 8%;
    color: rgba(248, 113, 113, 0.84);
    animation-delay: -5s;
}

.hero-icons-bg i:nth-child(4) {
    top: 42%;
    left: 10%;
    color: rgba(96, 165, 250, 0.86);
    animation-delay: -2s;
}

.hero-icons-bg i:nth-child(5) {
    bottom: 16%;
    left: 18%;
    color: rgba(52, 211, 153, 0.88);
    animation-delay: -6s;
}

.hero-icons-bg i:nth-child(6) {
    top: 34%;
    right: 22%;
    color: rgba(45, 212, 191, 0.86);
    animation-delay: -4s;
}

.hero-icons-bg i:nth-child(7) {
    bottom: 28%;
    right: 7%;
    color: rgba(125, 211, 252, 0.86);
    animation-delay: -7s;
}

.hero-icons-bg i:nth-child(8) {
    top: 70%;
    left: 42%;
    color: rgba(74, 222, 128, 0.84);
    animation-delay: -8s;
}

.hero-icons-bg i:nth-child(9) {
    top: 7%;
    right: 36%;
    color: rgba(168, 85, 247, 0.8);
    animation-delay: -2.6s;
}

.hero-icons-bg i:nth-child(10) {
    bottom: 8%;
    right: 32%;
    color: rgba(244, 114, 182, 0.86);
    animation-delay: -5.8s;
}

.hero-icons-bg i:nth-child(11) {
    bottom: 42%;
    left: 30%;
    color: rgba(129, 140, 248, 0.82);
    animation-delay: -4.4s;
}

.hero-icons-bg i:nth-child(12) {
    top: 50%;
    right: 42%;
    color: rgba(251, 146, 60, 0.86);
    animation-delay: -1.8s;
}

.hero-icons-bg i:nth-child(13) {
    top: 30%;
    left: 47%;
    color: rgba(250, 204, 21, 0.84);
    animation-delay: -6.7s;
}

.hero-icons-bg i:nth-child(14) {
    bottom: 12%;
    left: 4%;
    color: rgba(251, 113, 133, 0.84);
    animation-delay: -3.4s;
}

.hero-icons-bg i:nth-child(15) {
    top: 58%;
    right: 16%;
    color: rgba(103, 232, 249, 0.78);
    animation-delay: -7.2s;
}

.hero-icons-bg i:nth-child(16) {
    bottom: 6%;
    right: 6%;
    color: rgba(251, 146, 60, 0.86);
    animation-delay: -2.2s;
}

.hero-icons-bg i:nth-child(17) {
    top: 78%;
    left: 60%;
    color: rgba(255, 255, 255, 0.72);
    animation-delay: -4.9s;
}

.hero-icons-bg i:nth-child(18) {
    top: 24%;
    left: 22%;
    color: rgba(147, 197, 253, 0.78);
    animation-delay: -6.1s;
}

.hero-icons-bg i:nth-child(2n) {
    --icon-duration: 8.6s;
    --icon-rest: translate3d(0, 0, 0) rotate(4deg) scale(1);
    --icon-drift-a: translate3d(-10px, -14px, 0) rotate(-4deg) scale(1.05);
    --icon-drift-b: translate3d(12px, -26px, 0) rotate(6deg) scale(1.09);
    --icon-drift-c: translate3d(-6px, -8px, 0) rotate(-3deg) scale(1.03);
}

.hero-icons-bg i:nth-child(3n) {
    --icon-duration: 6.8s;
    --icon-rest: translate3d(0, 0, 0) rotate(-2deg) scale(1);
    --icon-drift-a: translate3d(12px, -10px, 0) rotate(5deg) scale(1.03);
    --icon-drift-b: translate3d(-8px, -24px, 0) rotate(-7deg) scale(1.08);
    --icon-drift-c: translate3d(9px, -7px, 0) rotate(2deg) scale(1.05);
}

.hero-icons-bg i:nth-child(5n) {
    --icon-duration: 9.2s;
    --icon-rest: translate3d(0, 0, 0) rotate(2deg) scale(1);
    --icon-drift-a: translate3d(-7px, -20px, 0) rotate(-5deg) scale(1.06);
    --icon-drift-b: translate3d(10px, -32px, 0) rotate(4deg) scale(1.1);
    --icon-drift-c: translate3d(-4px, -12px, 0) rotate(-2deg) scale(1.04);
}

@keyframes heroFloat {
    from {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }

    to {
        transform: translate3d(48px, 28px, 0) rotate(12deg) scale(1.08);
    }
}

@keyframes iconDrift {

    0%,
    100% {
        transform: var(--icon-rest);
        opacity: 0.28;
    }

    24% {
        transform: var(--icon-drift-a);
        opacity: 0.48;
    }

    52% {
        transform: var(--icon-drift-b);
        opacity: 0.4;
    }

    78% {
        transform: var(--icon-drift-c);
        opacity: 0.52;
    }
}

@keyframes glowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.36;
    }

    50% {
        transform: scale(1.55);
        opacity: 0.72;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero-bg-art::before,
    .hero-bg-art::after,
    .hero-glow,
    .hero-icons-bg i {
        animation: none;
    }
}


/* Conteúdo do hero acima do grid */
.landing-hero>.container {
    position: relative;
    z-index: 2;
}


.hero-content {
    max-width: 600px;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #fbcfe8;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 35px rgba(236, 72, 153, 0.12);
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
}

.text-gradient {
    background: linear-gradient(to right, #fb923c, #ec4899, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 14px;
    color: #94a3b8;
}

/* Floating Login Card */
.floating-login-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 28px 75px rgba(2, 6, 23, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.72);
    color: var(--text-main);
    backdrop-filter: blur(16px);
}

.floating-login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #fb923c, #ec4899, #06b6d4);
}

.floating-login-card>* {
    position: relative;
    z-index: 1;
}

.floating-login-card .auth-header {
    margin-bottom: 30px;
}

.floating-login-card h2 {
    font-weight: 700;
    color: #1e293b;
}

.floating-login-card .control-label {
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    font-size: 14px;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper .input-icon {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    z-index: 10;
    font-size: 16px;
    transition: color 0.3s;
}

.input-icon-wrapper .form-control.with-icon {
    padding-left: 45px;
    height: 54px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    transition: all 0.3s ease;
    font-size: 15px;
    color: #1e293b;
}

.input-icon-wrapper .form-control.with-icon:focus {
    background: #fff;
    border-color: #ec4899;
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1);
}

.input-icon-wrapper .form-control.with-icon:focus+.input-icon,
.input-icon-wrapper:focus-within .input-icon {
    color: #ec4899;
}

.shadow-btn {
    box-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.shadow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -3px rgba(124, 58, 237, 0.4);
}

.or-separator {
    margin: 24px 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    text-align: center;
}

.or-separator span {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 0 12px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
}

/* Features Section */
.landing-features {
    padding: 80px 0;
    background: #f8fafc;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #f9a8d4;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #fff1f2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ec4899;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.feature-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* Responsive Landing */

/* ── Tablet e abaixo (≤992px) ── */
@media (max-width: 992px) {
    .landing-hero {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-text-col {
        margin-bottom: 40px;
    }

    .floating-login-card {
        margin-left: auto;
        margin-right: auto;
        max-width: 480px;
    }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {

    /* Evita overflow horizontal em toda a página */
    .landing-wrapper {
        overflow-x: hidden;
    }

    /* ── Hero ── */
    .landing-hero {
        min-height: 100svh;
        padding-top: 28px;
        padding-bottom: 36px;
        text-align: center;
        /* Garante que as colunas Bootstrap empilhem corretamente */
        display: block;
    }

    .signup-page-container.landing-hero {
        display: flex;
        align-items: center;
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .landing-hero::before {
        background-size: 46px 46px;
        opacity: 0.16;
    }

    .landing-hero::after {
        opacity: 0.58;
    }

    .hero-bg-art::before {
        width: 500px;
        height: 500px;
        left: -260px;
        top: -190px;
        opacity: 0.42;
    }

    .hero-bg-art::after {
        width: 420px;
        height: 420px;
        right: -240px;
        bottom: 10%;
        opacity: 0.34;
    }

    .hero-glow {
        opacity: 0.28;
        box-shadow: 0 0 22px 7px rgba(255, 255, 255, 0.28);
    }

    .landing-hero .hero-icons-bg {
        display: none;
    }

    .display-flex-center {
        display: block !important;
    }

    .landing-hero>.container,
    .signup-page-container>#hero-section {
        width: 100%;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .signup-page-container>#hero-section {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 36px;
    }

    .hero-badge {
        font-size: 13px;
    }

    .hero-title {
        font-size: 30px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 15px;
        max-width: 100%;
        margin: 0 auto 28px;
    }

    .hero-stats {
        justify-content: center;
        gap: 24px;
        margin-bottom: 0;
    }

    .stat-number {
        font-size: 20px;
    }

    /* ── Login Card (hero) ── */
    .floating-login-card {
        width: 100%;
        max-width: 420px;
        padding: 24px 18px;
        margin: 28px auto 0;
        border-radius: 22px;
        box-shadow: 0 18px 46px rgba(2, 6, 23, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

    .signup-page-container .floating-login-card {
        margin-top: 0;
    }

    .floating-login-card .auth-header {
        margin-bottom: 22px;
    }

    .floating-login-card h2 {
        font-size: 23px;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .floating-login-card .auth-header p {
        font-size: 13px;
        line-height: 1.45;
        margin-bottom: 0;
    }

    .auth-logo {
        height: auto;
        max-height: 50px;
        max-width: 170px;
        margin-right: 0;
        margin-bottom: 12px;
    }

    /* ── Features ── */
    .landing-features {
        padding: 60px 0;
    }

    .feature-card {
        margin-bottom: 20px;
        padding: 24px 20px;
    }

    /* ── Sobre Nós ── */
    .landing-about {
        padding: 60px 0;
    }

    .about-text {
        gap: 24px;
        margin-bottom: 36px;
    }

    .about-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        margin-top: 0;
    }

    .about-stat-card {
        padding: 22px 12px;
    }

    .big-number {
        font-size: 28px;
    }

    /* ── Outros Serviços ── */
    .landing-services {
        padding: 60px 0;
    }

    .service-card {
        margin-bottom: 20px;
        padding: 28px 20px;
    }

    /* col-sm-6 já cuida de 2 colunas em sm; em xs forçamos coluna única */
    .services-grid .col-sm-6 {
        width: 100%;
    }

    /* ── Depoimentos ── */
    .landing-testimonials {
        padding: 60px 0;
    }

    .testimonial-card {
        margin-bottom: 20px;
        padding: 24px 20px;
    }

    /* Em xs: 1 coluna para testemunhos */
    .testimonials-grid .col-sm-6 {
        width: 100%;
    }

    /* ── Section headers ── */
    .section-header {
        margin-bottom: 36px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .section-header p {
        font-size: 15px;
    }

    /* ── Rodapé ── */
    .landing-footer {
        padding-top: 50px;
    }

    .footer-top {
        padding-bottom: 30px;
    }

    .footer-brand {
        margin-bottom: 36px;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-links {
        margin-bottom: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

/* ── Telas muito pequenas (≤480px) ── */
@media (max-width: 480px) {
    .landing-hero {
        padding-top: 22px;
        padding-bottom: 30px;
    }

    .signup-page-container.landing-hero {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-stats {
        gap: 8px;
    }

    .stat-item {
        flex: 1;
        min-width: 0;
        padding: 8px 9px;
        text-align: center;
    }

    .stat-number {
        font-size: 18px;
    }

    .stat-label {
        font-size: 11px;
    }

    .floating-login-card {
        padding: 20px 15px;
        border-radius: 20px;
    }

    .input-icon-wrapper .form-control.with-icon {
        height: 50px;
    }

    .about-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .big-number {
        font-size: 24px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    /* Footer links: 2 colunas em xs muito pequeno */
    .footer-links .col-sm-4 {
        width: 50%;
        display: inline-block;
        vertical-align: top;
    }
}

.well-float {
    overflow-x: auto !important;
    max-width: 100%;
}

.service-description {
    min-width: 100px;
    vertical-align: middle !important;
}

.btn-details {
    display: inline-block;
    white-space: nowrap;
}

.currency-symbol {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 8px;
}

.amount-input-large {
    font-size: 42px !important;
    font-weight: 700 !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    height: auto !important;
    padding: 10px !important;
    color: var(--text-main) !important;
    width: 200px !important;
    /* Allow growing */
    border-bottom: 2px solid var(--border-color) !important;
    border-radius: 0 !important;
}

.amount-input-large:focus {
    border-color: var(--primary-color) !important;
    outline: none !important;
}

.instruction {
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px dashed var(--border-color);
    margin-bottom: 24px;
}

/* =======================================
   LANDING PAGE - NOVAS SEÇÕES
   ======================================= */

/* Section Header Shared */
.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(139, 92, 246, 0.25);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-header p {
    font-size: 17px;
    color: #64748b;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Sobre o Serviço ---- */
.landing-about {
    padding: 100px 0;
    background: #ffffff;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.about-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.about-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color), #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.about-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.about-item p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-stat-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.big-number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(to right, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.big-label {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

/* ---- Outros Serviços ---- */
.landing-services {
    padding: 100px 0;
    background: #f8fafc;
}

.services-grid {
    margin-top: 10px;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #a78bfa, #f472b6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
    border-color: #a78bfa;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    margin-bottom: 22px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.service-card>p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li i {
    color: var(--primary-color);
    font-size: 12px;
}

/* ---- Depoimentos ---- */
.landing-testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.landing-testimonials .section-header h2 {
    color: #ffffff;
}

.landing-testimonials .section-header p {
    color: #94a3b8;
}

.landing-testimonials .section-badge {
    background: rgba(167, 139, 250, 0.15);
    color: #a78bfa;
    border-color: rgba(167, 139, 250, 0.3);
}

.testimonials-grid {
    margin-top: 10px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 28px;
    height: 100%;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(167, 139, 250, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 15px;
    margin-bottom: 18px;
    display: flex;
    gap: 4px;
}

.testimonial-text {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    color: #f1f5f9;
    font-size: 15px;
    font-weight: 700;
}

.testimonial-author span {
    font-size: 12px;
    color: #64748b;
}

/* ---- Rodapé ---- */
.landing-footer {
    background: #0a0f1a;
    padding: 70px 0 0;
    color: #94a3b8;
}

.footer-top {
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
    margin: 16px 0 24px;
    max-width: 280px;
}

.footer-logo {
    max-height: 70px;
    max-width: 160px;
    margin-right: 90px;
}

.footer-name {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 16px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(139, 92, 246, 0.35);
}

.footer-links {
    padding-top: 8px;
}

.footer-links h5 {
    font-size: 14px;
    font-weight: 700;
    color: #f1f5f9;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul li a {
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links ul li a:hover {
    color: #a78bfa;
}

.footer-links ul li a i {
    font-size: 13px;
    width: 16px;
}

.footer-bottom {
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: #475569;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: #a78bfa;
}

.footer-bottom-links span {
    color: #334155;
}

/* ---- Responsive: Novas Seções ---- */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 28px;
    }

    .landing-about,
    .landing-services,
    .landing-testimonials {
        padding: 70px 0;
    }

    .about-stats-grid {
        grid-template-columns: 1fr 1fr;
        margin-top: 40px;
    }

    .footer-brand {
        margin-bottom: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .landing-footer {
        padding-top: 50px;
    }

    .footer-links {
        margin-bottom: 30px;
    }
}

/* =======================================
   NEW ORDER - DESCRIPTION SIDEBAR
   ======================================= */

/* Sidebar da descrição (visível em md+) */
#description-sidebar .description-sidebar-well {
    position: sticky;
    top: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

#description-sidebar .description-sidebar-well label.control-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: block;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

#description-sidebar .description-content {
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.7;
}

/* Inline (visível em xs/sm) - dentro do card */
#service_description_inline .description-content-inline {
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.7;
}

/* Garante que as colunas fiquem alinhadas no topo */
@media (min-width: 992px) {

    .neworder-form-col,
    #description-sidebar {
        display: flex;
        flex-direction: column;
    }
}

/* =======================================
   PREMIUM AMBIENT BACKGROUND (NEW ORDER)
   ======================================= */
.dashboard-main-container {
    position: relative;
    z-index: 1;
    padding-top: 12px;
}

.dashboard-stats-row {
    margin-bottom: 18px;
}

.icon-rain-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 14%, rgba(236, 72, 153, 0.09), transparent 26%),
        radial-gradient(circle at 84% 10%, rgba(6, 182, 212, 0.1), transparent 24%),
        radial-gradient(circle at 72% 78%, rgba(249, 115, 22, 0.07), transparent 28%);
}

.icon-rain-bg::before,
.icon-rain-bg::after {
    content: "";
    position: absolute;
    inset: 0;
}

.icon-rain-bg::before {
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 0.42;
    -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0, transparent 74%);
    mask-image: radial-gradient(circle at 50% 20%, #000 0, transparent 74%);
}

.icon-rain-bg::after {
    background:
        linear-gradient(135deg, transparent 0 38%, rgba(255, 255, 255, 0.45) 48%, transparent 58%),
        radial-gradient(ellipse at center, transparent 34%, rgba(248, 250, 252, 0.72) 100%);
    opacity: 0.2;
}

.dashboard-orb {
    position: absolute;
    display: block;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.28;
    animation: dashboardOrbFloat 18s ease-in-out infinite alternate;
}

.dashboard-orb-one {
    width: 260px;
    height: 260px;
    left: 16%;
    top: 4%;
    background: rgba(236, 72, 153, 0.26);
}

.dashboard-orb-two {
    width: 240px;
    height: 240px;
    right: 8%;
    top: 18%;
    background: rgba(6, 182, 212, 0.22);
    animation-delay: -6s;
}

.dashboard-orb-three {
    width: 220px;
    height: 220px;
    right: 28%;
    bottom: 4%;
    background: rgba(249, 115, 22, 0.18);
    animation-delay: -10s;
}

.dashboard-icon-cloud {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.icon-rain-drop {
    position: absolute;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.46);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    color: rgba(236, 72, 153, 0.28);
    font-size: 17px;
    line-height: 1;
    backdrop-filter: blur(8px);
    animation: dashboardTokenFloat 12s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.icon-rain-drop::before {
    display: block;
    line-height: 1;
    transform: translateY(1px);
}

.icon-rain-drop:nth-child(1) {
    top: 10%;
    left: 12%;
    color: rgba(236, 72, 153, 0.28);
    animation-delay: -1s;
}

.icon-rain-drop:nth-child(2) {
    top: 24%;
    right: 13%;
    color: rgba(6, 182, 212, 0.28);
    animation-delay: -5s;
}

.icon-rain-drop:nth-child(3) {
    top: 50%;
    left: 7%;
    color: rgba(239, 68, 68, 0.22);
    animation-delay: -8s;
}

.icon-rain-drop:nth-child(4) {
    top: 68%;
    right: 9%;
    color: rgba(59, 130, 246, 0.26);
    animation-delay: -3s;
}

.icon-rain-drop:nth-child(5) {
    top: 76%;
    left: 20%;
    color: rgba(34, 197, 94, 0.25);
    animation-delay: -7s;
}

.icon-rain-drop:nth-child(6) {
    top: 36%;
    right: 28%;
    color: rgba(20, 184, 166, 0.25);
    animation-delay: -2s;
}

.icon-rain-drop:nth-child(7) {
    top: 7%;
    left: 48%;
    color: rgba(59, 130, 246, 0.22);
    animation-delay: -6s;
}

.icon-rain-drop:nth-child(8) {
    top: 82%;
    right: 32%;
    color: rgba(34, 197, 94, 0.24);
    animation-delay: -4s;
}

.icon-rain-drop:nth-child(9) {
    top: 31%;
    left: 24%;
    color: rgba(168, 85, 247, 0.22);
    animation-delay: -9s;
}

.icon-rain-drop:nth-child(10) {
    top: 56%;
    right: 18%;
    color: rgba(168, 85, 247, 0.24);
    animation-delay: -11s;
}

.icon-rain-drop:nth-child(11) {
    top: 15%;
    right: 42%;
    color: rgba(236, 72, 153, 0.22);
    animation-delay: -6.5s;
}

.icon-rain-drop:nth-child(12) {
    top: 64%;
    left: 42%;
    color: rgba(249, 115, 22, 0.22);
    animation-delay: -2.5s;
}

@keyframes dashboardTokenFloat {

    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(-4deg) scale(1);
        opacity: 0.14;
    }

    35% {
        transform: translate3d(12px, -18px, 0) rotate(5deg) scale(1.06);
        opacity: 0.3;
    }

    70% {
        transform: translate3d(-10px, 12px, 0) rotate(-2deg) scale(0.96);
        opacity: 0.2;
    }
}

@keyframes dashboardOrbFloat {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(34px, -18px, 0) scale(1.08);
    }
}

@media (prefers-reduced-motion: reduce) {

    .dashboard-orb,
    .icon-rain-drop {
        animation: none;
    }
}

@media (max-width: 768px) {
    .dashboard-main-container {
        padding-top: 10px;
    }

    .icon-rain-bg {
        opacity: 0.86;
    }

    .icon-rain-bg::before {
        background-size: 48px 48px;
        opacity: 0.28;
    }

    .dashboard-orb {
        opacity: 0.3;
        filter: blur(42px);
    }

    .icon-rain-drop {
        display: none;
    }

    .dashboard-main-container .well {
        padding: 24px 18px;
    }

    .dashboard-main-container .combined-stat-card {
        padding: 20px;
    }

    .welcome-text {
        font-size: 20px;
        flex-wrap: wrap;
        line-height: 1.3;
    }
}

/* =======================================
   NEW ORDER - TOP STATS HEADER
   ======================================= */
.page-header-custom {
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-light);
}

.page-header-custom .page-title {
    font-size: 28px;
    color: var(--text-main);
    margin: 0;
    font-weight: 700;
}

.stat-card-top {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    overflow: hidden;
    /* Impede vazamento do nome */
}

.stat-card-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.dashboard-main-container .well,
.dashboard-main-container .stat-card-top {
    position: relative;
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
}

.dashboard-main-container .well::before,
.dashboard-main-container .stat-card-top::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), transparent 42%);
    opacity: 0.5;
}

.dashboard-main-container .well>*,
.dashboard-main-container .stat-card-top>* {
    position: relative;
    z-index: 1;
}

.dashboard-main-container .well:hover,
.dashboard-main-container .stat-card-top:hover {
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

/* Animação Contínua Leve para Elementos Vivos */
@keyframes floatIcon {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-3px);
    }

    100% {
        transform: translateY(0px);
    }
}

.stat-icon-animated {
    width: 50px;
    height: 50px;
    min-width: 50px;
    /* Garante que o ícone não amassa quando o nome é muito grande */
    background: var(--primary-bg);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    animation: floatIcon 3s ease-in-out infinite;
}

/* Cores Diferenciadas para os Ícones */
.icon-blue {
    background: #eff6ff;
    color: #3b82f6;
}

.stat-card-top:hover .icon-blue {
    background: #3b82f6;
    color: #ffffff;
}

.icon-green {
    background: #f0fdf4;
    color: #22c55e;
}

.stat-card-top:hover .icon-green {
    background: #22c55e;
    color: #ffffff;
}

.icon-purple {
    background: #f5f3ff;
    color: #8b5cf6;
}

.stat-card-top:hover .icon-purple {
    background: #8b5cf6;
    color: #ffffff;
}

.stat-card-top:hover .stat-icon-animated {
    transform: scale(1.15) rotate(5deg);
    animation-play-state: paused;
    /* Pausa o pulso contínuo quando dá zoom pelo hover */
}

.stat-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    /* Previne overflow de flexbox filho */
    flex: 1;
    /* Ocupa espaço restante para empurrar limite */
}

.stat-content .stat-title {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-content .stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Evita nomes de usuários gigantes de quebrar linha */
}

/* Highlighted "Since 2018" Card Special Design */
.stat-card-top.highlight-card {
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.24), transparent 30%),
        linear-gradient(135deg, #f97316 0%, #ec4899 52%, #7c3aed 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    box-shadow: 0 20px 48px rgba(236, 72, 153, 0.22);
}

.stat-card-top.highlight-card .stat-icon-animated {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    animation: floatIcon 2.5s ease-in-out infinite alternate-reverse;
    /* Delay diferente */
}

.stat-card-top.highlight-card:hover .stat-icon-animated {
    background: #ffffff;
    color: var(--primary-color);
}

.stat-card-top.highlight-card .stat-content .stat-title {
    color: rgba(255, 255, 255, 0.8);
}

.stat-card-top.highlight-card .stat-content .stat-value {
    color: #ffffff;
}

/* =======================================
   COMBINED STATS CARD (NEW ORDER BANNER)
   ======================================= */
.dashboard-main-container .combined-stat-card {
    background:
        radial-gradient(circle at 14% 12%, rgba(236, 72, 153, 0.34), transparent 32%),
        radial-gradient(circle at 84% 16%, rgba(6, 182, 212, 0.28), transparent 34%),
        linear-gradient(135deg, #0f172a 0%, #0c4a6e 100%);
    /* Deep blue matching the new Topbar/Sidebar */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.22);
}

.dashboard-main-container .combined-stat-card::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -120px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.combined-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.4);
}

.combined-header {
    width: 100%;
}

.welcome-text {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 5px 0;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.welcome-text strong {
    color: #f472b6;
    /* Bright pink from the logo for the username */
    font-weight: 700;
}

.verified-badge {
    color: #3b82f6;
    /* Blue tick */
    font-size: 18px;
}

.welcome-subtext {
    color: #94a3b8;
    font-size: 15px;
    margin: 0;
}

.combined-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    margin-top: 10px;
}

.mini-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    /* Very subtle transparent background */
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.mini-stat:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(167, 139, 250, 0.3);
}

.mini-icon-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 16px;
}

.mini-icon-purple {
    background: rgba(249, 115, 22, 0.15);
    /* Orange accent from logo */
    color: #fb923c;
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 16px;
}

.mini-icon-green {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 16px;
}

.mini-stat-content {
    display: flex;
    flex-direction: column;
}

.mini-stat-content .stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.mini-stat-content .stat-title {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.small-highlight-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
}

.small-highlight-card .stat-icon-animated {
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    font-size: 24px;
}

.small-highlight-card .stat-content {
    align-items: center;
}

.small-highlight-card .stat-content .stat-value {
    font-size: 22px;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .combined-stat-card {
        padding: 20px;
    }

    .mini-stat {
        flex: 1 1 100%;
    }
}

/* =======================================
   ORDERS PAGE - MODERN TABLE & NAV
   ======================================= */

/* Navigation Pills Wrapper */
.nav-pills-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

/* Navigation Pills */
.nav-pills-custom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 0;
}

.nav-pills-custom>li {
    float: none;
}

.nav-pills-custom>li>a {
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-weight: 500;
    padding: 10px 20px;
    background-color: transparent;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.nav-pills-custom>li>a:hover {
    background-color: var(--primary-light);
    color: var(--primary-hover);
}

.nav-pills-custom>li.active>a,
.nav-pills-custom>li.active>a:hover,
.nav-pills-custom>li.active>a:focus {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
}

.modern-search-bar .input-group {
    background: #ffffff;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.2s ease;
}

.modern-search-bar .input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.modern-search-bar input.form-control {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 10px 20px;
}

.modern-search-bar .btn-default {
    background: transparent;
    border: none;
    color: var(--text-muted);
    transition: color 0.2s;
}

.modern-search-bar .btn-default:hover {
    color: var(--primary-color);
}

/* Modern Table Card */
.modern-table-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 30px;
}

.modern-table {
    margin-bottom: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.modern-table thead th {
    background-color: #f8fafc;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.8px;
    border-bottom: 1px solid var(--border-color);
    padding: 18px 16px;
    white-space: nowrap;
}

.modern-table tbody td {
    padding: 16px;
    vertical-align: middle;
    color: var(--text-main);
    border-bottom: 1px solid #f1f5f9;
    border-top: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.modern-table tbody tr {
    transition: all 0.2s ease;
    cursor: pointer;
}

.modern-table tbody tr.main-row:hover td {
    background-color: rgba(236, 72, 153, 0.04);
}

.modern-table tbody tr.main-row:hover {
    box-shadow: inset 4px 0 0 0 var(--primary-color);
}

/* Expand Style */
.expand-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
}

.main-row[aria-expanded="true"] .expand-toggle {
    transform: rotate(180deg);
    background-color: var(--primary-bg);
    color: var(--primary-color);
}

.details-row td {
    padding: 0 !important;
    border: none !important;
}

.details-content {
    background-color: #fafafa;
    padding: 20px 30px;
    border-bottom: 2px solid var(--primary-light);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.detail-value {
    font-size: 14px;
    color: var(--text-main);
    word-break: break-all;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.badge-pending {
    background-color: #fffbeb;
    color: #d97706;
}

.badge-inprogress,
.badge-processing {
    background-color: #eff6ff;
    color: #2563eb;
}

.badge-completed {
    background-color: #f0fdf4;
    color: #16a34a;
}

.badge-partial {
    background-color: #f5f3ff;
    color: #7c3aed;
}

.badge-canceled,
.badge-error {
    background-color: #fef2f2;
    color: #dc2626;
}

@media (max-width: 768px) {

    /* Filtros com Scroll Horizontal */
    .nav-pills-custom {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding-bottom: 15px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-bottom: 10px;
    }

    .nav-pills-custom::-webkit-scrollbar {
        display: none;
    }

    .nav-pills-custom>li {
        flex: 0 0 auto;
    }

    .nav-pills-wrapper {
        display: block;
    }

    .nav-pills-wrapper .modern-search-bar {
        width: 100%;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    /* Ajustes de Tabela no Mobile (Mantendo formato de tabela para o Colapso funcionar) */
    .modern-table {
        min-width: 600px;
        /* Permite scroll horizontal na tabela em telas muito pequenas */
    }

    .table-responsive {
        border: none;
        margin-bottom: 0;
    }

    .modern-table tbody td {
        padding: 12px 10px !important;
        font-size: 13px;
    }

    .expand-toggle {
        width: 28px;
        height: 28px;
    }

    /* Garante que os detalhes expandidos ocupem o espaço todo da tabela */
    .details-content {
        padding: 15px;
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   ✦ GLOBAL FAB (WHATSAPP & TELEGRAM)
   ============================================================ */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.fab-main {
    position: relative;
    /* For badge positioning */
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    outline: none;
    animation: fabAttention 3s infinite;
    pointer-events: auto;
}

/* Notification Badge with Delay */
.fab-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.4);

    /* Delay appearance by 2 seconds */
    opacity: 0;
    transform: scale(0);
    animation: badgePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 2s forwards,
        badgeBounce 2s infinite 2.5s;
}

@keyframes badgePop {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes badgeBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        margin-top: 0;
    }

    40% {
        margin-top: -6px;
    }

    60% {
        margin-top: -3px;
    }
}

.fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.6);
}

.fab-container.active .fab-main,
.fab-container:hover .fab-main {
    transform: rotate(135deg);
    background: #64748b;
}

.fab-container.active .fab-badge,
.fab-container:hover .fab-badge {
    display: none;
    /* Hide badge when menu is open */
}

.fab-options {
    position: absolute;
    bottom: 75px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.fab-container.active .fab-options,
.fab-container:hover .fab-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.fab-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
    pointer-events: auto;
}

.fab-item:hover {
    transform: scale(1.1);
}

.fab-whatsapp {
    background: #25D366;
}

.fab-wa-channel {
    background: #128C7E;
    /* Darker WhatsApp Teal */
}

.fab-telegram {
    background: #0088cc;
}

.fab-label {
    position: absolute;
    right: 65px;
    background: #1e1b4b;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    transform: translateX(10px);
}

.fab-item:hover .fab-label {
    opacity: 1;
    transform: translateX(0);
}

@keyframes fabAttention {

    0%,
    100% {
        transform: scale(1);
    }

    10%,
    20% {
        transform: scale(1.1) rotate(-3deg);
    }

    30%,
    50%,
    70%,
    90% {
        transform: scale(1.1) rotate(3deg);
    }

    40%,
    60%,
    80% {
        transform: scale(1.1) rotate(-3deg);
    }
}

@media (max-width: 768px) {
    .fab-container {
        bottom: 20px;
        right: 20px;
    }

    .fab-main {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .fab-item {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .fab-label {
        font-size: 12px;
        padding: 4px 10px;
    }
}