/* Fade in toast */

@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap");

:root {
    --purple-950: #180b33;
    --purple-900: #2e1065;
    --purple-800: #3b1483;
    --purple: #4c1d95;
    --purple-600: #5f27b8;
    --purple-100: #efe9fa;
    --purple-50: #f7f4fc;

    --gold: #d4a017;
    --gold-600: #b8860f;
    --gold-300: #efc94c;
    --gold-100: #fbf0d2;

    --ink: #271f43;
    --ink-soft: #3c3452;
    --muted: #6b6478;
    --muted-light: #9b93ac;

    --surface: #ffffff;
    --surface-alt: #faf8fd;
    --surface-dark: #1b1036;
    --border: #eae4f5;
    --border-dark: rgba(255, 255, 255, 0.12);

    --success: #16a34a;
    --danger: #dc2626;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 8px rgba(24, 11, 51, 0.06);
    --shadow-md: 0 12px 32px rgba(24, 11, 51, 0.1);
    --shadow-lg: 0 24px 64px rgba(24, 11, 51, 0.16);
    --shadow-gold: 0 12px 28px rgba(212, 160, 23, 0.35);
    --shadow-purple: 0 16px 36px rgba(76, 29, 149, 0.28);

    --font-display: "Instrument Sans", sans-serif;
    --font-body: "Satoshi", "Inter", sans-serif;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    max-width: 100%;
}

@media (max-width: 767px) {
    .container,
    .container-fluid {
        overflow-x: hidden;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0;
}

.fade-in {
    animation: fadeInUp 0.4s ease-out;
}

/* Slide down for errors */
.slide-down {
    animation: slideDown 0.4s ease-out;
}

.custom-toast {
    min-width: 320px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    animation: slideIn 0.4s ease;
    margin-bottom: 10px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================================
BIZZAS DASHBOARD CSS
=========================================== */

.hero-card {
    background: linear-gradient(135deg, #2d1b54, #4b2e83, #6b3fa0);
    border-radius: 24px;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 50px rgba(75, 46, 131, 0.18);
}

.hero-card .badge.bg-light {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
}

.hero-card .btn-gold {
    background: #d4a017;
    color: #1a1a1a;
    border: none;
    font-weight: 600;
}

.hero-card .btn-gold:hover {
    background: #c2930f;
    color: #1a1a1a;
}

.hero-card .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-card {
    border: none;
    border-radius: 22px;
    transition: 0.3s;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.action-card {
    border: none;
    border-radius: 22px;
    text-decoration: none;
    transition: 0.3s;
    background: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
}

.action-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.module-card {
    border: none;
    border-radius: 22px;
    transition: 0.3s;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
}

.module-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.module-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: #f2edf9;
    color: #4b2e83;
}

.setup-item {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px 18px;
    background: #fff;
}

.checklist-item {
    padding: 14px 18px;
    border-radius: 14px;
    background: #f8fafc;
    margin-bottom: 10px;
}

.rounded-24 {
    border-radius: 24px;
}

.rounded-20 {
    border-radius: 20px;
}

/* Default */
.logo-desktop {
    display: block;
}

.logo-mobile {
    display: none;
}

/* Small screens */
@media only screen and (max-width: 47.9375rem) {
    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: block;
    }
}

.subscription-card {
    border: none;
    border-radius: 16px;
    border-left: 4px solid #4b2e83;
}

.marquee-alert {
    background: linear-gradient(90deg, #4b2e83, #6b3fa0);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    gap: 16px;
}

.marquee-track {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
}

.marquee-track span {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding-right: 60px;
    animation: bizzas-marquee 14s linear infinite;
}

@keyframes bizzas-marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.marquee-cta {
    background: #d4a017;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.action-locked {
    opacity: 0.6;
}

.module-locked {
    opacity: 0.55;
}

/* =========================================
   BIZZAS PRELOADER
========================================= */

.ic_preloader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        160deg,
        var(--purple-950) 0%,
        var(--purple-900) 55%,
        var(--purple-800) 100%
    );
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 22px;
    overflow: hidden;
}

.preloader-mark {
    width: 76px;
    height: 76px;
    position: relative;
    animation: mark-pulse 1.4s ease-in-out infinite;
}

.preloader-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes mark-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.86);
        opacity: 0.65;
    }
}

.preloader-bar {
    width: 160px;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 99px;
    overflow: hidden;
}

.preloader-bar::after {
    content: "";
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-300));
    border-radius: 99px;
    animation: bar-run 1.1s ease-in-out infinite;
}

@keyframes bar-run {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(350%);
    }
}

.preloader-word {
    font-family: var(--font-display);
    color: #fff;
    letter-spacing: 0.02em;
    font-size: 15px;
    opacity: 0.7;
}

#ic_preloader {
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

#ic_preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* =========================================
           DASHBOARD — visual refinements only
           (scoped additions; existing classes kept)
========================================= */

.biz-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.biz-welcome-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--purple-100, #efe9fa);
    color: var(--purple, #4c1d95);
    font-weight: 600;
    font-size: 13.5px;
    padding: 8px 16px;
    border-radius: 999px;
}

.biz-welcome-chip svg {
    width: 15px;
    height: 15px;
}

/* ---------- Hero ---------- */
.biz-hero {
    position: relative;
    overflow: hidden;
}

.biz-hero::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    background: var(--gold, #d4a017);
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.28;
    top: -140px;
    right: -80px;
    pointer-events: none;
}

.biz-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    background: #8b5cf6;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.25;
    bottom: -120px;
    left: -60px;
    pointer-events: none;
}

.biz-hero .card-body {
    position: relative;
    z-index: 2;
}

.biz-hero-icon-stack {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    max-width: 100%;
}

.biz-hero-icon-stack .layer {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.biz-hero-icon-stack .layer:nth-child(1) {
    transform: rotate(-8deg) scale(0.85);
}

.biz-hero-icon-stack .layer:nth-child(2) {
    transform: rotate(6deg) scale(0.92);
}

.biz-hero-icon-stack .layer:nth-child(3) {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
}

.biz-hero-icon-stack .layer:nth-child(3) i {
    font-size: 56px;
    color: #fff;
    opacity: 0.9;
}

/* ---------- Subscription strip ---------- */
.biz-sub-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.biz-sub-ic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 17px;
    background: var(--purple-100, #efe9fa);
    color: var(--purple, #4c1d95);
}

.biz-sub-item .progress {
    border-radius: 99px;
    background: var(--purple-50, #f7f4fc);
}

/* ---------- Stat cards (brand-tinted icons over existing .stat-card) ---------- */
.biz-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.biz-stat-purple {
    background: var(--purple-100, #efe9fa);
    color: var(--purple, #4c1d95);
}

.biz-stat-green {
    background: #dcfce7;
    color: var(--success, #16a34a);
}

.biz-stat-gold {
    background: var(--gold-100, #fbf0d2);
    color: var(--gold-600, #b8860f);
}

.biz-stat-rose {
    background: #fde2e2;
    color: var(--danger, #dc2626);
}

.biz-stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ink, #271f43);
    margin-bottom: 2px;
}

.biz-stat-label {
    color: var(--muted, #6b6478);
    font-size: 13.5px;
    font-weight: 600;
}

/* ---------- Section headers inside cards ---------- */
.biz-card-title {
    font-weight: 700;
    color: var(--ink, #271f43);
    margin-bottom: 0;
}

.biz-card-badge {
    background: var(--purple-100, #efe9fa);
    color: var(--purple, #4c1d95);
    font-weight: 700;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 999px;
}

/* ---------- Quick action tiles ---------- */
.biz-action {
    border: 1.5px solid var(--border, #eae4f5);
    background: #fff;
}

.biz-action-ic {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 14px;
    background: var(--purple-100, #efe9fa);
    color: var(--purple, #4c1d95);
    transition: all 0.3s ease;
}

.biz-action:hover .biz-action-ic {
    background: var(--purple, #4c1d95);
    color: #fff;
    transform: rotate(-6deg) scale(1.06);
}

.biz-action.is-locked {
    background: var(--surface-alt, #faf8fd);
}

.biz-action.is-locked .biz-action-ic {
    background: #ece9f1;
    color: var(--muted-light, #9b93ac);
}

.biz-action-lockpill {
    display: inline-block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-600, #b8860f);
    background: var(--gold-100, #fbf0d2);
    padding: 3px 10px;
    border-radius: 999px;
}

/* ---------- Getting started ---------- */
.biz-checklist-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.biz-checklist-progress .progress {
    flex-grow: 1;
    height: 8px;
    border-radius: 99px;
    background: var(--purple-50, #f7f4fc);
}

.biz-checklist-progress .progress-bar {
    background: linear-gradient(
        90deg,
        var(--purple, #4c1d95),
        var(--purple-600, #5f27b8)
    );
    border-radius: 99px;
}

.biz-checklist-progress span {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted, #6b6478);
    white-space: nowrap;
}

.biz-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 14px;
    background: var(--surface-alt, #faf8fd);
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--ink-soft, #3c3452);
}

.biz-check-item:last-child {
    margin-bottom: 0;
}

.biz-check-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.biz-check-done {
    background: #dcfce7;
    color: var(--success, #16a34a);
}

.biz-check-pending {
    background: var(--purple-100, #efe9fa);
    color: var(--purple, #4c1d95);
}

/* ---------- Module grid ---------- */
.biz-module-badge-active {
    background: #dcfce7;
    color: var(--success, #16a34a);
    font-weight: 700;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 999px;
}

.biz-module-badge-locked {
    background: #ece9f1;
    color: var(--muted-light, #9b93ac);
    font-weight: 700;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.biz-module-ic {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
    background: var(--purple-100, #efe9fa);
    color: var(--purple, #4c1d95);
    transition: all 0.3s ease;
}

.module-card:hover .biz-module-ic {
    background: var(--purple, #4c1d95);
    color: #fff;
}

.module-locked .biz-module-ic {
    background: #ece9f1;
    color: var(--muted-light, #9b93ac);
}

/* PROMO CODE BANNER */
.promo-code-banner {
    background: #fff8e6;
    border: 1px dashed #e0b84c;
    padding: 12px 24px;
    border-radius: 14px;
}
.promo-code-link {
    text-decoration: none;
    color: #7a5b00;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.promo-code-link:hover {
    color: #caa94c;
    text-decoration: underline;
}
.promo-code-link i {
    font-size: 0.95rem;
}
.promo-code-divider {
    color: #e0b84c;
    font-weight: 700;
}

/* HAMBURGER MENU */

.menu-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #d4a017;
    color: #1a1a1a;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(212, 160, 23, 0.4);
    animation: menuBadgeBounce 1.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes menuBadgeBounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-4px);
    }
}

/* MENU COLLAPSE */

#menu ul.mm-collapse:not(.mm-show) {
    display: none !important;
    height: 0 !important;
    overflow: hidden;
}

#menu > li {
    position: relative;
}

#menu ul.mm-collapse.mm-show {
    position: relative;
    z-index: 1;
}

/* EMPLOYEE PROFILE */
.employee-profile-card {
    overflow: hidden;
}

.employee-cover {
    height: 80px;
    background: linear-gradient(135deg, #4b2e83, #6b3fa0);
}

.employee-avatar-wrap {
    margin-top: -48px;
    width: 96px;
    height: 96px;
}

.employee-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
}

.employee-avatar-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4b2e83;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
}

.org-tile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.org-tile-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

@media (max-width: 991.98px) {
    .employee-avatar-wrap {
        margin-top: -40px;
    }
}
