        .flatpickr-calendar {
            background: #122030 !important;
            border: 1px solid rgba(142, 219, 255, 0.3) !important;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
            z-index: 99999999 !important;
        }

        .flatpickr-day {
            color: #fff !important;
        }

        .flatpickr-day.selected,
        .flatpickr-day.startRange,
        .flatpickr-day.endRange {
            background: #1da1f2 !important;
            border-color: #1da1f2 !important;
        }

        .flatpickr-day.inRange {
            background: rgba(255, 255, 255, 0.05) !important;
            box-shadow: -5px 0 0 rgba(255, 255, 255, 0.05), 5px 0 0 rgba(255, 255, 255, 0.05) !important;
        }

        .flatpickr-day:hover {
            background: rgba(142, 219, 255, 0.2) !important;
        }

        .flatpickr-months .flatpickr-month,
        .flatpickr-weekdays,
        span.flatpickr-weekday {
            color: #8edbff !important;
        }

        .flatpickr-current-month .flatpickr-monthDropdown-months {
            background: #122030 !important;
            height: 42px !important;
            color: #fff !important;
        }

        .flatpickr-current-month .numInputWrapper {
            height: 42px !important;
        }

        .flatpickr-current-month input.cur-year {
            color: #fff !important;
        }

        .numInputWrapper span.arrowUp:after {
            border-bottom-color: #fff !important;
        }

        .numInputWrapper span.arrowDown:after {
            border-top-color: #fff !important;
        }

        .flatpickr-day.prevMonthDay,
        .flatpickr-day.nextMonthDay {
            color: rgba(255, 255, 255, 0.2) !important;
        }

        /* Persistent UI Fixes */
        .analytics-title select {
            height: 42px !important;
            line-height: 1.2 !important;
            padding: 4px 12px !important;
            appearance: auto !important;
            -webkit-appearance: auto !important;
        }

        .mailey-swal-zindex {
            z-index: 99999999 !important;
        }


        .mailey-glass-root *,
        .mailey-glass-root *:before,
        .mailey-glass-root *:after {
            box-sizing: border-box !important;
        }

        .mailey-glass-root ::placeholder {
            color: rgba(255, 255, 255, 0.4) !important;
        }

        .mailey-glass-root {
            position: relative;
            margin: 0 auto 24px;
            max-width: 1280px;
            width: 100%;
            color: #e8f2ff;
            background: linear-gradient(135deg, rgba(10, 10, 10, .6), rgba(20, 30, 50, .6));
            border: none;
            border-radius: 26px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .03);
            overflow-x: hidden !important;
            box-sizing: border-box;
        }

        .mailey-glass-root:before {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(1200px 300px at -10% -20%, rgba(29, 161, 242, .10), transparent), radial-gradient(900px 300px at 120% 120%, rgba(54, 226, 255, .08), transparent);
            pointer-events: none;
        }

        .mailey-glass-header {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            align-items: center;
            justify-content: space-between;
            background: rgba(10, 20, 30, .45);
            border: 1px solid rgba(29, 161, 242, .18);
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 1px 14px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .03);
            position: relative;
            z-index: 1000;
        }

        .mailey-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 800;
            letter-spacing: .3px;
        }

        .mailey-brand .logo {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            background: linear-gradient(135deg, #1da1f2, #36e2ff);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 12px rgba(29, 161, 242, .4);
        }

        .mailey-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
        }

        .mailey-btn {
            background: linear-gradient(135deg, #1da1f2, #36e2ff);
            color: #0b1b2b;
            border: none;
            border-radius: 10px;
            padding: 6px 12px;
            font-weight: 700;
            font-size: 0.82rem;
            box-shadow: 0 2px 8px rgba(29, 161, 242, .2);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            white-space: nowrap;
        }

        .mailey-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(29, 161, 242, .3);
        }

        .mailey-campaign-action-btn {
            font-size: 0.7rem;
            padding: 6px 14px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            color: #fff;
            cursor: pointer;
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s;
        }

        .mailey-campaign-action-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-1px);
        }

        .mailey-campaign-action-btn.template-saas {
            color: #c4b5fd;
            border-color: rgba(139, 92, 246, 0.4);
            background: rgba(139, 92, 246, 0.1);
        }

        .mailey-campaign-action-btn.template-agency {
            color: #93c5fd;
            border-color: rgba(29, 161, 242, 0.4);
            background: rgba(29, 161, 242, 0.1);
        }

        .mailey-campaign-action-btn.template-ecomm {
            color: #86efac;
            border-color: rgba(34, 197, 94, 0.4);
            background: rgba(34, 197, 94, 0.1);
        }

        .mailey-campaign-action-btn.saved-btn {
            color: #fde047;
            border-color: rgba(251, 191, 36, 0.4);
            background: rgba(251, 191, 36, 0.1);
        }

        .mailey-count-pill.active {
            background: #8b5cf6 !important;
            color: #fff !important;
            box-shadow: 0 2px 6px rgba(139, 92, 246, 0.4);
        }

        .mailey-count-pill:hover:not(.active) {
            background: rgba(139, 92, 246, 0.1) !important;
            color: #fff !important;
        }

        .mailey-btn.secondary {
            background: rgba(20, 40, 70, .6);
            color: #9edcff;
        }

        .mailey-btn.prominent {
            background: linear-gradient(135deg, #1da1f2, #36e2ff);
            padding: 0 18px;
            font-size: 0.9rem;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.25);
            position: relative;
            overflow: hidden;
            z-index: 10;
            margin: 0;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            height: 38px;
            box-sizing: border-box;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
        }

        .mailey-btn.prominent:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
            z-index: -1;
        }

        .mailey-btn.mailey-dim-btn {
            background: rgba(255, 255, 255, 0.05) !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
            color: #94a3b8 !important;
            box-shadow: none !important;
        }

        .mailey-btn.mailey-dim-btn:hover {
            background: rgba(255, 255, 255, 0.08) !important;
            color: #fff !important;
        }

        .mailey-btn.mailey-dim-btn {
            background: rgba(255, 255, 255, 0.05) !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
            color: #94a3b8 !important;
            box-shadow: none !important;
        }

        .mailey-btn.mailey-dim-btn:hover {
            background: rgba(255, 255, 255, 0.08) !important;
            color: #fff !important;
        }

        /* --- Header Dropdowns & Blocks --- */
        .mailey-header-dropdown-wrap {
            position: relative;
        }

        .mailey-action-block {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 0 24px;
            height: 48px;
            background: rgba(29, 161, 242, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s;
            box-sizing: border-box;
            user-select: none;
        }

        .mailey-action-block.secondary {
            background: rgba(29, 161, 242, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            color: #8edbff;
        }

        .mailey-action-block.prominent {
            background: linear-gradient(135deg, #1da1f2, #36e2ff) !important;
            color: #0b1b2b !important;
            border: none !important;
            box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
        }

        .mailey-action-block.prominent i {
            color: #0b1b2b !important;
        }

        .mailey-action-block i {
            font-size: 1.4rem !important;
            margin-bottom: 0 !important;
        }

        .mailey-action-block:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(29, 161, 242, 0.4);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .glass-block {
            background: rgba(20, 30, 50, 0.5) !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37) !important;
        }

        .mailey-dropdown-menu {
            display: none;
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            background: rgba(10, 20, 32, 0.9);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(29, 161, 242, 0.4);
            border-radius: 12px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
            z-index: 2000005;
            min-width: 240px;
            overflow: hidden;
            animation: mailey-fade-in 0.2s ease-out;
        }

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

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

        .mailey-dropdown-item {
            padding: 12px 16px;
            color: #e2e8f0;
            font-size: 0.85rem;
            cursor: pointer;
            transition: background 0.2s;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 500;
        }

        .mailey-dropdown-item:last-child {
            border-bottom: none;
        }

        .mailey-dropdown-item:hover {
            background: rgba(29, 161, 242, 0.15);
            color: #36e2ff;
        }

        .mailey-dropdown-item i {
            font-size: 1rem;
            width: 16px;
            text-align: center;
        }

        .mailey-btn.prominent:hover:before {
            left: 100%;
        }

        .mailey-btn.prominent:hover {
            transform: scale(1.04) translateY(-2px);
            box-shadow: 0 8px 35px rgba(29, 161, 242, .55);
            filter: brightness(1.05);
        }

        .mailey-btn.prominent i {
            font-size: 1.3rem;
            animation: mailey-magic 3s infinite;
        }

        @keyframes mailey-magic {

            0%,
            100% {
                transform: scale(1) rotate(0);
                filter: drop-shadow(0 0 0px #fff);
            }

            50% {
                transform: scale(1.2) rotate(15deg);
                filter: drop-shadow(0 0 8px #fff);
            }
        }

        .mailey-statbar {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            gap: 10px;
            padding: 0 18px 18px 18px;
            max-width: 100%;
        }

        .mailey-leads-toolbar {
            background: rgba(10, 20, 30, 0.4);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            padding: 8px 15px;
            /* Compact padding */
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
            /* Reduced gap */
            border-radius: 12px 12px 0 0;
            flex-wrap: wrap;
            /* Allow wrapping on small screens */
        }

        .mailey-leads-toolbar-left {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .mailey-filter-wrap {
            position: relative;
            display: flex;
            align-items: center;
        }

        .mailey-leads-toolbar-right {
            display: flex;
            align-items: center;
            gap: 8px;
            /* Compact buttons gap */
        }

        .mailey-search-wrapper {
            position: relative;
            width: 100%;
            max-width: 300px;
        }

        .mailey-search-wrapper input {
            width: 100%;
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #fff;
            padding: 8px 15px 8px 35px;
            /* Adjusted padding */
            border-radius: 6px;
            /* Smaller radius */
            font-size: 13px;
            /* Smaller text */
            transition: all 0.2s ease;
        }

        .mailey-search-wrapper i {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 12px;
            /* Smaller icon */
        }

        .mailey-filter-select {
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #fff;
            padding: 6px 25px 6px 12px;
            /* Compact padding */
            border-radius: 6px;
            /* Smaller radius */
            font-size: 13px;
            /* Smaller text */
            appearance: none;
            -webkit-appearance: none;
            cursor: pointer;
            background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2394a3b8%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
            background-repeat: no-repeat;
            background-position: right 10px top 50%;
            background-size: 8px auto;
            /* Smaller background arrow */
        }

        .mailey-action-btn {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #d6eeff;
            padding: 6px 12px;
            /* Compact padding */
            border-radius: 6px;
            /* Smaller radius */
            font-size: 13px;
            /* Smaller text */
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            /* Reduced gap */
            transition: all 0.2s ease;
        }

        .mailey-action-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            border-color: rgba(255, 255, 255, 0.2);
        }

        .mailey-action-btn.export {
            color: #4ade80;
            border-color: rgba(74, 222, 128, 0.2);
            background: rgba(74, 222, 128, 0.05);
        }

        .mailey-action-btn.export:hover {
            background: rgba(74, 222, 128, 0.1);
            border-color: rgba(74, 222, 128, 0.3);
        }

        .mailey-action-btn.export-xl {
            color: #22c55e;
            border-color: rgba(34, 197, 94, 0.2);
            background: rgba(34, 197, 94, 0.05);
        }

        .mailey-action-btn.export-xl:hover {
            background: rgba(34, 197, 94, 0.1);
            border-color: rgba(34, 197, 94, 0.3);
        }

        .mailey-action-btn.sync {
            color: #c084fc;
            border-color: rgba(192, 132, 252, 0.2);
            background: rgba(192, 132, 252, 0.05);
        }

        .mailey-stat .icon {
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(29, 161, 242, .15);
            border: 1px solid rgba(29, 161, 242, .35);
            color: #8edbff;
            border-radius: 9px;
        }

        .mailey-stat .val {
            font-weight: 900;
            color: #29c1ff;
        }

        /* Analytics Graph Section */
        .mailey-analytics-section {
            padding: 0 18px 18px 18px;
        }

        .mailey-analytics-card {
            background: rgba(10, 20, 30, .45);
            border: 1px solid rgba(29, 161, 242, .18);
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 1px 14px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .03);
        }

        .analytics-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .analytics-title {
            color: #cfeaff;
            font-weight: 800;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .analytics-tabs {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
            gap: 12px;
            margin-bottom: 20px;
        }

        .analytics-tab {
            background: rgba(12, 24, 36, .4);
            border: 1px solid rgba(29, 161, 242, .15);
            border-radius: 12px;
            padding: 12px;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }

        .analytics-tab:hover {
            background: rgba(29, 161, 242, .08);
            border-color: rgba(29, 161, 242, .3);
        }

        .analytics-tab.active {
            background: rgba(29, 161, 242, .12);
            border-color: rgba(29, 161, 242, .5);
            box-shadow: 0 0 15px rgba(255, 255, 255, 0.02);
        }

        .analytics-tab.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, #1da1f2, #36e2ff);
        }

        .analytics-tab .label {
            color: #8ecfff;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .analytics-tab .value {
            color: #fff;
            font-size: 1.4rem;
            font-weight: 900;
        }

        .analytics-tab .change {
            font-size: 0.75rem;
            color: #4ade80;
            margin-top: 4px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .analytics-tab .change.down {
            color: #ff6b6b;
        }

        .chart-container {
            height: 300px;
            width: 100%;
            position: relative;
        }

        .mailey-body {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 14px;
            max-width: 100%;
        }

        .mailey-body.toprow {
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        }

        .mailey-body.toprow>.mailey-card {
            min-width: 0;
        }

        .mailey-card {
            background: rgba(10, 20, 30, .45);
            border: 1px solid rgba(29, 161, 242, .18);
            border-radius: 16px;
            padding: 16px;
            box-shadow: 0 1px 14px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .03);
            box-sizing: border-box;
        }

        .mailey-card h3 {
            margin: 0 0 10px 0;
            font-size: 1rem;
            font-weight: 800;
            letter-spacing: .4px;
            color: #cfeaff;
        }

        .mailey-profile {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            margin-top: 4px;
        }

        .mailey-avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: linear-gradient(135deg, #1da1f2, #36e2ff);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #001;
            font-weight: 900;
            font-size: 16px;
            box-shadow: 0 6px 24px rgba(29, 161, 242, .25);
        }

        .mailey-name {
            font-weight: 800;
            font-size: 0.92rem;
            color: #fff;
        }

        .plan-pill {
            display: flex;
            align-items: center;
            gap: 6px;
            background: linear-gradient(135deg, #3b2f6b, #4c1d95);
            padding: 6px 10px;
            border-radius: 20px;
            box-shadow: 0 6px 20px rgba(60, 40, 120, .3);
        }

        .plan-pill .badge {
            background: transparent;
            color: #e6e6ff;
            font-size: .85rem;
        }

        .upgrade-btn {
            background: linear-gradient(135deg, #1b2232, #0e1624);
            color: #cfeaff;
            border: 1px solid rgba(255, 255, 255, .08);
            border-radius: 20px;
            padding: 5px 10px;
            font-weight: 800;
            box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
            cursor: pointer;
        }

        .upgrade-btn:hover {
            filter: brightness(1.05);
        }

        .kv {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 6px;
        }

        .kv .pill {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(12, 24, 36, .6);
            border: 1px solid rgba(29, 161, 242, .2);
            border-radius: 10px;
            padding: 6px 9px;
            min-width: 0;
        }

        .kv .label {
            color: #8ecfff;
            font-weight: 700;
            font-size: .85rem;
        }

        .kv .value {
            color: #111;
            background: linear-gradient(135deg, #1da1f2, #36e2ff);
            padding: 3px 8px;
            border-radius: 10px;
            font-weight: 800;
            font-size: .9rem;
            white-space: nowrap;
        }

        .mailey-mini-table {
            width: 100%;
            border-collapse: collapse;
        }

        .mailey-mini-table th,
        .mailey-mini-table td {
            padding: 8px 6px;
            border-bottom: 1px solid rgba(255, 255, 255, .06);
        }

        .mailey-mini-table th {
            color: #cfeaff;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: .5px;
            font-size: .82rem;
        }

        .mailey-mini-table td {
            color: #d6eeff;
            font-size: .95rem;
        }

        .badge {
            display: inline-block;
            padding: 3px 8px;
            border-radius: 10px;
            font-weight: 800;
        }

        .badge.ok {
            background: #22c55e;
            color: #04160a;
        }

        .badge.dim {
            background: #364455;
            color: #b7c9dd;
        }

        .badge.enriching {
            background: rgba(251, 191, 36, .2);
            color: #fbbf24;
            border: 1px solid rgba(251, 191, 36, .4);
        }

        .badge.pending {
            background: rgba(59, 130, 246, .2);
            color: #60a5fa;
            border: 1px solid rgba(59, 130, 246, .4);
        }

        .badge.paused {
            background: rgba(249, 115, 22, .2);
            color: #fb923c;
            border: 1px solid rgba(249, 115, 22, .4);
        }

        .badge.sent {
            background: rgba(34, 197, 94, .2);
            color: #4ade80;
            border: 1px solid rgba(34, 197, 94, .4);
        }

        .link {
            color: #8edbff;
            text-decoration: none;
            font-weight: 700;
        }

        .muted {
            color: #7a90aa;
            font-style: italic;
        }

        .mailey-glass-table-wrap {
            margin-top: 10px;
            overflow: visible;
        }

        .mailey-glass-toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin: 8px 0;
            padding: 10px;
            background: rgba(10, 18, 28, .45);
            border: 1px solid rgba(29, 161, 242, .18);
            border-radius: 12px;
        }

        .mailey-glass-toolbar .right {
            display: flex;
            gap: 10px;
            align-items: center;
            flex-wrap: wrap;
        }

        .mailey-glass-toolbar .per-page {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #9edcff;
        }

        .mailey-glass-toolbar select {
            background: rgba(10, 18, 28, .7);
            color: #d8f3ff;
            border: 1px solid rgba(29, 161, 242, .35);
            border-radius: 8px;
            padding: 6px 10px;
        }

        .mailey-glass-toolbar .search {
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(10, 18, 28, .6);
            border: 1px solid rgba(29, 161, 242, .25);
            padding: 6px 10px;
            border-radius: 8px;
        }

        .mailey-glass-toolbar .search input {
            background: transparent;
            border: none;
            outline: none;
            color: #d8f3ff;
        }

        .mailey-glass-toolbar .export {
            display: flex;
            gap: 10px;
            align-items: center;
            flex-wrap: wrap;
        }

        .mailey-glass-toolbar .btn {
            background: rgba(12, 24, 36, .6);
            color: #9edcff;
            border: 1px solid rgba(29, 161, 242, .35);
            border-radius: 8px;
            padding: 6px 10px;
            font-weight: 700;
            cursor: pointer;
        }

        .mailey-glass-toolbar .btn:hover {
            background: rgba(29, 161, 242, .15);
        }

        .mailey-table-scroll {
            display: block;
            overflow-x: auto !important;
            overflow-y: auto !important;
            -webkit-overflow-scrolling: touch !important;
            touch-action: pan-x pan-y !important;
        }

        /* Custom Scrollbar for Mailey */
        .mailey-table-scroll::-webkit-scrollbar,
        #mailey_any_source_preview::-webkit-scrollbar,
        #mailey_smtp_items::-webkit-scrollbar,
        #mailey_any_source_smtp_list::-webkit-scrollbar,
        #mailey_any_source_prompt::-webkit-scrollbar,
        #mailey_my_prompts_dropdown::-webkit-scrollbar,
        .mailey-modal-inner::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        .mailey-table-scroll::-webkit-scrollbar-track,
        #mailey_any_source_preview::-webkit-scrollbar-track,
        #mailey_smtp_items::-webkit-scrollbar-track,
        #mailey_any_source_smtp_list::-webkit-scrollbar-track,
        #mailey_any_source_prompt::-webkit-scrollbar-track,
        #mailey_my_prompts_dropdown::-webkit-scrollbar-track,
        .mailey-modal-inner::-webkit-scrollbar-track {
            background: rgba(10, 20, 30, 0.4);
            border-radius: 4px;
        }

        .mailey-table-scroll::-webkit-scrollbar-thumb,
        #mailey_any_source_preview::-webkit-scrollbar-thumb,
        #mailey_smtp_items::-webkit-scrollbar-thumb,
        #mailey_any_source_smtp_list::-webkit-scrollbar-thumb,
        #mailey_any_source_prompt::-webkit-scrollbar-thumb,
        #mailey_my_prompts_dropdown::-webkit-scrollbar-thumb,
        #mailey-campaigns-section::-webkit-scrollbar-thumb,
        .mailey-modal-inner::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
        }

        .mailey-table-scroll::-webkit-scrollbar-thumb:hover,
        #mailey_any_source_preview::-webkit-scrollbar-thumb:hover,
        #mailey_smtp_items::-webkit-scrollbar-thumb:hover,
        #mailey_any_source_smtp_list::-webkit-scrollbar-thumb:hover,
        #mailey_any_source_prompt::-webkit-scrollbar-thumb:hover,
        #mailey_my_prompts_dropdown::-webkit-scrollbar-thumb:hover,
        #mailey-campaigns-section::-webkit-scrollbar-thumb:hover,
        .mailey-modal-inner::-webkit-scrollbar-thumb:hover {
            background: rgba(29, 161, 242, 0.5);
        }

        /* Mobile Utility Classes */
        @media (max-width: 768px) {
            .hide-mobile {
                display: none !important;
            }

            .show-mobile {
                display: block !important;
            }

            .inline-show-mobile {
                display: inline-block !important;
            }

            .mailey-any-source-form {
                border-right: none !important;
                padding-right: 0 !important;
            }

            .mailey-modal-inner {
                width: 98% !important;
                margin: 10px auto !important;
                border-radius: 12px !important;
            }

            .mailey-modal-grid {
                grid-template-columns: 1fr !important;
                gap: 20px !important;
            }

            .mailey-smtp-grid {
                grid-template-columns: 1fr !important;
            }

            .mailey-glass-header {
                padding-left: 0 !important;
                padding-right: 0 !important;
            }

            .mailey-brand {
                overflow-x: auto;
                white-space: nowrap;
                -webkit-overflow-scrolling: touch;
                padding-bottom: 5px;
            }

            .mailey-brand::-webkit-scrollbar {
                display: none;
            }
        }

        @media (min-width: 769px) {
            .hide-desktop {
                display: none !important;
            }

            .show-desktop {
                display: block !important;
            }

            .inline-show-desktop {
                display: inline-block !important;
            }
        }

        .mailey-table-scroll {
            overscroll-behavior: contain;
            border: 1px solid rgba(29, 161, 242, .15);
            border-radius: 12px;
            max-height: 70vh;
            width: 100%;
            max-width: 100%;
            position: relative;
            z-index: 1;
            box-sizing: border-box;
            overflow-x: auto !important;
        }

        table.mailey-glass-table {
            min-width: 900px;
            width: max-content;
            border-collapse: separate;
            border-spacing: 0;
        }

        #maileyLeadsTable {
            width: 100%;
            table-layout: auto;
        }

        table.mailey-glass-table thead th {
            position: sticky;
            top: 0;
            background: rgba(12, 20, 30, .85);
            color: #cfeaff;
            text-align: left;
            padding: 10px 8px;
            border-bottom: 1px solid rgba(255, 255, 255, .08);
        }

        table.mailey-glass-table tbody td {
            padding: 4px 6px;
            border-bottom: 1px solid rgba(255, 255, 255, .05);
            height: 20px;
            line-height: 20px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 220px;
        }

        .mailey-glass-pagination {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px;
            gap: 10px;
            flex-wrap: wrap;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            color: #9edcff;
        }

        .mailey-glass-pagination .pages {
            display: flex;
            gap: 6px;
        }

        .mailey-glass-pagination .pg {
            background: rgba(12, 24, 36, .6);
            color: #9edcff;
            border: 1px solid rgba(29, 161, 242, .35);
            border-radius: 8px;
            padding: 6px 10px;
            text-decoration: none;
            font-weight: 800;
        }

        .mailey-glass-pagination .pg.active {
            background: linear-gradient(135deg, #1da1f2, #36e2ff);
            color: #07202f;
            border-color: transparent;
        }

        .mailey-error {
            background: rgba(200, 0, 0, .12);
            border: 1px solid #ef4444;
            color: #ffe3e3;
            padding: 14px;
            border-radius: 10px;
        }

        .mailey-mini-scroll {
            display: block;
            overflow-x: auto !important;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            touch-action: pan-x;
            overscroll-behavior-x: contain;
        }

        /* Fix Inboxes/Warmups overflow culprit */
        .no-scroll {
            overflow-x: auto !important;
            max-width: 100%;
            -webkit-overflow-scrolling: touch;
        }

        .mailey-mini-scroll>table {
            min-width: 600px;
            width: max-content;
        }

        /* New Guest Hero styles */
        .mailey-hero {
            padding: 28px 24px 22px;
            background: radial-gradient(ellipse at 60% 0%, rgba(29, 161, 242, 0.12), transparent 70%);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .mailey-hero-inner {
            display: flex;
            align-items: flex-start;
            gap: 18px;
            max-width: 900px;
            margin: 0 auto;
        }

        .mailey-avatar-wrap {
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
        }

        .mailey-avatar-img {
            width: 68px;
            height: 68px;
            border-radius: 50%;
            background: linear-gradient(135deg, #444, #222);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05), 0 4px 20px rgba(0, 0, 0, 0.3);
            position: relative;
        }

        .mailey-avatar-img::after {
            content: '';
            position: absolute;
            bottom: 2px;
            right: 2px;
            width: 12px;
            height: 12px;
            background: #22c55e;
            border-radius: 50%;
            border: 2px solid #0a1628;
        }

        .mailey-avatar-name {
            font-size: 0.7rem;
            color: #64a8cc;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .mailey-hero-content {
            flex: 1;
        }

        .mailey-hero-title {
            font-size: 1.3rem;
            font-weight: 900;
            color: #ffffff;
            margin-bottom: 8px;
            line-height: 1.3;
        }

        .mailey-hero-title span {
            background: linear-gradient(135deg, #ffffff, #aaaaaa);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .mailey-hero-desc {
            font-size: 0.88rem;
            color: #94a3b8;
            line-height: 1.55;
            margin-bottom: 16px;
        }

        .mailey-hero-desc strong {
            color: #ffffff;
        }

        .mailey-steps {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .mailey-step {
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 10px;
            padding: 8px 12px;
            transition: border-color 0.25s, background 0.25s;
            cursor: default;
        }

        .mailey-step:hover {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .mailey-step-num {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #ffffff;
            font-size: 0.65rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .mailey-step-icon {
            color: #ffffff;
            font-size: 0.9rem;
            flex-shrink: 0;
        }

        .mailey-step-text {
            font-size: 0.8rem;
            color: #e2e8f0;
            font-weight: 600;
            white-space: nowrap;
        }

        .mailey-feature-grid {
            display: none;
        }

        .mailey-feature-card .tx {
            font-weight: 800;
            font-size: .95rem
        }


        @media(max-width: 900px) {
            .mailey-feature-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        /* Guest pricing grid */
        .mailey-pricing {
            margin: 0 !important;
            padding: 0 !important;
            border-top: none !important;
        }

        .mailey-pricing h3 {
            margin: 0 0 10px 0;
            font-size: 1.05rem;
            font-weight: 900;
            color: #cfeaff
        }

        .mailey-pricing-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
        }

        .mailey-price-card {
            background: rgba(10, 18, 28, .6);
            border: 1px solid rgba(29, 161, 242, .25);
            border-radius: 12px;
            padding: 14px
        }

        .mailey-price {
            font-size: 1.6rem;
            font-weight: 900;
            color: #1dd8ff
        }

        .mailey-small {
            font-size: .9rem;
            color: #9ec7ea;
            margin: 6px 0 10px 0
        }

        .mailey-price-card .ml-btn {
            background: linear-gradient(135deg, #1da1f2, #36e2ff);
            color: #001;
            border: none;
            border-radius: 10px;
            padding: 8px 12px;
            font-weight: 900;
            text-decoration: none;
            display: inline-block
        }

        @media(max-width: 900px) {
            .mailey-pricing-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media(max-width: 600px) {
            .mailey-pricing-grid {
                grid-template-columns: 1fr;
            }
        }

        /* woodmart accordion overflow fix */
        .wd-accordion-item {
            max-width: 100vw;
            overflow-x: hidden;
            box-sizing: border-box;
        }

        /* Modal */
        .mailey-modal {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, .65);
            z-index: 999999;
            align-items: center;
            justify-content: center;
        }

        .mailey-modal-inner {
            background: #1a1a1a;
            border: 1px solid rgba(255, 255, 255, .1);
            border-radius: 16px;
            width: 90%;
            max-width: 600px;
            height: auto;
            max-height: 90vh;
            overflow: auto;
            padding: 32px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
        }

        .mailey-modal-inner.large-modal {
            width: 96vw;
            height: 94vh;
            max-width: none;
            max-height: none;
        }

        .mailey-modal-title {
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: #ffffff;
            font-weight: 800;
            margin-bottom: 8px;
        }

        .mailey-close {
            background: transparent;
            border: none;
            color: #ffffff;
            font-size: 22px;
            cursor: pointer;
            opacity: 0.7;
            transition: opacity 0.2s;
        }

        .mailey-close:hover {
            opacity: 1;
        }

        .variables-dropdown-btn {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #ffffff;
            font-size: 0.85rem;
            font-weight: 600;
            padding: 6px 10px;
            border-radius: 6px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s;
        }

        .variables-dropdown-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .variables-dropdown-menu {
            max-height: 400px;
            overflow-y: auto;
        }

        .variable-item:hover {
            background: rgba(255, 255, 255, 0.08);
        }

        .variables-dropdown-wrapper.active .variables-dropdown-menu {
            display: block !important;
        }

        @media (max-width: 900px) {
            .mailey-body {
                grid-template-columns: 1fr !important;
                padding: 0 0 10px 0 !important;
                min-width: 0 !important;
                max-width: 100vw !important;
                overflow-x: hidden !important;
            }

            .mailey-body.toprow {
                grid-template-columns: 1fr !important;
            }

            .mailey-statbar {
                grid-template-columns: repeat(3, 1fr);
            }

            .analytics-tabs {
                grid-template-columns: repeat(2, 1fr);
            }

            .mailey-glass-root {
                max-width: 100% !important;
                width: 100% !important;
                min-width: 0 !important;
                overflow: hidden !important;
            }

            .mailey-card {
                padding: 12px !important;
                box-sizing: border-box !important;
                width: 100% !important;
                min-width: 0 !important;
                overflow: hidden !important;
            }

            .mailey-glass-table-wrap {
                width: 100% !important;
                min-width: 0 !important;
                overflow: hidden !important;
            }

            .mailey-glass-toolbar {
                flex-direction: column !important;
                align-items: flex-start !important;
                flex-wrap: wrap !important;
                gap: 10px !important;
            }

            .mailey-glass-toolbar .left {
                width: 100% !important;
                margin-bottom: 5px !important;
            }

            .mailey-glass-toolbar .right {
                width: 100% !important;
                flex-direction: column !important;
                align-items: flex-start !important;
            }

            .mailey-glass-toolbar .per-page {
                width: 100% !important;
                justify-content: flex-start !important;
            }

            .mailey-glass-toolbar .search {
                width: 100% !important;
                max-width: 100% !important;
            }

            .mailey-glass-toolbar .search input {
                width: 100% !important;
                min-width: 200px !important;
            }

            .mailey-glass-toolbar .export {
                display: flex !important;
                flex-wrap: wrap;
                gap: 6px;
                width: 100% !important;
                justify-content: flex-start !important;
            }

            .mailey-glass-toolbar .btn {
                font-size: 0.85rem !important;
                padding: 5px 8px !important;
                flex: 0 0 auto !important;
            }
        }

        /* ── Mobile Optimization Helpers ───────────────────────────────────── */
        .desktop-text {
            display: inline;
        }

        .mobile-icon {
            display: none;
        }

        @media (max-width: 900px) {
            .mailey-glass-header {
                flex-direction: column !important;
                align-items: stretch !important;
                padding: 15px !important;
                text-align: center;
            }

            .mailey-left-actions {
                flex-wrap: wrap !important;
                justify-content: center !important;
                gap: 10px !important;
            }

            #mailey-new-campaign-btn {
                width: 100% !important;
                justify-content: center !important;
            }

            .mailey-left-actions .mailey-header-dropdown-wrap {
                flex: 1;
                min-width: 140px;
            }

            .mailey-left-actions .mailey-action-block {
                width: 100% !important;
                justify-content: center !important;
            }

            .mailey-upgrade-btn i,
            .mailey-guide-btn i {
                font-size: 1.4rem !important;
            }

            .mailey-upgrade-btn .desktop-text,
            .mailey-guide-btn .desktop-text {
                display: none !important;
            }

            .mailey-brand-row,
            .mailey-actions-row {
                flex-direction: column !important;
                gap: 12px !important;
                align-items: center !important;
            }

            .mailey-brand {
                margin-bottom: 5px !important;
                justify-content: center !important;
            }

            .mailey-glass-table-wrap {
                width: 100% !important;
                max-width: 100% !important;
                overflow: hidden !important;
                padding: 0 !important;
            }

            .mailey-any-source-form {
                border-right: none !important;
                padding-right: 0 !important;
            }

            /* Fix dropdown overflow on left */
            .mailey-dropdown-menu {
                left: 0 !important;
                right: auto !important;
                max-width: 90vw !important;
                width: max-content !important;
            }

            .mailey-modal-inner {
                width: 95% !important;
                max-width: 95vw !important;
                overflow-x: hidden !important;
                padding: 0 !important;
            }

            .mailey-modal-form-header-grid,
            .mailey-modal-form-details-grid {
                grid-template-columns: 1fr !important;
                gap: 15px !important;
            }

            #mailey_campaign_actions {
                justify-content: center !important;
            }

            .mailey-table-scroll {
                min-width: 0 !important;
                width: 100% !important;
                max-width: 100% !important;
                max-height: 500px !important;
                overflow-x: auto !important;
                overflow-y: auto !important;
                -webkit-overflow-scrolling: touch !important;
                display: block !important;
                position: relative !important;
                box-sizing: border-box !important;
            }

            table.mailey-glass-table,
            #maileyLeadsTable {
                min-width: 700px !important;
                width: 100% !important;
                table-layout: fixed !important;
                /* Force fixed layout to respect widths */
            }

            #maileyLeadsTable th,
            #maileyLeadsTable td {
                max-width: 150px !important;
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
                padding: 8px 4px !important;
            }

            #mailey-leads-container {
                width: 100% !important;
                max-width: 100% !important;
                overflow: hidden !important;
                box-sizing: border-box !important;
                display: block !important;
            }

            /* Ultra-compact 4-row toolbar */
            .mailey-leads-toolbar {
                display: grid !important;
                grid-template-columns: repeat(3, 1fr) !important;
                grid-template-columns: repeat(3, 1fr) !important;
                grid-template-rows: auto auto auto !important;
                gap: 8px !important;
                padding: 10px 8px !important;
                max-width: 100% !important;
                box-sizing: border-box !important;
                overflow: hidden !important;
                width: 100% !important;
            }

            .mailey-leads-toolbar-left,
            .mailey-leads-toolbar-right {
                display: contents !important;
            }

            /* Row 1: Count + Search + Date Icon */
            #mailey-leads-row1 {
                grid-column: 1 / -1 !important;
                display: flex !important;
                align-items: center !important;
                justify-content: flex-start !important;
                gap: 8px !important;
                width: 100% !important;
            }

            #mailey-leads-count-display {
                white-space: nowrap !important;
                font-size: 15px !important;
            }

            #mailey-leads-search-container {
                flex: 1 !important;
                max-width: none !important;
                width: auto !important;
                min-width: 0 !important;
            }

            #mailey-leads-search {
                width: 100% !important;
                max-width: 100% !important;
            }

            #mailey-leads-date-range-container {
                width: 32px !important;
                height: 32px !important;
                justify-content: center !important;
                border: 1px solid rgba(255, 255, 255, 0.15) !important;
                border-radius: 50% !important;
                background: rgba(0, 0, 0, 0.2) !important;
                padding: 0 !important;
                flex-shrink: 0 !important;
            }

            #mailey-leads-date-range {
                display: none !important;
            }

            #mailey-leads-date-range-container i.fa-calendar {
                position: static !important;
                margin: 0 !important;
                font-size: 14px !important;
                color: #8edbff !important;
            }

            /* Row 2: Status, Campaign, Inbox selects */
            #mailey-leads-status,
            #mailey-leads-campaign,
            #mailey-leads-inbox {
                grid-row: 2 !important;
                grid-column: span 1 !important;
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
                font-size: 11px !important;
                padding: 4px 2px !important;
                white-space: normal !important;
                /* Allow text to wrap if absolutely necessary, or just don't truncate */
            }

            /* Row 3: Actions (Icons Only) + Pagination - ALL ALIGNED LEFT */
            .mailey-leads-toolbar-right {
                grid-row: 3 !important;
                grid-column: 1 / -1 !important;
                display: flex !important;
                flex-wrap: wrap !important;
                align-items: center !important;
                justify-content: flex-start !important;
                gap: 6px !important;
                margin-top: 2px !important;
            }

            /* Hide text labels for actions on mobile */
            .mailey-action-btn .desktop-text,
            .mailey-action-btn .mobile-icon {
                display: none !important;
            }

            .mailey-action-btn {
                padding: 6px 8px !important;
                min-width: 32px !important;
                justify-content: center !important;
                font-size: 0.8rem !important;
            }

            .mailey-action-btn i {
                margin-right: 0 !important;
                font-size: 14px !important;
            }

            /* Pagination compaction */
            .mailey-leads-toolbar-right>div[style*="border-left"] {
                margin-left: 0 !important;
                padding-left: 5px !important;
                border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
                flex-shrink: 0 !important;
            }

            /* Table 'Lead' & 'Contact' Column Min-width */
            #maileyLeadsTable th:nth-child(3),
            #maileyLeadsTable td:nth-child(3),
            #maileyLeadsTable th:nth-child(5),
            #maileyLeadsTable td:nth-child(5) {
                min-width: 200px !important;
            }

            .mailey-leads-toolbar-left>div:first-child {
                grid-column: span 2;
                justify-content: center;
                margin-bottom: 2px;
            }
        }

        @media (max-width: 768px) {
            .mailey-brand-tagline {
                display: none !important;
            }

            .mailey-btn.prominent {
                margin: 5px 0 !important;
                padding: 10px 20px !important;
                font-size: 1rem !important;
                width: 100% !important;
                justify-content: center !important;
            }

            .mailey-statbar {
                grid-template-columns: repeat(2, 1fr) !important;
                padding: 0 10px 10px 10px !important;
                gap: 8px !important;
            }

            .mailey-body {
                grid-template-columns: 1fr !important;
                padding: 0 0 10px 0 !important;
                gap: 10px !important;
            }

            .mailey-analytics-section {
                padding: 0 0 18px 0 !important;
            }

            #maileyLeadsTable th.mailey-col-lead,
            #maileyLeadsTable td.mailey-col-lead {
                min-width: 170px !important;
                max-width: 170px !important;
                width: 170px !important;
            }

            .campaigns-header-mobile {
                flex-direction: column;
                align-items: flex-start !important;
                gap: 10px;
            }

            .campaigns-header-mobile h3 {
                width: 100%;
                justify-content: space-between;
                flex-wrap: wrap;
            }

            #mailey-camp-tabs {
                flex-wrap: wrap;
            }
        }

        .mailey-card {
            padding: 10px !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
        }

        .desktop-text {
            display: none !important;
        }

        .mobile-icon {
            display: inline-block !important;
        }

        .mailey-actions {
            justify-content: center !important;
            flex-wrap: nowrap !important;
            width: 100% !important;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .mailey-actions::-webkit-scrollbar {
            display: none;
        }
        }

        @media (max-width: 600px) {
            .mailey-glass-header {
                padding: 10px !important;
                flex-direction: column !important;
                align-items: stretch !important;
                gap: 15px !important;
            }

            .mailey-glass-header .mailey-brand {
                flex-direction: column !important;
                align-items: stretch !important;
                text-align: center !important;
                gap: 10px !important;
                width: 100% !important;
            }

            .mailey-glass-header .search-wrap {
                width: 100% !important;
            }

            #dashboard-template-search {
                width: 100% !important;
            }

            .mailey-statbar {
                grid-template-columns: 1fr !important;
            }

            .mailey-glass-root {
                border-radius: 0 !important;
                margin: 0 !important;
            }

            .mailey-card {
                border-radius: 0 !important;
                padding: 8px !important;
            }
        }

        /* --- Interactive Tour --- */
        .mailey-tour-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            z-index: 2000000;
            display: none;
            pointer-events: none;
        }

        .mailey-tour-popover {
            position: fixed;
            z-index: 2000001;
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(29, 161, 242, 0.4);
            border-radius: 12px;
            padding: 20px;
            width: 320px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
            color: #fff;
            display: none;
            transition: all 0.3s ease;
        }

        .mailey-tour-popover h4 {
            margin: 0 0 10px 0;
            color: #36e2ff;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .mailey-tour-popover p {
            margin: 0 0 15px 0;
            font-size: 0.9rem;
            line-height: 1.5;
            color: #d1d5db;
        }

        .mailey-tour-popover .tour-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .mailey-tour-popover .tour-steps {
            font-size: 0.75rem;
            color: #64748b;
        }

        .mailey-tour-highlight {
            position: relative;
            z-index: 2000002 !important;
            box-shadow: 0 0 0 4px rgba(29, 161, 242, 0.6), 0 0 20px rgba(29, 161, 242, 0.4);
            pointer-events: auto !important;
        }

        /* Flex Layout for Collapsible Sidebar & Tabbed CRM */
        .mailey-glass-root {
            display: flex !important;
            min-height: 85vh;
            overflow: visible !important;
            max-width: 1340px !important;
        }

        .mailey-sidebar {
            width: 240px;
            background: rgba(10, 15, 25, 0.85);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-right: 1px solid rgba(29, 161, 242, 0.18);
            display: flex;
            flex-direction: column;
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            flex-shrink: 0;
            z-index: 1001;
        }

        .mailey-sidebar.collapsed {
            width: 70px;
        }

        #maileySidebarToggle,
        .mailey-sidebar-toggle {
            position: absolute !important;
            top: 25px !important;
            right: 15px !important;
            width: 24px !important;
            height: 24px !important;
            min-width: 24px !important;
            max-width: 24px !important;
            min-height: 24px !important;
            max-height: 24px !important;
            background: #090f1d !important;
            backdrop-filter: blur(8px) !important;
            -webkit-backdrop-filter: blur(8px) !important;
            border: 1px solid rgba(255, 255, 255, 0.15) !important;
            border-radius: 50% !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            color: #36e2ff !important;
            cursor: pointer !important;
            z-index: 1010 !important;
            transition: all 0.25s ease !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
            padding: 0 !important;
            margin: 0 !important;
            outline: none !important;
            line-height: 1 !important;
        }

        #maileySidebarToggle:hover,
        .mailey-sidebar-toggle:hover {
            background: #1da1f2 !important;
            color: #090f1d !important;
            border-color: #1da1f2 !important;
            box-shadow: 0 0 10px rgba(29, 161, 242, 0.5) !important;
        }

        .mailey-sidebar.collapsed #maileySidebarToggle,
        .mailey-sidebar.collapsed .mailey-sidebar-toggle {
            right: 23px !important;
        }

        .mailey-sidebar.collapsed #maileySidebarToggle i,
        .mailey-sidebar.collapsed .mailey-sidebar-toggle i {
            transform: rotate(180deg) !important;
        }

        .mailey-logo-section {
            padding: 20px 15px;
            display: flex;
            align-items: center;
            gap: 12px;
            border-bottom: 1px solid rgba(29, 161, 242, 0.15);
            overflow: hidden;
            white-space: nowrap;
            height: 75px;
            flex-shrink: 0;
        }

        .mailey-logo-section .logo-text {
            font-weight: 800;
            font-size: 1.2rem;
            color: #fff;
            transition: opacity 0.2s, width 0.2s;
            opacity: 1;
        }

        .mailey-sidebar.collapsed .mailey-logo-section .logo-text {
            opacity: 0;
            width: 0;
            pointer-events: none;
        }

        .mailey-sidebar.collapsed .mailey-plan-upgrade-section {
            display: none !important;
        }

        .mailey-nav-list {
            display: flex;
            flex-direction: column;
            padding: 20px 10px;
            gap: 8px;
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
        }

        .mailey-nav-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 14px;
            border-radius: 10px;
            color: #94a3b8;
            text-decoration: none !important;
            font-weight: 600;
            font-size: 0.92rem;
            transition: all 0.2s;
            white-space: nowrap;
            border-left: 3px solid transparent;
            cursor: pointer;
            box-sizing: border-box;
        }

        .mailey-nav-item:hover {
            background: rgba(29, 161, 242, 0.08);
            color: #fff;
        }

        .mailey-nav-item.active {
            background: rgba(29, 161, 242, 0.15);
            color: #36e2ff;
            border-left-color: #1da1f2;
        }

        .mailey-nav-item-text {
            transition: opacity 0.2s, width 0.2s;
            opacity: 1;
        }

        .mailey-sidebar.collapsed .mailey-nav-item-text {
            opacity: 0;
            width: 0;
            pointer-events: none;
            display: none;
        }

        .mailey-sidebar.collapsed .mailey-nav-item {
            justify-content: center;
            padding: 12px 10px;
            border-left-width: 0;
        }

        .mailey-sidebar.collapsed .mailey-nav-item i {
            font-size: 1.2rem;
        }

        .mailey-sidebar-footer {
            padding: 15px;
            border-top: 1px solid rgba(29, 161, 242, 0.15);
            height: 55px;
            display: flex;
            align-items: center;
            overflow: hidden;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .mailey-status-indicator {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .mailey-sidebar.collapsed .mailey-sidebar-footer .mailey-nav-item-text {
            opacity: 0;
            width: 0;
            pointer-events: none;
            display: none;
        }

        .mailey-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #22c55e;
            display: inline-block;
            box-shadow: 0 0 8px #22c55e;
        }

        .mailey-pulse {
            animation: mailey-pulser 2s infinite;
        }

        @keyframes mailey-pulser {
            0% {
                box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
            }

            70% {
                box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
            }
        }

        .mailey-main-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            min-width: 0;
            padding: 24px;
            background: rgba(10, 10, 12, 0.3);
            position: relative;
        }

        .mailey-main-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;
            border-bottom: 1px solid rgba(29, 161, 242, 0.15);
            padding-bottom: 20px;
            flex-wrap: wrap;
            gap: 15px;
        }

        .mailey-main-header .header-left h1 {
            margin: 0;
            font-size: 1.5rem;
            font-weight: 800;
            color: #fff;
            letter-spacing: 0.3px;
        }

        /* Tab Panels */
        .mailey-tab-content {
            display: none;
            animation: mailey-tab-fadeIn 0.3s ease;
        }

        .mailey-tab-content.active {
            display: block;
        }

        @keyframes mailey-tab-fadeIn {
            from {
                opacity: 0;
                transform: translateY(8px);
            }

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

        @media (max-width: 900px) {
            .mailey-plan-upgrade-section {
                display: none !important;
            }

            .mailey-glass-root {
                flex-direction: column !important;
            }

            .mailey-sidebar {
                width: 100% !important;
                height: auto;
                border-right: none;
                border-bottom: 1px solid rgba(29, 161, 242, 0.18);
            }

            .mailey-sidebar-toggle {
                display: none !important;
            }

            .mailey-nav-list {
                flex-direction: row !important;
                padding: 8px 10px !important;
                overflow-x: auto !important;
                gap: 8px !important;
                justify-content: space-between !important;
            }

            .mailey-nav-list .mailey-nav-item {
                flex-direction: column !important;
                align-items: center !important;
                gap: 4px !important;
                padding: 6px 10px !important;
                font-size: 0.85rem !important;
                min-width: 62px !important;
                border-left: none !important;
                border-bottom: 3px solid transparent !important;
            }

            .mailey-nav-list .mailey-nav-item.active {
                border-bottom-color: #1da1f2 !important;
            }

            .mailey-nav-list .mailey-nav-item-text {
                display: block !important;
                font-size: 0.65rem !important;
                font-weight: 700 !important;
                opacity: 1 !important;
                width: auto !important;
                text-align: center !important;
            }

            .mailey-logo-section {
                height: auto;
                padding: 10px 15px;
                border-bottom: 1px solid rgba(29, 161, 242, 0.1);
            }

            .mailey-sidebar-footer {
                display: none !important;
            }

            .mailey-main-content {
                padding: 15px !important;
            }
        }

        /* Changelog Timeline CSS */
        .mailey-changelog-wrap {
            max-width: 900px;
            margin: 0 auto;
            padding: 10px 0;
        }

        .mailey-timeline {
            position: relative;
            padding-left: 30px;
            border-left: 2px solid rgba(29, 161, 242, 0.2);
            margin-top: 20px;
        }

        .mailey-timeline-item {
            position: relative;
            margin-bottom: 40px;
        }

        .mailey-timeline-dot {
            position: absolute;
            left: -39px;
            top: 2px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #122030;
            border: 4px solid #1da1f2;
            box-shadow: 0 0 8px rgba(29, 161, 242, 0.6);
            z-index: 2;
        }

        .mailey-timeline-item.latest .mailey-timeline-dot {
            background: #1da1f2;
            border-color: #36e2ff;
            box-shadow: 0 0 12px rgba(54, 226, 255, 0.8);
        }

        .mailey-timeline-card {
            background: rgba(10, 20, 30, 0.45);
            border: 1px solid rgba(29, 161, 242, 0.15);
            border-radius: 14px;
            padding: 20px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
            transition: border-color 0.2s, transform 0.2s;
        }

        .mailey-timeline-card:hover {
            border-color: rgba(29, 161, 242, 0.4);
            transform: translateY(-2px);
        }


        .mailey-landing {
            max-width: 1200px;
            margin: 0 auto 40px;
            padding: 0 14px;
            font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
            color: #e9f4ff
        }

        .ml-btn {
            background: linear-gradient(135deg, #1da1f2, #36e2ff);
            color: #001;
            border: none;
            border-radius: 12px;
            padding: 12px 18px;
            font-weight: 900;
            box-shadow: 0 4px 16px rgba(29, 161, 242, .25);
            text-decoration: none
        }

        .ml-btn.secondary {
            background: rgba(15, 30, 45, .7);
            color: #99ceff;
            border: 1px solid rgba(29, 161, 242, .4)
        }

        .ml-sect {
            background: linear-gradient(135deg, #0b1621, #16202d);
            border: 1px solid rgba(29, 161, 242, .18);
            border-radius: 16px;
            box-shadow: 0 1px 14px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .03);
            padding: 16px;
            margin: 16px 0
        }

        .ml-sect h2 {
            margin: 0 0 10px 0;
            font-size: 1.3rem;
            font-weight: 900;
            color: #cfeaff
        }

        .ml-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px
        }

        .ml-card {
            background: rgba(10, 18, 28, .6);
            border: 1px solid rgba(29, 161, 242, .25);
            border-radius: 12px;
            padding: 16px
        }

        .ml-price {
            font-size: 2rem;
            font-weight: 900;
            color: #1dd8ff
        }

        .ml-small {
            font-size: .92rem;
            color: #a8c9e6
        }

        .ml-demo .mailey-glass-root {
            margin-top: 8px
        }

        @media(max-width:900px) {
            .ml-grid {
                grid-template-columns: 1fr
            }
        }

        /* Dashboard classes needed for the demo section */
        .mailey-glass-root {
            position: relative;
            margin: 0 auto 24px;
            max-width: 1280px;
            color: #e8f2ff;
            background: linear-gradient(135deg, rgba(10, 10, 10, .6), rgba(20, 30, 50, .6));
            border: 1px solid rgba(29, 161, 242, .2);
            border-radius: 18px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .03);
            overflow: hidden;
            font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
        }

        .mailey-glass-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 20px;
            background: linear-gradient(90deg, rgba(29, 161, 242, .08), transparent);
            border-bottom: 1px solid rgba(29, 161, 242, .12);
            gap: 12px;
            flex-wrap: wrap;
        }

        .mailey-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 800;
            font-size: 1rem;
            color: #cfeaff;
        }

        .mailey-brand .logo {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            background: linear-gradient(135deg, #1da1f2, #6d28d9);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1rem;
        }

        .mailey-actions {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            align-items: center;
        }

        .mailey-btn {
            background: linear-gradient(135deg, #1da1f2, #36e2ff);
            color: #001;
            border: none;
            border-radius: 10px;
            padding: 8px 14px;
            font-weight: 700;
            font-size: 0.82rem;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .mailey-body {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
        }

        .mailey-card {
            background: rgba(10, 18, 28, .55);
            border: 1px solid rgba(29, 161, 242, .15);
            border-radius: 14px;
            padding: 16px;
        }

        .mailey-card h3 {
            margin: 0 0 10px;
            font-size: .95rem;
            font-weight: 800;
            color: #cfeaff;
            display: flex;
            align-items: center;
            gap: 7px;
        }

        .mailey-profile {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .mailey-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #1da1f2, #6d28d9);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 900;
            font-size: 1.1rem;
        }

        .mailey-name {
            font-weight: 700;
            font-size: .9rem;
            color: #cfeaff;
            margin-top: 6px;
        }

        .plan-pill {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 4px;
        }

        .plan-pill .badge {
            background: rgba(251, 191, 36, .12);
            border: 1px solid rgba(251, 191, 36, .35);
            color: #fbbf24;
            border-radius: 20px;
            padding: 3px 8px;
            font-size: .75rem;
            font-weight: 700;
        }

        .upgrade-btn {
            background: linear-gradient(135deg, #1da1f2, #36e2ff);
            color: #001;
            border: none;
            border-radius: 20px;
            padding: 4px 10px;
            font-size: .72rem;
            font-weight: 700;
            cursor: pointer;
        }

        .kv {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }

        .pill {
            background: rgba(29, 161, 242, .08);
            border: 1px solid rgba(29, 161, 242, .18);
            border-radius: 8px;
            padding: 5px 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2px;
        }

        .pill .label {
            font-size: .65rem;
            color: #6ba8cc;
            font-weight: 600;
        }

        .pill .value {
            font-size: .95rem;
            font-weight: 800;
            color: #cfeaff;
        }

        .muted {
            color: #4a6a80;
            font-size: .8rem;
        }

        @media(max-width:768px) {
            .mailey-brand-tagline {
                display: none !important;
            }

            .mailey-glass-root {
                border: none !important;
                box-shadow: none !important;
            }

            .mailey-glass-header {
                flex-direction: column;
                align-items: stretch;
                gap: 15px;
                padding: 0 !important;
            }

            .mailey-brand {
                justify-content: flex-start !important;
                overflow-x: auto !important;
                white-space: nowrap !important;
                -webkit-overflow-scrolling: touch;
                padding: 10px 15px !important;
                scrollbar-width: none;
            }

            .mailey-brand::-webkit-scrollbar {
                display: none;
            }

            .bajhi-custom-header-stats {
                flex-wrap: nowrap !important;
                overflow-x: auto !important;
                justify-content: flex-start !important;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
            }

            .bajhi-custom-header-stats::-webkit-scrollbar {
                display: none;
            }

            .mailey-body {
                grid-template-columns: 1fr !important;
            }
        }

        .mailey-saas-chat-wrapper .bm-lc-button {
            background: none !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
            padding: 10px !important;
            width: 100% !important;
            border-radius: 12px !important;
            font-family: inherit !important;
            color: inherit !important;
            text-align: center !important;
            cursor: pointer !important;
            transition: 0.3s !important;
            display: block;
        }

        .mailey-saas-chat-wrapper .bm-lc-button:hover {
            background: rgba(255, 255, 255, 0.05) !important;
        }

        /* Mailey AI Templates Section */
        .mailey-section {
            margin-top: 30px;
            margin-bottom: 40px;
            padding: 24px;
            background: rgba(10, 20, 32, 0.45);
            border: 1px solid rgba(29, 161, 242, 0.15);
            border-radius: 16px;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
        }

        .mailey-templates-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 20px;
        }

        .mailey-template-card {
            background: rgba(18, 32, 48, 0.6);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(29, 161, 242, 0.15);
            border-radius: 12px;
            padding: 20px;
            cursor: pointer;
            transition: all 0.25s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .mailey-template-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #1da1f2, #36e2ff);
            opacity: 0;
            transition: opacity 0.2s;
        }

        .mailey-template-card:hover {
            border-color: #36e2ff;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }

        .mailey-template-card:hover::before {
            opacity: 1;
        }

        .mailey-template-header {
            display: inline-block;
            padding: 4px 10px;
            background: rgba(29, 161, 242, 0.12);
            color: #8edbff;
            border-radius: 20px;
            font-size: 0.72rem;
            font-weight: 700;
            margin-bottom: 12px;
            width: fit-content;
        }

        .mailey-template-card h4 {
            margin: 0 0 10px 0;
            font-size: 1.05rem;
            color: #fff;
            font-weight: 700;
        }

        .mailey-template-card p {
            color: #a0aec0;
            font-size: 0.85rem;
            line-height: 1.45;
            margin: 0 0 16px 0;
            flex-grow: 1;
        }

        .mailey-template-card {
            padding-right: 48px !important;
        }

        .mailey-template-source-logo {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.45rem;
            opacity: 0.72;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 2;
        }

        .mailey-template-card:hover .mailey-template-source-logo {
            opacity: 1;
            transform: scale(1.18) rotate(5deg);
        }

        /* Premium Mobile Responsiveness Upgrades */
        .header-right {
            -ms-overflow-style: none !important;
            scrollbar-width: none !important;
        }

        .header-right::-webkit-scrollbar {
            display: none !important;
        }

        @media (max-width: 1200px) {

            /* 1. mailey-glass-header templates responsiveness */
            .mailey-tab-content#tab-templates .mailey-glass-header {
                flex-direction: column !important;
                align-items: stretch !important;
                gap: 15px !important;
                padding: 14px 15px !important;
            }

            .mailey-tab-content#tab-templates .mailey-glass-header .mailey-brand {
                flex-direction: column !important;
                align-items: stretch !important;
                gap: 10px !important;
                width: 100% !important;
            }

            .mailey-tab-content#tab-templates .mailey-glass-header .mailey-brand span {
                text-align: center !important;
                display: block !important;
                font-size: 0.9rem !important;
            }

            .mailey-tab-content#tab-templates .mailey-glass-header .mailey-brand button {
                width: 100% !important;
                margin-right: 0 !important;
            }

            .mailey-tab-content#tab-templates .mailey-glass-header .search-wrap,
            .mailey-tab-content#tab-templates .mailey-glass-header .search-wrap input {
                width: 100% !important;
            }

            /* 2. analytics-tabs bajhi-custom-header-stats responsiveness */
            .analytics-tabs.bajhi-custom-header-stats {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 10px !important;
            }

            /* 5. SMTP Infrastructure modal responsiveness */
            #maileyModal_smtps .mailey-smtps-container {
                grid-template-columns: 1fr !important;
                gap: 20px !important;
            }

            #maileyModal_smtps .mailey-smtps-container>div {
                min-height: auto !important;
            }

            /* 6. Hide collapse sidebar toggle on mobile */
            #maileySidebarToggle {
                display: none !important;
            }

            /* 7. Insights section single column responsiveness */
            .mailey-insights-grid {
                grid-template-columns: 1fr !important;
                gap: 15px !important;
            }
        }

        /* 8. Extra Premium Rounded Corners globally */
        .mailey-glass-root {
            border-radius: 30px !important;
            overflow: hidden !important;
        }

        /* 9. Header action buttons border-radius */
        .header-right .mailey-btn,
        .header-right button {
            border-radius: 20px !important;
        }

        /* 10. Performance select mobile row styling */
        @media (max-width: 768px) {
            .mailey-glass-header.mailey-performance-header {
                flex-direction: row !important;
                align-items: center !important;
                justify-content: space-between !important;
                padding: 14px 20px !important;
                gap: 10px !important;
            }

            .mailey-glass-header.mailey-performance-header .mailey-brand {
                flex-direction: row !important;
                align-items: center !important;
                padding: 0 !important;
                width: auto !important;
                justify-content: flex-start !important;
                gap: 8px !important;
            }

            #mailey-performance-select {
                width: auto !important;
            }
        }

        @media (max-width: 600px) {
            .mailey-glass-header.mailey-performance-header {
                flex-direction: row !important;
                align-items: center !important;
                justify-content: space-between !important;
                padding: 10px 14px !important;
                gap: 10px !important;
            }

            .mailey-glass-header.mailey-performance-header .mailey-brand {
                flex-direction: row !important;
                align-items: center !important;
                padding: 0 !important;
                width: auto !important;
                justify-content: flex-start !important;
                gap: 8px !important;
            }

            #mailey-performance-select {
                width: auto !important;
            }
        }