/* ====== Base / Template ====== */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* Focus */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Floating label placeholders */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ====== App Shell (Dark) ====== */
.app-body {
    background: #0b1220;
    color: #e9eefc;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

/* Dark mode: deixa o "text-muted" realmente visível */
.text-muted {
    color: rgba(255,255,255,0.72) !important;
}
/* "small" em dark tende a sumir: dá mais contraste */
.small {
    color: rgba(255,255,255,0.78) !important;
}
.tachado {
    text-decoration: line-through;
}
/* ====== Sidebar ====== */
.app-sidebar {
    width: 280px;
    background: rgba(255,255,255,0.04);
    border-right: 1px solid rgba(255,255,255,0.08);
    padding: 18px 14px;
    backdrop-filter: blur(10px);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 16px 10px;
}

.brand-badge {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    font-size: 18px;
}

.brand-title {
    font-weight: 700;
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 12px;
    opacity: .75;
}

.sidebar-nav {
    display: grid;
    gap: 6px;
    padding: 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: #e9eefc;
    background: transparent;
    border: 1px solid transparent;
}

    .nav-item:hover {
        background: rgba(255,255,255,0.06);
        border-color: rgba(255,255,255,0.10);
    }

    .nav-item.active {
        background: rgba(13,110,253,0.20);
        border-color: rgba(13,110,253,0.35);
    }

    .nav-item .icon {
        width: 22px;
        text-align: center;
    }

.sidebar-sep {
    height: 1px;
    background: rgba(255,255,255,0.10);
    margin: 10px 4px;
}

/* ====== Main / Topbar ====== */
.app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
}

.topbar-title .title {
    font-weight: 700;
    font-size: 16px;
}

.topbar-title .subtitle {
    font-size: 12px;
}

.app-topbar .badge {
    font-size: 0.95rem;
    padding: 10px 14px;
    border-radius: 999px;
}

.app-topbar .btn {
    border-radius: 14px;
    padding: 10px 14px;
}

.app-content {
    padding: 18px;
}

/* ====== Cards (Glass) ====== */
.card-glass {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    color: #e9eefc;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.card-glass .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.align-ct-center {
    align-content: center;
}

/* ====== Wizard (Container / Stepper / Actions) ====== */
.wizard-top {
    margin: 10px 0;
}

/* Stepper */
.stepper {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

    .stepper a,
    .stepper span {
        padding: 8px 12px;
        border-radius: 14px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.10);
        color: #e9eefc;
        text-decoration: none;
        font-size: 13px;
    }

    .stepper .active {
        background: rgba(255,193,7,0.20);
        border-color: rgba(255,193,7,0.35);
        font-weight: 700;
    }

/* Wizard actions */
.wizard-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 14px;
}

/* Se você usa wizard-card "branco" em algum lugar, pode manter;
   mas no seu tema dark recomendo usar card-glass no lugar. */
.wizard-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    max-width: 900px;
    margin: 0 auto;
}

/* ====== Preview Grid (responsivo + sem rolagem no desktop) ====== */
.preview-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.preview-tile img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
}

/* Label do preview (mais legível que small/text-muted no dark) */
.preview-label {
    color: rgba(255,255,255,0.78);
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

/* Mobile/tablet: 1 coluna e rolagem normal */
@media (max-width: 991.98px) {
    .preview-grid {
        grid-template-columns: 1fr;
        height: auto;
        overflow: visible;
    }

    .preview-tile img {
        height: auto;
    }
}

/* ====== Fonts / Branding ====== */
.font-roboto {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    color: #fff;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #ffd700;
}

.font-roboto-shift {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    color: #ffd700;
}

.font-roboto-blue {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    color: #2E86AB;
}

.font-roboto-green {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    color: #28A745;
}

/* ====== Generate Overlay (spinner + timer) ====== */
.gen-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 22, 0.78);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gen-card {
    width: min(460px, 92vw);
    padding: 22px;
    border-radius: 18px;
    background: rgba(25, 33, 48, 0.9);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 18px 50px rgba(0,0,0,0.45);
    text-align: center;
}

.gen-hint {
    color: rgba(255,255,255,0.78);
    font-size: .9rem;
}

.gen-sub {
    color: rgba(255,255,255,0.68);
    font-size: .85rem;
}

/* ===== Conteúdo rolável sem mexer no body ===== */
.app-content {
    height: calc(100vh - 72px); /* ajuste se teu topbar tiver outra altura */
    overflow: auto;
    padding-bottom: 24px;
}

/* Em telas menores, deixa o body rolar normal (mais confortável) */
@media (max-width: 991.98px) {
    .app-content {
        height: auto;
        overflow: visible;
    }
}

/* Card do histórico: garante espaço pro rodapé (botões) */
.preview-tile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.preview-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Área de botões sempre visível */
.preview-actions {
    margin-top: auto;
    display: grid;
    gap: 8px;
}

/* Botões não “achatam” */
.preview-actions .btn {
    padding: 12px 14px;
    border-radius: 14px;
}

/* Histórico: sempre permitir rolagem vertical quando passar do viewport */
.history-scroll {
    max-height: calc(100vh - 220px); /* ajuste fino depois */
    overflow-y: auto;
    padding-right: 16px; /* dá espaço pro scrollbar não encostar */
}

/* Mobile: rolagem normal do body */
@media (min-width: 992px) {
    .history-scroll .preview-grid {
        height: auto !important;
        overflow: visible !important;
    }
}

.preview-actions {
    margin-top: auto;
    display: grid;
    gap: 8px;
}

@keyframes badgeGlow {
    0% {
        box-shadow: 0 0 0 rgba(255,255,255,0.0);
        transform: translateZ(0) scale(1);
    }

    35% {
        box-shadow: 0 0 18px rgba(255,255,255,0.35);
        transform: translateZ(0) scale(1.03);
    }

    70% {
        box-shadow: 0 0 10px rgba(255,255,255,0.22);
        transform: translateZ(0) scale(1.01);
    }

    100% {
        box-shadow: 0 0 0 rgba(255,255,255,0.0);
        transform: translateZ(0) scale(1);
    }
}

.badge-glow {
    animation: badgeGlow 900ms ease-out 1;
}

/* ===== Credits Badge Glow ===== */
.credits-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
}

/* estados */
.credits-ok {
    color: #b8ffd9;
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

.credits-ok.glow {
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.35), 0 0 24px rgba(40, 167, 69, 0.20);
}

.credits-low {
    color: #ffe9a6;
}

.credits-low.glow {
    animation: creditsPulse 1.2s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.35), 0 0 26px rgba(255, 193, 7, 0.18);
}

.credits-zero {
    color: #ffb3b3;
}

.credits-zero.glow {
    animation: creditsPulseRed 1.0s ease-in-out infinite;
    box-shadow: 0 0 14px rgba(220, 53, 69, 0.38), 0 0 30px rgba(220, 53, 69, 0.22);
}

@keyframes creditsPulse {
    0%, 100% {
        transform: translateZ(0) scale(1);
    }

    50% {
        transform: translateZ(0) scale(1.03);
    }
}

@keyframes creditsPulseRed {
    0%, 100% {
        transform: translateZ(0) scale(1);
    }

    50% {
        transform: translateZ(0) scale(1.05);
    }
}

.btn-glow {
    box-shadow: 0 0 0 rgba(0,0,0,0);
    transition: box-shadow .2s ease, transform .2s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 22px rgba(13,110,253,0.55);
    transform: translateY(-1px);
}

.btn-glow:active {
    transform: translateY(0);
}

.sidebar-meta {
    padding: 10px;
    margin: 10px 12px 0;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}

.sidebar-meta .meta-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 4px 0;
}

.sidebar-meta .meta-label {
    width: 18px;
    text-align: center;
    opacity: .85;
}

.sidebar-meta .meta-text {
    flex: 1;
    font-size: .85rem;
    opacity: .9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-meta .meta-action {
    text-decoration: none;
    font-size: .9rem;
    padding: 3px 6px;
    border-radius: 8px;
    opacity: .8;
}

.sidebar-meta .meta-action:hover {
    background: rgba(255,255,255,0.06);
    opacity: 1;
}
.sidebar-user {
    margin: 10px 12px 0;
}

.sidebar-user-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 10px 10px;
    color: rgba(255,255,255,0.92);
}

.sidebar-user-btn:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.10);
}

.sidebar-user-btn .emoji {
    width: 18px;
    text-align: center;
    opacity: .9;
}

.sidebar-user .dropdown-menu {
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
}

/* “card” do topo (créditos) */
.sidebar-user-menu .dropdown-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 10px;
}

/* deixa o menu confortável em telas pequenas */
.sidebar-user-menu {
    max-height: 70vh;
    overflow: auto;
}

.credits-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

@keyframes pulseSoft {
    0% {
        box-shadow: 0 0 0 rgba(255,255,255,0.0);
        transform: translateZ(0) scale(1);
    }

    35% {
        box-shadow: 0 0 18px rgba(255,255,255,0.35);
        transform: translateZ(0) scale(1.03);
    }

    70% {
        box-shadow: 0 0 10px rgba(255,255,255,0.22);
        transform: translateZ(0) scale(1.01);
    }

    100% {
        box-shadow: 0 0 0 rgba(255,255,255,0.0);
        transform: translateZ(0) scale(1);
    }
}

.credits-badge.pulse {
    animation: pulseSoft 1.4s ease-out infinite;
}

.text-danger.size {
    font-size: 16px;
    font-weight: 600;
}

.bg-blue {
    color: #fff;
    background: #1b6ec2;
}
.bg-blue-claro {
    color: #fff;
    background: #72b6ee;
}
.bg-gold {
    color: #000;
    background: #ffd700;
}

.fc-white {
    color: #fff
}

.model-badge {
    display: block;
    max-width: 480px;
}

.model-badge-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .25s ease, opacity .25s ease;
}

.model-badge.unfolded .model-badge-body {
    max-height: 300px;
    opacity: 1;
}

.badge-text {
    margin-top: 3px;
}

/* Estilo para card de produtos */
.product-table td,
.product-table th {
    vertical-align: middle;
}

.product-card-mobile {
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 1rem;
    background: rgba(255,255,255,.03);
}

.product-gallery {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-wrap: nowrap;
}

    .product-gallery.desktop {
        min-height: 56px;
    }

    .product-gallery.mobile {
        flex-wrap: wrap;
        gap: .5rem;
    }

.product-thumb {
    transition: transform .15s ease, box-shadow .15s ease;
}

    .product-thumb:hover {
        transform: scale(1.06);
        box-shadow: 0 4px 12px rgba(0,0,0,.35);
    }

    .product-thumb.desktop {
        width: 48px;
        height: 48px;
    }

    .product-thumb.mobile {
        width: 60px;
        height: 60px;
    }

.product-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: .68rem;
    color: rgba(255,255,255,.65);
    padding: .25rem;
}

.product-thumb-placeholder::before {
    content: "📦";
    font-size: 18px;
}
.product-thumb.desktop.product-thumb-placeholder {
    width: 48px;
    height: 48px;
}

.product-thumb.mobile.product-thumb-placeholder {
    width: 60px;
    height: 60px;
}

@media (max-width: 767.98px) {
    .product-card-mobile .form-control,
    .product-card-mobile .btn {
        min-height: 44px;
    }

        .product-card-mobile .btn.btn-sm {
            padding-top: .5rem;
            padding-bottom: .5rem;
        }
}

.form-check-input:checked {
    border-color: #ffc107;
    background-color: #ffc107;
}

.product-card-mobile.is-featured {
    border-color: rgba(255, 193, 7, .45);
    box-shadow: 0 0 0 1px rgba(255, 193, 7, .18);
}

.product-table td,
.product-table th {
    vertical-align: middle;
}

.product-row-featured {
    background: rgba(255, 193, 7, .06);
    box-shadow: inset 3px 0 0 rgba(255, 193, 7, .80);
}

.product-card-mobile {
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 1rem;
    background: rgba(255,255,255,.03);
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .product-card-mobile.is-featured {
        border-color: rgba(255, 193, 7, .45);
        box-shadow: 0 0 0 1px rgba(255, 193, 7, .18);
    }

.product-gallery {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-wrap: nowrap;
}

    .product-gallery.desktop {
        min-height: 56px;
    }

    .product-gallery.mobile {
        flex-wrap: wrap;
        gap: .5rem;
    }

.product-thumb {
    object-fit: cover;
    border-radius: .75rem;
    border: 1px solid rgba(255,255,255,.12);
    display: block;
    background: rgba(255,255,255,.04);
    flex: 0 0 auto;
}

    .product-thumb.desktop {
        width: 48px;
        height: 48px;
    }

    .product-thumb.mobile {
        width: 60px;
        height: 60px;
    }

.product-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: .68rem;
    color: rgba(255,255,255,.65);
    padding: .25rem;
}

.product-thumb.desktop.product-thumb-placeholder {
    width: 48px;
    height: 48px;
}

.product-thumb.mobile.product-thumb-placeholder {
    width: 60px;
    height: 60px;
}

.featured-radio {
    border-color: rgba(255, 193, 7, .75);
}

    .featured-radio:checked {
        background-color: #ffc107;
        border-color: #ffc107;
    }

@media (max-width: 767.98px) {
    .product-card-mobile .form-control,
    .product-card-mobile .btn {
        min-height: 44px;
    }

        .product-card-mobile .btn.btn-sm {
            padding-top: .5rem;
            padding-bottom: .5rem;
        }
}

.app-offcanvas {
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: #fff;
}

    .app-offcanvas .offcanvas-header {
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .app-offcanvas .offcanvas-title {
        font-weight: 700;
        letter-spacing: .2px;
    }

.mobile-user-card {
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.mobile-menu-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-link {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #f3f4f6;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.05);
    transition: .18s ease;
}

    .mobile-menu-link:hover {
        background: rgba(255,255,255,.08);
        color: #fff;
    }

    .mobile-menu-link.disabled {
        opacity: .55;
        pointer-events: none;
    }

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-link {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: .18s ease;
}

    .sidebar-link:hover {
        background: rgba(255,255,255,.06);
    }

    .sidebar-link.active {
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.08);
    }

.dropdown-card {
    margin-top: 6px;
}

.credits-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.credits-badge {
    font-weight: 700;
    letter-spacing: .2px;
}

@media (max-width: 991.98px) {
    .app-topbar .btn {
        white-space: nowrap;
    }
}


.ff-hero {
    background: radial-gradient(circle at top left, rgba(255, 193, 7, 0.18), transparent 28%), radial-gradient(circle at bottom right, rgba(13, 110, 253, 0.16), transparent 30%), linear-gradient(180deg, #0b1220 0%, #111827 100%);
    color: #fff;
}

.py-lg-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.ff-badge {
    padding: .55rem .9rem;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: #f8fafc;
}

.ff-hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.03em;
}

.ff-hero-text,
.ff-section-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,.78);
}

.ff-hero-note {
    color: rgba(255,255,255,.68);
    font-size: .95rem;
}

.ff-hero-card {
    position: relative;
    padding: 1rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.ff-preview-shell {
    background: #f8fafc;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}

.ff-preview-top {
    display: flex;
    gap: 6px;
    padding: 12px 14px;
    background: #e5e7eb;
}

.ff-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.ff-preview-body {
    padding: 18px;
}

.ff-preview-banner {
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #fff;
}

.ff-preview-brand {
    font-size: .8rem;
    opacity: .8;
    margin-bottom: 6px;
}

.ff-preview-title {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.1;
}

.ff-preview-subtitle {
    font-size: .9rem;
    opacity: .75;
    margin-top: 6px;
}

.ff-preview-product {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.ff-preview-image {
    height: 110px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
    margin-bottom: 12px;
}

.ff-preview-line {
    height: 10px;
    border-radius: 999px;
    background: #e5e7eb;
    margin-bottom: 8px;
}

    .ff-preview-line.lg {
        width: 82%;
    }

    .ff-preview-line:not(.lg) {
        width: 58%;
    }

.ff-preview-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    margin-top: 10px;
}

.ff-preview-cta {
    text-align: center;
    padding: 12px;
    border-radius: 14px;
    background: #111827;
    color: #fff;
    font-size: .92rem;
    font-weight: 600;
}

.ff-section {
    padding: 5rem 0;
    background: #0f172a;
    color: #fff;
}

.ff-section-alt {
    background: #111827;
}

.ff-proof-section {
    background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
}

.ff-section-kicker {
    display: inline-block;
    margin-bottom: .8rem;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #fbbf24;
}

.ff-section-title {
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.03em;
}

.ff-card,
.ff-step-card,
.ff-feature-card,
.ff-cta-box {
    border-radius: 24px;
    padding: 1.4rem;
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.ff-card-glow {
    border-radius: 24px;
    padding: 1.5rem;
    background: radial-gradient(circle at top right, rgba(251, 191, 36, .14), transparent 30%), linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 40px rgba(0,0,0,.22);
}

.ff-card-icon {
    font-size: 1.6rem;
    margin-bottom: .85rem;
}

.ff-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .6rem;
    color: #fff;
}

.ff-card-text {
    margin-bottom: 0;
    color: rgba(255,255,255,.72);
}

.ff-check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1.5rem;
}

.ff-check-item {
    color: rgba(255,255,255,.84);
    font-weight: 500;
}

.ff-mini-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
}

.ff-step-number,
.ff-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    font-weight: 800;
    background: #fbbf24;
    color: #111827;
}

.ff-mini-step-title {
    font-weight: 700;
    color: #fff;
}

.ff-mini-step-text {
    color: rgba(255,255,255,.7);
    font-size: .95rem;
}

.ff-step-card {
    position: relative;
    overflow: hidden;
}

.ff-step-badge {
    margin-bottom: 1rem;
}

.ff-pill {
    text-align: center;
    padding: .9rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff;
    font-weight: 600;
}

.ff-quote {
    padding: 1.1rem 1.4rem;
    border-radius: 18px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.18);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fde68a;
}

.ff-cta-section {
    padding: 5rem 0;
    background: radial-gradient(circle at top center, rgba(251, 191, 36, .12), transparent 22%), linear-gradient(180deg, #0b1220 0%, #111827 100%);
    color: #fff;
}

.ff-cta-box {
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 991.98px) {
    .ff-section,
    .ff-cta-section {
        padding: 4rem 0;
    }

    .ff-hero-card {
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .ff-card,
    .ff-step-card,
    .ff-feature-card,
    .ff-cta-box,
    .ff-card-glow {
        padding: 1.1rem;
        border-radius: 20px;
    }

    .ff-preview-body {
        padding: 14px;
    }

    .ff-preview-image {
        height: 90px;
    }
}

.ff-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(12px);
    background: rgba(11, 18, 32, 0.72);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.ff-public-nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ff-public-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.ff-public-brand-badge {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #111827;
    font-size: 1.1rem;
    box-shadow: 0 12px 24px rgba(245, 158, 11, .28);
}

.ff-public-brand-text {
    font-weight: 800;
    letter-spacing: -.02em;
}

.ff-public-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

    .ff-public-nav-links a {
        color: rgba(255,255,255,.72);
        text-decoration: none;
        font-weight: 500;
        transition: .18s ease;
    }

        .ff-public-nav-links a:hover {
            color: #fff;
        }

.ff-public-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ff-hero-premium {
    background: radial-gradient(circle at top left, rgba(251, 191, 36, .18), transparent 26%), radial-gradient(circle at 85% 15%, rgba(59, 130, 246, .18), transparent 24%), linear-gradient(180deg, #0b1220 0%, #111827 100%);
    color: #fff;
}

.ff-hero-mini-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ff-mini-proof-item {
    padding: .7rem .95rem;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.86);
    font-weight: 600;
    font-size: .92rem;
}

.ff-showcase-shell {
    position: relative;
    min-height: 560px;
}

.ff-showcase-glow {
    position: absolute;
    inset: 40px 60px auto 60px;
    height: 280px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(251, 191, 36, .22), transparent 65%);
    filter: blur(30px);
    pointer-events: none;
}

.ff-showcase-main {
    position: relative;
    z-index: 2;
    margin: 32px auto 0;
    max-width: 520px;
    border-radius: 28px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.ff-showcase-header {
    display: flex;
    gap: 7px;
    padding: 14px 16px;
    background: #e5e7eb;
}

    .ff-showcase-header span {
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: #cbd5e1;
    }

.ff-showcase-body {
    padding: 20px;
}

.ff-showcase-hero-card {
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #fff;
}

.ff-showcase-kicker {
    font-size: .8rem;
    letter-spacing: .08em;
    opacity: .78;
    margin-bottom: 8px;
}

.ff-showcase-title {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.05;
}

.ff-showcase-subtitle {
    margin-top: 8px;
    font-size: .94rem;
    opacity: .78;
}

.ff-product-mock {
    padding: 12px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.ff-product-image {
    height: 120px;
    border-radius: 16px;
    margin-bottom: 12px;
}

    .ff-product-image.mock-a {
        background: linear-gradient(135deg, #fde68a, #f59e0b);
    }

    .ff-product-image.mock-b {
        background: linear-gradient(135deg, #93c5fd, #2563eb);
    }

.ff-product-name {
    height: 10px;
    width: 78%;
    border-radius: 999px;
    background: #e5e7eb;
    margin-bottom: 8px;
}

    .ff-product-name.sm {
        width: 52%;
    }

.ff-product-price {
    margin-top: 10px;
    font-size: 1.12rem;
    font-weight: 800;
    color: #111827;
}

.ff-showcase-banner {
    text-align: center;
    padding: 12px;
    border-radius: 16px;
    background: #111827;
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
}

.ff-floating-card {
    position: absolute;
    z-index: 3;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(17, 24, 39, .9);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
    color: #fff;
    max-width: 210px;
}

.ff-floating-card-a {
    left: 0;
    top: 70px;
}

.ff-floating-card-b {
    right: 0;
    bottom: 50px;
}

.ff-floating-title {
    font-weight: 800;
    margin-bottom: 4px;
}

.ff-floating-text {
    color: rgba(255,255,255,.72);
    font-size: .92rem;
}

.ff-logo-strip {
    padding: 18px 0;
    background: #0f172a;
    border-top: 1px solid rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.ff-logo-strip-inner {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    color: rgba(255,255,255,.66);
    font-weight: 600;
    font-size: .95rem;
}

.ff-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 1.5rem;
}

.ff-result-item {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
}

    .ff-result-item strong {
        display: block;
        color: #fff;
        margin-bottom: 6px;
    }

    .ff-result-item span {
        color: rgba(255,255,255,.7);
    }

.ff-proof-panel {
    padding: 1.6rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 16px 36px rgba(0,0,0,.2);
}

.ff-proof-quote {
    padding: 1.15rem 1.3rem;
    border-radius: 18px;
    background: rgba(251, 191, 36, .12);
    border: 1px solid rgba(251, 191, 36, .18);
    color: #fde68a;
    font-size: 1.08rem;
    font-weight: 700;
}

.ff-proof-box {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
}

.ff-proof-box-title {
    font-weight: 700;
    color: #fff;
    margin-bottom: .8rem;
}

.ff-proof-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .ff-proof-tags span {
        padding: .55rem .85rem;
        border-radius: 999px;
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.08);
        color: rgba(255,255,255,.82);
        font-weight: 600;
        font-size: .9rem;
    }

.ff-faq .accordion-item {
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 14px;
}

.ff-faq .accordion-button {
    background: rgba(255,255,255,.02);
    color: #fff;
    font-weight: 700;
    box-shadow: none !important;
}

    .ff-faq .accordion-button:not(.collapsed) {
        background: rgba(255,255,255,.06);
        color: #fff;
    }

    .ff-faq .accordion-button::after {
        filter: invert(1);
    }

.ff-faq .accordion-body {
    color: rgba(255,255,255,.72);
    background: rgba(255,255,255,.02);
}

@media (max-width: 991.98px) {
    .ff-public-nav {
        min-height: auto;
        padding: 14px 0;
        flex-wrap: wrap;
    }

    .ff-public-nav-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .ff-showcase-shell {
        min-height: auto;
    }

    .ff-floating-card {
        position: static;
        max-width: none;
        margin-top: 14px;
    }

    .ff-result-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .ff-public-nav-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .ff-public-nav-actions .btn {
            width: 100%;
        }

    .ff-showcase-main {
        border-radius: 22px;
    }

    .ff-showcase-body {
        padding: 14px;
    }

    .ff-product-image {
        height: 90px;
    }

    .ff-proof-tags {
        gap: 8px;
    }
}

.sidebar-brand {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: inherit;
}

    .brand-link:hover {
        text-decoration: none;
        opacity: 0.96;
    }

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin: 0;
}

.brand-subtitle {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.1;
    margin-top: 0.18rem;
}

/* =========================================
   SIDEBAR PREMIUM - FAST FLYER AI
========================================= */

.premium-sidebar {
    background: radial-gradient(circle at top left, rgba(255, 193, 7, 0.08), transparent 28%), linear-gradient(180deg, #111827 0%, #0f172a 100%);
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.03);
}

/* BRAND */

.sidebar-brand.premium-brand {
    padding: 1rem 0.9rem 1rem 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.premium-brand .brand-link {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    padding: 0.95rem;
    border-radius: 20px;
    color: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20), inset 0 1px 0 rgba(255,255,255,0.04);
    transition: all 0.25s ease;
}

    .premium-brand .brand-link:hover {
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255,255,255,0.05);
    }

.brand-logo-wrap {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 55%), linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 8px 20px rgba(0,0,0,0.18);
}

    .brand-logo-wrap::after {
        content: "";
        position: absolute;
        inset: -1px;
        border-radius: 18px;
        pointer-events: none;
        background: linear-gradient(135deg, rgba(250,204,21,0.20), transparent 42%, rgba(255,255,255,0.05));
    }

.brand-logo {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    z-index: 1;
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.brand-title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    height: 22px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    color: #111827;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
    flex-shrink: 0;
}

.brand-subtitle {
    margin-top: 0.3rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* USER CARD */

.premium-user-card {
    margin: 0 0.9rem;
    padding: 1rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 26px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.04);
}

.user-card-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.user-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.11), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.08);
}

.user-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.user-email {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
}

.user-tenant {
    margin-top: 0.18rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.72);
}

.user-credits {
    padding-top: 0.2rem;
}

.user-quick-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-size: 0.78rem;
}

.mini-link {
    color: rgba(255,255,255,0.76);
    text-decoration: none;
}

    .mini-link:hover {
        color: #fff;
        text-decoration: none;
    }

.mini-sep {
    color: rgba(255,255,255,0.30);
}

.btn-premium-light {
    border: 1px solid rgba(255,255,255,0.10);
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    color: #fff;
}

    .btn-premium-light:hover {
        color: #fff;
        background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
    }

/* NAV */

.premium-nav {
    padding: 0 0.9rem;
}

.sidebar-section-label {
    margin: 1rem 0 0.55rem;
    padding: 0 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.42);
}

.premium-link {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.6rem 0.65rem;
    margin-bottom: 0.2rem;
    border-radius: 16px;
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    transition: all 0.22s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

    .premium-link:hover {
        color: #fff;
        text-decoration: none;
        background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
        border-color: rgba(255,255,255,0.07);
        transform: translateX(2px);
    }

    .premium-link.active {
        color: #fff;
        background: linear-gradient(135deg, rgba(250,204,21,0.18), rgba(245,158,11,0.10));
        border-color: rgba(250,204,21,0.22);
        box-shadow: 0 10px 22px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.04);
    }

        .premium-link.active::before {
            content: "";
            position: absolute;
            left: 0.4rem;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 60%;
            border-radius: 999px;
            background: linear-gradient(180deg, #facc15, #f59e0b);
            box-shadow: 0 0 12px rgba(245,158,11,0.35);
        }

.link-icon {
    width: 24px;
    min-width: 24px;
    text-align: center;
    font-size: 1rem;
}

.link-text {
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.2;
}

/* FOOTER */

.premium-footer {
    margin: 1rem 0.9rem 0.9rem;
    padding: 1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
}

.footer-product {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
}

.footer-copy {
    margin-top: 0.25rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.62);
}

/* =========================================
   TOPBAR PREMIUM + CONTENT SHELL
========================================= */

.app-main {
    background: radial-gradient(circle at top right, rgba(250, 204, 21, 0.06), transparent 22%), radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.05), transparent 20%), linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
    min-height: 100vh;
}

.premium-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.topbar-right {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.topbar-heading {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.topbar-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f59e0b;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.topbar-page-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.05;
    color: #f8fafc;
}

.topbar-page-subtitle {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.68);
    font-weight: 500;
}

.btn-premium-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255,255,255,0.06);
    color: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

    .btn-premium-icon:hover {
        background: rgba(255,255,255,0.10);
        color: #ffffff;
    }

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    border: 1px solid transparent;
    white-space: nowrap;
}

    .status-chip .status-dot {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        display: inline-block;
        flex-shrink: 0;
    }

    .status-chip.is-online {
        color: #166534;
        background: rgba(34, 197, 94, 0.10);
        border-color: rgba(34, 197, 94, 0.18);
    }

        .status-chip.is-online .status-dot {
            background: #22c55e;
            box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
        }

    .status-chip.is-offline {
        color: #991b1b;
        background: rgba(239, 68, 68, 0.10);
        border-color: rgba(239, 68, 68, 0.18);
    }

        .status-chip.is-offline .status-dot {
            background: #ef4444;
            box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14);
        }

.btn-premium-primary,
.btn-premium-ghost {
    height: 44px;
    padding: 0 1rem;
    border-radius: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.22s ease;
}

.btn-premium-primary {
    color: #111827;
    border: 1px solid rgba(245, 158, 11, 0.30);
    background: linear-gradient(135deg, #facc15, #f59e0b);
    box-shadow: 0 10px 22px rgba(245, 158, 11, 0.22);
}

    .btn-premium-primary:hover {
        color: #111827;
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(245, 158, 11, 0.28);
    }

    .btn-premium-primary:disabled {
        opacity: 0.65;
        transform: none;
        box-shadow: none;
        cursor: not-allowed;
    }

.btn-premium-ghost {
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

    .btn-premium-ghost:hover {
        color: #ffffff;
        text-decoration: none;
        background: rgba(255,255,255,0.10);
        transform: translateY(-1px);
    }

.premium-content {
    padding: 1.4rem;
}

.content-surface {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.68));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20), inset 0 1px 0 rgba(255,255,255,0.03);
    min-height: calc(100vh - 150px);
}

.premium-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    border: 1px solid transparent;
}

.premium-alert-warning {
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.12), rgba(251, 191, 36, 0.08));
    border-color: rgba(245, 158, 11, 0.18);
}

.premium-alert-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.12);
    font-size: 1.1rem;
}

.premium-alert-body {
    min-width: 0;
}

.premium-alert-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #92400e;
    line-height: 1.2;
}

.premium-alert-text {
    margin-top: 0.22rem;
    font-size: 0.88rem;
    color: #78350f;
    line-height: 1.4;
}

/* RESPONSIVO */

@media (max-width: 991.98px) {
    .premium-topbar {
        padding: 1rem;
    }

    .topbar-page-title {
        font-size: 1.25rem;
    }

    .premium-content {
        padding: 1rem;
    }

    .content-surface {
        border-radius: 20px;
        padding: 1rem;
        min-height: auto;
    }
}

@media (max-width: 575.98px) {
    .topbar-right {
        width: 100%;
        justify-content: flex-start;
    }

    .status-chip {
        padding: 0.62rem 0.82rem;
    }

    .btn-premium-primary,
    .btn-premium-ghost {
        height: 42px;
    }
}

.content-surface,
.content-surface .card,
.content-surface .table,
.content-surface .form-label,
.content-surface .text-muted {
    color: #e5e7ec;
}

    .content-surface .text-muted {
        color: rgba(255,255,255,0.62) !important;
    }

.user-logout {
    border-top: 1px solid rgba(255,255,255,0.08);
}

.btn-premium-logout {
    height: 42px;
    border-radius: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
    text-align: start;
}

    .btn-premium-logout:hover {
        color: #fff;
        background: rgba(255,255,255,0.08);
        border-color: rgba(255,255,255,0.12);
        transform: translateY(-1px);
    }