/* ============================================
   GESTOR IPTV - Sistema de Estilos Global
   Versao 4.2 - Sistema de Temas via data-theme
   ============================================= */

:root,
html[data-theme="blue"],
html[data-theme="blue"] body {
    --color-primary: #0066cc;
    --color-secondary: #004499;
    --color-accent: #00ccff;
    --color-background: #f0f4f8;
    --color-text: #1a1a1a;
    --color-border: #e0e0e0;
    --color-input-bg: #ffffff;
    --color-input-border: #80bdff;
    --color-sidebar-bg: #003366;
    --color-sidebar-text: #ffffff;
    --color-navbar-bg: #0066cc;
    --color-navbar-text: #ffffff;
    --color-card-bg: #ffffff;
    --color-table-header: #e8f4fd;
    --primary-color-rgb: 0, 102, 204;
}

html[data-theme="purple"],
html[data-theme="purple"] body {
    --color-primary: #6f42c1;
    --color-secondary: #5a32a3;
    --color-accent: #b19cd9;
    --color-background: #f5f3ff;
    --color-text: #2d1b4e;
    --color-border: #d4c5e2;
    --color-input-bg: #ffffff;
    --color-input-border: #d4c5e2;
    --color-sidebar-bg: #4a2c6b;
    --color-sidebar-text: #ffffff;
    --color-navbar-bg: #6f42c1;
    --color-navbar-text: #ffffff;
    --color-card-bg: #ffffff;
    --color-table-header: #f0e6ff;
    --primary-color-rgb: 111, 66, 193;
}

html[data-theme="orange"],
html[data-theme="orange"] body {
    --color-primary: #ff8c00;
    --color-secondary: #e67e00;
    --color-accent: #ffa500;
    --color-background: #fff8f0;
    --color-text: #3d2817;
    --color-border: #ffe0cc;
    --color-input-bg: #ffffff;
    --color-input-border: #ffd699;
    --color-sidebar-bg: #cc6600;
    --color-sidebar-text: #ffffff;
    --color-navbar-bg: #ff8c00;
    --color-navbar-text: #ffffff;
    --color-card-bg: #ffffff;
    --color-table-header: #fff4e6;
    --primary-color-rgb: 255, 140, 0;
}

html[data-theme="green"],
html[data-theme="green"] body {
    --color-primary: #28a745;
    --color-secondary: #1e8449;
    --color-accent: #5cb85c;
    --color-background: #f0f8f0;
    --color-text: #1a3a1a;
    --color-border: #d4edda;
    --color-input-bg: #ffffff;
    --color-input-border: #a3e4a3;
    --color-sidebar-bg: #1b5e20;
    --color-sidebar-text: #ffffff;
    --color-navbar-bg: #28a745;
    --color-navbar-text: #ffffff;
    --color-card-bg: #ffffff;
    --color-table-header: #e8f5e9;
    --primary-color-rgb: 40, 167, 69;
}

html[data-theme="brown"],
html[data-theme="brown"] body {
    --color-primary: #8b4513;
    --color-secondary: #6b3410;
    --color-accent: #a0522d;
    --color-background: #faf7f2;
    --color-text: #3e2723;
    --color-border: #d7ccc8;
    --color-input-bg: #ffffff;
    --color-input-border: #bcaaa4;
    --color-sidebar-bg: #5d4037;
    --color-sidebar-text: #ffffff;
    --color-navbar-bg: #8b4513;
    --color-navbar-text: #ffffff;
    --color-card-bg: #ffffff;
    --color-table-header: #efebe9;
    --primary-color-rgb: 139, 69, 19;
}

:root,
html[data-theme] {
    --bg-color: var(--color-background);
    --text-color: var(--color-text);
    --border-color: var(--color-border);
    --input-bg: var(--color-input-bg);
    --input-border: var(--color-input-border);
    --sidebar-bg: var(--color-sidebar-bg);
    --sidebar-text: var(--color-sidebar-text);
    --navbar-bg: var(--color-navbar-bg);
    --navbar-text: var(--color-navbar-text);
    --card-bg: var(--color-card-bg);
    --table-header-bg: var(--color-table-header);
    --primary-color: var(--color-primary);
    --primary-hover: var(--color-secondary);
    --radius: 16px;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#wrapper {
    min-height: 100vh;
}

.sidebar-backdrop {
    display: none;
}

#sidebar-wrapper {
    background-color: var(--color-sidebar-bg);
    color: var(--color-sidebar-text);
    width: 250px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

#sidebar-wrapper .sidebar-heading {
    background-color: var(--color-primary);
    padding: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--color-secondary);
}

#sidebar-wrapper .list-group-item {
    background-color: transparent;
    border: none;
    color: var(--color-sidebar-text);
    padding: 12px 20px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

#sidebar-wrapper .list-group-item:hover,
#sidebar-wrapper .list-group-item.active {
    background-color: var(--color-primary);
    border-left-color: var(--color-accent);
}

#sidebar-wrapper .list-group-item.active {
    font-weight: 600;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: auto;
}

#page-content-wrapper {
    flex: 1;
    min-height: 100vh;
    margin-left: 250px;
}

.navbar {
    background-color: var(--color-navbar-bg) !important;
    color: var(--color-navbar-text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#menu-toggle {
    display: none;
}

.navbar .btn-outline-light {
    color: var(--color-navbar-text);
    border-color: var(--color-navbar-text);
    transition: all 0.2s ease;
}

.navbar .btn-outline-light:hover {
    background-color: var(--color-navbar-text);
    color: var(--color-navbar-bg);
}

.card {
    background-color: var(--color-card-bg);
    border-color: var(--color-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transition: all 0.2s ease;
}

.btn,
.btn-group > .btn {
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.btn-sm,
.btn-group-sm > .btn {
    border-radius: 14px;
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-light,
.btn-outline-primary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-dark {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-outline-danger:hover,
.btn-outline-warning:hover,
.btn-outline-dark:hover,
.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.form-control,
.form-select {
    background-color: var(--color-input-bg);
    color: var(--color-text);
    border-color: var(--color-input-border);
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    background-color: var(--color-input-bg);
    color: var(--color-text);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25);
}

.input-group-text {
    background-color: var(--color-table-header);
    color: var(--color-text);
    border-color: var(--color-input-border);
}

.table {
    color: var(--color-text);
}

.table thead {
    background-color: var(--color-table-header);
    color: var(--color-text);
}

.table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

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

a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

.badge {
    background-color: var(--color-primary);
}

.alert-info {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-color: var(--color-primary);
    color: var(--color-text);
}

.dropdown-menu {
    background-color: var(--color-card-bg);
    border-color: var(--color-border);
}

.dropdown-item {
    color: var(--color-text);
}

.dropdown-item:hover {
    background-color: var(--color-background);
    color: var(--color-primary);
}

.dropdown-item.active {
    background-color: var(--color-primary);
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    padding: 1.35rem;
    color: #fff;
    min-height: 150px;
    box-shadow: 0 22px 38px rgba(15, 23, 42, 0.16);
}

.stat-card::after {
    content: "";
    position: absolute;
    inset: auto -25% -35% auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    font-size: 1.1rem;
}

.stat-number {
    position: relative;
    z-index: 1;
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    min-height: 118px;
    padding: 1rem 0.9rem;
    border-radius: 24px;
    border: 1px solid rgba(var(--primary-color-rgb), 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
        rgba(var(--primary-color-rgb), 0.02);
    box-shadow:
        0 18px 34px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    color: var(--color-text);
    text-align: center;
    text-decoration: none;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.quick-action-btn i {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.95), rgba(var(--primary-color-rgb), 0.6));
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 14px 28px rgba(var(--primary-color-rgb), 0.24);
}

.quick-action-btn span {
    font-weight: 700;
    line-height: 1.35;
    font-size: 0.95rem;
}

.quick-action-btn:hover {
    color: var(--color-text);
    text-decoration: none;
    transform: translateY(-4px);
    border-color: rgba(var(--primary-color-rgb), 0.22);
    box-shadow:
        0 24px 42px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

#alertTabs .nav-link {
    border: 0;
    border-radius: 16px;
    color: rgba(26, 26, 26, 0.72);
    font-weight: 700;
    padding: 0.9rem 1rem;
}

#alertTabs .nav-link.active {
    background: rgba(var(--primary-color-rgb), 0.12);
    color: var(--color-primary);
    box-shadow: inset 0 0 0 1px rgba(var(--primary-color-rgb), 0.1);
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background:
        radial-gradient(circle at top right, rgba(var(--primary-color-rgb), 0.18), transparent 30%),
        linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.08), transparent 45%),
        var(--color-background);
    overflow: hidden;
    position: relative;
}

.login-card {
    width: 100%;
    max-width: 460px;
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.12);
    padding: 2rem;
}

.login-scene {
    width: min(1180px, 100%);
    position: relative;
}

.login-ambient {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.8;
    pointer-events: none;
    animation: loginFloat 10s ease-in-out infinite;
}

.login-ambient-a {
    width: 320px;
    height: 320px;
    top: -70px;
    left: -40px;
    background: radial-gradient(circle, rgba(var(--primary-color-rgb), 0.36), transparent 70%);
}

.login-ambient-b {
    width: 380px;
    height: 380px;
    right: -70px;
    bottom: -90px;
    background: radial-gradient(circle, rgba(var(--primary-color-rgb), 0.24), transparent 72%);
    animation-delay: -3s;
}

.login-grid {
    position: absolute;
    inset: 0;
    border-radius: 34px;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.9), transparent 82%);
    pointer-events: none;
}

.login-shell {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 1.5rem;
    align-items: stretch;
    transition: transform 0.22s ease;
    transform-style: preserve-3d;
}

.login-showcase,
.premium-login-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.52));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    overflow: hidden;
    box-shadow:
        0 18px 60px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.login-showcase {
    padding: 2rem;
    min-height: 680px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.login-showcase::before,
.premium-login-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.12), transparent 35%, transparent 70%, rgba(255, 255, 255, 0.08));
    pointer-events: none;
}

.login-showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(var(--primary-color-rgb), 0.08);
    border: 1px solid rgba(var(--primary-color-rgb), 0.12);
    color: rgba(26, 26, 26, 0.76);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: fit-content;
}

.login-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgb(var(--primary-color-rgb));
    box-shadow: 0 0 16px rgba(var(--primary-color-rgb), 0.45);
}

.login-brand-block {
    position: relative;
    z-index: 1;
}

.login-brand-mark {
    width: 84px;
    height: 84px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.72), rgba(255, 255, 255, 0.16));
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    font-size: 2rem;
    color: #fff;
}

.login-brand-logo {
    max-width: 260px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.login-kicker,
.login-form-kicker {
    margin: 0 0 0.7rem;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.55);
}

.login-showcase h1 {
    color: #172b1a;
    font-size: clamp(2.4rem, 4vw, 4.3rem);
    line-height: 0.95;
    margin-bottom: 1rem;
    max-width: 520px;
}

.login-lead {
    color: rgba(23, 43, 26, 0.78);
    max-width: 500px;
    font-size: 1.05rem;
    line-height: 1.75;
}

.login-highlight-list {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.login-highlight-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(var(--primary-color-rgb), 0.08);
}

.login-highlight-item strong {
    display: block;
    color: #172b1a;
    margin-bottom: 0.2rem;
}

.login-highlight-item p {
    margin: 0;
    color: rgba(23, 43, 26, 0.72);
    line-height: 1.5;
}

.login-highlight-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.9), rgba(255, 255, 255, 0.18));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.login-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.login-stat-card {
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(var(--primary-color-rgb), 0.08);
}

.login-stat-card span {
    display: block;
    color: rgba(23, 43, 26, 0.62);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.45rem;
}

.login-stat-card strong {
    color: #172b1a;
    font-size: 1.05rem;
}

.premium-login-card {
    min-height: 680px;
}

.login-card-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    top: -80px;
    right: -70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-color-rgb), 0.3), transparent 70%);
    filter: blur(4px);
    pointer-events: none;
}

.login-card-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.login-form-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.login-form-top h2 {
    margin: 0;
    color: var(--color-text);
    font-size: 2rem;
}

.login-form-subtitle {
    color: rgba(26, 26, 26, 0.72);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 420px;
}

.login-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: rgba(var(--primary-color-rgb), 0.08);
    border: 1px solid rgba(var(--primary-color-rgb), 0.14);
    color: var(--color-primary);
    font-weight: 600;
}

.login-back-link:hover {
    text-decoration: none;
    background: rgba(var(--primary-color-rgb), 0.12);
}

.login-form-premium {
    display: grid;
    gap: 1.2rem;
}

.login-input-group {
    position: relative;
}

.login-input-shell {
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(var(--primary-color-rgb), 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.login-input-shell .form-control,
.login-input-shell .input-group-text,
.login-password-toggle {
    border: none;
    background: transparent;
}

.login-input-shell:focus-within {
    border-color: rgba(var(--primary-color-rgb), 0.35);
    box-shadow:
        0 0 0 4px rgba(var(--primary-color-rgb), 0.12),
        0 20px 40px rgba(var(--primary-color-rgb), 0.08);
}

.login-helper-text {
    color: rgba(26, 26, 26, 0.55);
    font-size: 0.8rem;
}

.login-password-toggle {
    min-width: 58px;
    color: rgba(26, 26, 26, 0.6);
}

.login-password-toggle:hover {
    color: var(--color-primary);
}

.login-submit-btn {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 18px 35px rgba(var(--primary-color-rgb), 0.28);
}

.login-submit-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.28), transparent 80%);
    transform: translateX(-100%);
    animation: loginShine 3.2s ease-in-out infinite;
}

.login-form-footer {
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(var(--primary-color-rgb), 0.12);
    display: grid;
    gap: 1rem;
    color: rgba(26, 26, 26, 0.72);
}

.login-register-btn {
    border-radius: 18px;
    padding: 0.95rem 1rem;
    font-weight: 600;
}

body.auth-page {
    background:
        radial-gradient(circle at top left, rgba(var(--primary-color-rgb), 0.22), transparent 32%),
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.18), transparent 28%),
        linear-gradient(145deg, #050816 0%, #0a1120 48%, #10192e 100%);
    color: #e2e8f0;
}

body.auth-page .login-container {
    background:
        radial-gradient(circle at top left, rgba(var(--primary-color-rgb), 0.18), transparent 24%),
        radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.14), transparent 26%),
        linear-gradient(145deg, #050816 0%, #0a1120 48%, #10192e 100%);
}

body.auth-page .login-scene {
    width: min(1240px, 100%);
}

body.auth-page .login-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    opacity: 0.3;
}

body.auth-page .login-showcase,
body.auth-page .premium-login-card {
    background: linear-gradient(145deg, rgba(9, 16, 33, 0.82), rgba(15, 24, 46, 0.74));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.auth-page .login-showcase::before,
body.auth-page .premium-login-card::before {
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.06), transparent 35%, transparent 70%, rgba(var(--primary-color-rgb), 0.08));
}

body.auth-page .login-showcase-badge,
body.auth-page .login-form-kicker {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(226, 232, 240, 0.78);
}

body.auth-page .login-kicker,
body.auth-page .login-form-subtitle,
body.auth-page .login-helper-text {
    color: rgba(203, 213, 225, 0.82);
}

body.auth-page .login-showcase h1,
body.auth-page .login-form-top h2,
body.auth-page .signup-plan-title,
body.auth-page .signup-plan-card h4 {
    color: #f8fbff;
}

body.auth-page .login-lead,
body.auth-page .login-highlight-item p,
body.auth-page .login-stat-card span,
body.auth-page .signup-plan-description,
body.auth-page .signup-plan-limit,
body.auth-page .selected-plan-banner p,
body.auth-page .selected-plan-price-label {
    color: rgba(226, 232, 240, 0.78);
}

body.auth-page .login-highlight-item,
body.auth-page .login-stat-card,
body.auth-page .selected-plan-banner,
body.auth-page .signup-plan-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

body.auth-page .login-highlight-item strong,
body.auth-page .login-stat-card strong,
body.auth-page .selected-plan-banner strong {
    color: #f8fbff;
}

body.auth-page .login-highlight-icon {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.95), rgba(255, 255, 255, 0.16));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.auth-page .login-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

body.auth-page .login-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(226, 232, 240, 0.88);
    font-size: 0.85rem;
}

body.auth-page .login-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

body.auth-page .login-hero-btn-primary,
body.auth-page .login-hero-btn-secondary {
    border-radius: 18px;
    font-weight: 700;
    padding: 0.92rem 1.15rem;
}

body.auth-page .login-hero-btn-primary {
    color: #08111f;
    background: linear-gradient(135deg, #f8fbff, rgba(255, 255, 255, 0.88));
    border-color: rgba(255, 255, 255, 0.8);
}

body.auth-page .login-hero-btn-secondary {
    color: #f8fbff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

body.auth-page .login-hero-btn-primary:hover,
body.auth-page .login-hero-btn-secondary:hover {
    transform: translateY(-3px);
}

body.auth-page .selected-plan-banner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    margin-bottom: 1rem;
    background: linear-gradient(145deg, rgba(var(--primary-color-rgb), 0.16), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.auth-page .selected-plan-banner-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
    color: rgba(191, 219, 254, 0.88);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.auth-page .selected-plan-banner p {
    margin: 0.35rem 0 0;
    line-height: 1.55;
}

body.auth-page .selected-plan-price-box {
    min-width: 150px;
    text-align: right;
}

body.auth-page .selected-plan-price {
    display: block;
    color: var(--color-accent);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
}

body.auth-page .selected-plan-price-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
}

body.auth-page .signup-plan-section {
    margin-bottom: 1.1rem;
}

body.auth-page .signup-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

body.auth-page .signup-plan-note {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(var(--primary-color-rgb), 0.12);
    border: 1px solid rgba(var(--primary-color-rgb), 0.18);
    color: rgba(226, 232, 240, 0.86);
    font-size: 0.82rem;
    white-space: nowrap;
}

body.auth-page .signup-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

body.auth-page .signup-plan-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    text-align: left;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.04));
    color: #f8fbff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

body.auth-page .signup-plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--primary-color-rgb), 0.3);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.25);
}

body.auth-page .signup-plan-card.active {
    background: linear-gradient(180deg, rgba(var(--primary-color-rgb), 0.2), rgba(255, 255, 255, 0.06));
    border-color: rgba(var(--primary-color-rgb), 0.45);
    box-shadow: 0 24px 40px rgba(var(--primary-color-rgb), 0.18);
}

body.auth-page .signup-plan-card.featured::after {
    content: "";
    position: absolute;
    inset: auto -30% -38% auto;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(var(--primary-color-rgb), 0.16);
    filter: blur(12px);
    pointer-events: none;
}

body.auth-page .signup-plan-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    margin-bottom: 0.75rem;
    border-radius: 999px;
    background: rgba(var(--primary-color-rgb), 0.15);
    border: 1px solid rgba(var(--primary-color-rgb), 0.18);
    color: #dbeafe;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.auth-page .signup-plan-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 0.9rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.95), rgba(var(--primary-color-rgb), 0.56));
    color: #fff;
    box-shadow: 0 12px 26px rgba(var(--primary-color-rgb), 0.25);
    font-size: 1.1rem;
}

body.auth-page .signup-plan-card h4 {
    margin: 0 0 0.6rem;
    font-size: 1.1rem;
}

body.auth-page .signup-plan-description {
    min-height: 54px;
    margin: 0 0 0.85rem;
    line-height: 1.6;
}

body.auth-page .signup-plan-price {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

body.auth-page .signup-plan-limit {
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
}

body.auth-page .signup-plan-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fbff;
    font-weight: 700;
}

body.auth-page .signup-plan-card.active .signup-plan-button {
    background: rgba(var(--primary-color-rgb), 0.22);
    border-color: rgba(var(--primary-color-rgb), 0.35);
}

body.auth-page .login-input-shell {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.auth-page .login-input-shell .form-control,
body.auth-page .login-input-shell .input-group-text,
body.auth-page .login-password-toggle {
    color: #f8fbff;
}

body.auth-page .login-input-shell .form-control::placeholder {
    color: rgba(203, 213, 225, 0.58);
}

body.auth-page .login-input-shell .input-group-text {
    background: transparent;
}

body.auth-page .login-password-toggle:hover {
    color: #ffffff;
}

body.auth-page .login-input-shell:focus-within {
    border-color: rgba(var(--primary-color-rgb), 0.4);
    box-shadow:
        0 0 0 4px rgba(var(--primary-color-rgb), 0.16),
        0 20px 40px rgba(0, 0, 0, 0.18);
}

body.auth-page .login-back-link {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    color: #dbeafe;
}

body.auth-page .login-back-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

body.auth-page .login-form-footer {
    border-top-color: rgba(255, 255, 255, 0.08);
    color: rgba(226, 232, 240, 0.76);
}

body.auth-page .login-register-btn {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f8fbff;
}

body.auth-page .alert-light {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: rgba(226, 232, 240, 0.88);
}

body.auth-page .alert-danger {
    background: rgba(127, 29, 29, 0.35);
    border-color: rgba(248, 113, 113, 0.32);
    color: #fee2e2;
}

body.auth-page .alert-success {
    background: rgba(21, 128, 61, 0.28);
    border-color: rgba(74, 222, 128, 0.28);
    color: #dcfce7;
}

.text-primary {
    color: var(--color-primary) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.border {
    border-color: var(--color-border) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

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

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

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

@keyframes loginFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -16px, 0);
    }
}

@keyframes loginShine {
    0% {
        transform: translateX(-120%);
    }

    55%,
    100% {
        transform: translateX(120%);
    }
}

@media (max-width: 991.98px) {
    #menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    #sidebar-wrapper {
        width: min(280px, 82vw);
        transform: translateX(-100%);
        box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.28);
    }

    #page-content-wrapper {
        margin-left: 0;
    }

    #wrapper.toggled #sidebar-wrapper {
        transform: translateX(0);
    }

    .sidebar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
        z-index: 999;
    }

    #wrapper.toggled .sidebar-backdrop {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    body.sidebar-open {
        overflow: hidden;
    }

    .page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .login-shell {
        grid-template-columns: 1fr;
        transform: none !important;
    }

    .login-showcase {
        display: none;
    }

    .premium-login-card {
        min-height: auto;
    }

    .login-card,
    .login-card-content {
        padding: 1.5rem;
    }

    body.auth-page .selected-plan-banner,
    body.auth-page .signup-plan-header {
        flex-direction: column;
    }

    body.auth-page .selected-plan-price-box {
        text-align: left;
        min-width: 0;
    }

    body.auth-page .signup-plan-grid {
        grid-template-columns: 1fr;
    }

    .login-form-top {
        flex-direction: column;
        align-items: stretch;
    }

    .login-back-link {
        width: fit-content;
    }
}

@media (max-width: 575.98px) {
    .login-container {
        padding: 0.85rem 0.6rem;
    }

    .login-card-content {
        padding: 1.05rem;
    }

    .premium-login-card {
        border-radius: 24px;
    }

    .login-form-top h2 {
        font-size: 1.75rem;
    }

    .login-form-subtitle {
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: 1rem;
    }

    .login-input-shell {
        border-radius: 18px;
    }

    .login-submit-btn,
    .login-register-btn {
        border-radius: 16px;
    }

    body.auth-page .selected-plan-banner {
        padding: 0.95rem 1rem;
        gap: 0.85rem;
    }

    body.auth-page .signup-plan-card {
        padding: 0.9rem;
        border-radius: 20px;
    }

    body.auth-page .signup-plan-description {
        min-height: 0;
    }

    .quick-action-btn {
        min-height: 118px;
        border-radius: 20px;
        padding: 1rem 0.85rem;
    }

    .quick-action-btn i {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .quick-action-btn span {
        font-size: 0.88rem;
        line-height: 1.2;
    }

    #alertTabs {
        gap: 0.5rem;
    }

    #alertTabs .nav-item {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 0;
    }

    #alertTabs .nav-link {
        width: 100%;
        padding: 0.7rem 0.65rem;
        font-size: 0.92rem;
        line-height: 1.2;
    }

    .actions-cell .btn-group {
        gap: 3px;
    }

    .actions-cell .btn-group .btn {
        padding: 0.28rem 0.42rem;
        font-size: 0.72rem;
    }

    th.col-actions,
    td.col-actions {
        min-width: 245px;
    }
}

@media (min-width: 992px) {
    .quick-action-btn {
        min-height: 110px;
        padding: 0.9rem 0.85rem;
    }

    .quick-action-btn i {
        width: 44px;
        height: 44px;
        border-radius: 15px;
        font-size: 1rem;
    }

    .quick-action-btn span {
        font-size: 0.9rem;
    }
}

/* ============================================
   AÇÕES - Botões em linha única
   ============================================ */
.actions-cell {
    white-space: nowrap;
}

.actions-cell .btn-group {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 4px;
}

.actions-cell .btn-group .btn {
    white-space: nowrap;
    padding: 0.25rem 0.5rem;
    font-size: 0.78rem;
}

.actions-cell .btn-group form {
    display: inline-flex;
    margin: 0;
}

/* Garantir que a coluna de ações tenha largura suficiente */
th.col-actions,
td.col-actions {
    min-width: 280px;
    white-space: nowrap;
}

/* ============================================
   DARK MODE
   ============================================ */
html[data-mode="dark"],
html[data-mode="dark"] body {
    --color-background: #1a1a2e;
    --color-text: #e0e0e0;
    --color-border: #2d2d44;
    --color-input-bg: #16213e;
    --color-input-border: #3a3a5c;
    --color-card-bg: #16213e;
    --color-table-header: #1f1f3a;
}

html[data-mode="dark"] .card {
    background-color: var(--color-card-bg);
    border-color: var(--color-border);
    color: var(--color-text);
}

html[data-mode="dark"] .card-header {
    background-color: rgba(255,255,255,0.03);
    border-color: var(--color-border);
}

html[data-mode="dark"] .card-footer {
    border-color: var(--color-border);
}

html[data-mode="dark"] .form-control,
html[data-mode="dark"] .form-select {
    background-color: var(--color-input-bg);
    border-color: var(--color-input-border);
    color: var(--color-text);
}

html[data-mode="dark"] .form-control:focus,
html[data-mode="dark"] .form-select:focus {
    background-color: #1a2744;
    color: var(--color-text);
    border-color: var(--color-primary);
}

html[data-mode="dark"] .table {
    color: var(--color-text);
}

html[data-mode="dark"] .table > :not(caption) > * > * {
    background-color: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}

html[data-mode="dark"] .table thead th {
    background-color: var(--color-table-header);
}

html[data-mode="dark"] .table-hover > tbody > tr:hover > * {
    background-color: rgba(255,255,255,0.04);
}

html[data-mode="dark"] .text-muted {
    color: #8888aa !important;
}

html[data-mode="dark"] .dropdown-menu {
    background-color: #16213e;
    border-color: var(--color-border);
}

html[data-mode="dark"] .dropdown-item {
    color: var(--color-text);
}

html[data-mode="dark"] .dropdown-item:hover {
    background-color: rgba(255,255,255,0.08);
}

html[data-mode="dark"] .alert {
    border-color: var(--color-border);
}

html[data-mode="dark"] .page-header p {
    color: #8888aa !important;
}

html[data-mode="dark"] .input-group-text {
    background-color: var(--color-input-bg);
    border-color: var(--color-input-border);
    color: var(--color-text);
}

html[data-mode="dark"] .breadcrumb-item a {
    color: var(--color-primary);
}

html[data-mode="dark"] .btn-light {
    background-color: #2d2d44;
    border-color: #3a3a5c;
    color: var(--color-text);
}

html[data-mode="dark"] .btn-light:hover {
    background-color: #3a3a5c;
}

html[data-mode="dark"] .quick-action-btn {
    color: #111827;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 247, 250, 0.88)),
        rgba(var(--primary-color-rgb), 0.03);
    border-color: rgba(var(--primary-color-rgb), 0.14);
}

html[data-mode="dark"] .quick-action-btn:hover {
    color: #111827;
}

html[data-mode="dark"] .quick-action-btn span {
    color: #111827;
}

html[data-mode="dark"] #alertTabs .nav-link {
    color: rgba(224, 224, 224, 0.82);
    background: transparent;
}

html[data-mode="dark"] #alertTabs .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}

html[data-mode="dark"] #alertTabs .nav-link.active {
    background: rgba(var(--primary-color-rgb), 0.18);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(var(--primary-color-rgb), 0.18);
}

/* ============================================
   THEME PICKER - SaaS Style
   ============================================ */
.theme-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.theme-swatch {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid var(--color-border);
    transition: all 0.2s ease;
    min-width: 80px;
}

.theme-swatch:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.theme-swatch.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.2);
}

.swatch-color {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.swatch-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text);
}

.swatch-check {
    display: none;
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 10px;
    align-items: center;
    justify-content: center;
}

.theme-swatch.active .swatch-check {
    display: flex;
}

/* Mode picker cards */
.mode-card {
    cursor: pointer;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    padding: 12px;
    transition: all 0.2s ease;
    text-align: center;
    min-width: 120px;
}

.mode-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.mode-card.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.2);
}

.mode-preview {
    width: 100px;
    height: 60px;
    border-radius: 6px;
    display: flex;
    overflow: hidden;
    margin: 0 auto 8px;
    border: 1px solid rgba(0,0,0,0.1);
}

.mode-light-preview {
    background: #f0f4f8;
}

.mode-light-preview .mode-preview-sidebar {
    width: 25%;
    background: #003366;
}

.mode-light-preview .mode-preview-content {
    flex: 1;
    padding: 6px;
}

.mode-light-preview .mode-preview-bar {
    height: 8px;
    background: #0066cc;
    border-radius: 2px;
    margin-bottom: 6px;
}

.mode-light-preview .mode-preview-line {
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin-bottom: 4px;
}

.mode-light-preview .mode-preview-line.short {
    width: 60%;
}

.mode-dark-preview {
    background: #1a1a2e;
}

.mode-dark-preview .mode-preview-sidebar {
    width: 25%;
    background: #0d0d1a;
}

.mode-dark-preview .mode-preview-content {
    flex: 1;
    padding: 6px;
}

.mode-dark-preview .mode-preview-bar {
    height: 8px;
    background: #0066cc;
    border-radius: 2px;
    margin-bottom: 6px;
}

.mode-dark-preview .mode-preview-line {
    height: 4px;
    background: #2d2d44;
    border-radius: 2px;
    margin-bottom: 4px;
}

.mode-dark-preview .mode-preview-line.short {
    width: 60%;
}

.mode-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text);
}

/* ============================================
   AUTH REWORK - LOGIN / CADASTRO
   ============================================ */
body.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 14% 12%, rgba(var(--primary-color-rgb), 0.28), transparent 28%),
        radial-gradient(circle at 86% 14%, rgba(124, 58, 237, 0.24), transparent 26%),
        linear-gradient(135deg, #07111f 0%, #0d1730 45%, #111b35 100%);
    color: #e5eefc;
}

body.auth-page .auth-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(420px, 0.95fr);
}

body.auth-page .auth-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4.5rem);
    display: flex;
    align-items: center;
    background:
        linear-gradient(150deg, rgba(9, 16, 33, 0.88), rgba(10, 18, 42, 0.72)),
        radial-gradient(circle at 20% 18%, rgba(var(--primary-color-rgb), 0.18), transparent 34%);
}

body.auth-page .auth-hero::before {
    content: "";
    position: absolute;
    inset: auto -140px -140px auto;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(var(--primary-color-rgb), 0.2);
    filter: blur(14px);
    pointer-events: none;
}

body.auth-page .auth-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.18;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.95), transparent 82%);
    pointer-events: none;
}

body.auth-page .auth-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 1.35rem;
}

body.auth-page .auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(233, 240, 255, 0.92);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.auth-page .auth-badge-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgb(var(--primary-color-rgb));
    box-shadow: 0 0 16px rgba(var(--primary-color-rgb), 0.5);
}

body.auth-page .auth-brand {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 1.1rem;
    align-items: center;
}

body.auth-page .auth-brand-mark {
    width: 160px;
    min-width: 160px;
    height: 100px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.92), rgba(124, 58, 237, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
    color: #fff;
    font-size: 2rem;
    overflow: hidden;
    padding: 0.5rem;
}

body.auth-page .auth-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.auth-page .auth-kicker {
    margin: 0 0 0.55rem;
    color: rgba(219, 230, 250, 0.78);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

body.auth-page .auth-brand h1 {
    margin: 0;
    max-width: 14ch;
    font-size: clamp(2.6rem, 4.4vw, 4.7rem);
    line-height: 0.96;
    color: #f8fbff;
    letter-spacing: -0.04em;
}

body.auth-page .auth-lead {
    margin: 0;
    max-width: 54ch;
    color: rgba(226, 233, 246, 0.82);
    font-size: 1.06rem;
    line-height: 1.78;
}

body.auth-page .auth-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

body.auth-page .auth-benefit {
    min-height: 108px;
    display: flex;
    gap: 0.95rem;
    align-items: flex-start;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.auth-page .auth-benefit-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.95), rgba(124, 58, 237, 0.72));
    color: #fff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

body.auth-page .auth-benefit strong,
body.auth-page .auth-benefit p {
    display: block;
}

body.auth-page .auth-benefit strong {
    color: #f8fbff;
    font-size: 0.98rem;
    margin-bottom: 0.25rem;
}

body.auth-page .auth-benefit p {
    margin: 0;
    color: rgba(226, 233, 246, 0.76);
    line-height: 1.58;
}

body.auth-page .auth-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

body.auth-page .auth-points span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(233, 240, 255, 0.88);
    font-size: 0.84rem;
}

body.auth-page .auth-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

body.auth-page .auth-stat {
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
}

body.auth-page .auth-stat strong {
    display: block;
    color: #f8fbff;
    font-size: 1.25rem;
    line-height: 1;
    margin-bottom: 0.35rem;
}

body.auth-page .auth-stat span {
    color: rgba(226, 233, 246, 0.76);
    font-size: 0.85rem;
}

body.auth-page .auth-panel {
    padding: clamp(1.25rem, 3vw, 2.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.96)),
        rgba(255, 255, 255, 0.9);
}

body.auth-page .auth-card {
    width: min(100%, 640px);
    border-radius: 30px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 26px 58px rgba(15, 23, 42, 0.12);
    padding: clamp(1.35rem, 2.5vw, 2rem);
}

body.auth-page .auth-stack {
    width: min(100%, 640px);
    display: grid;
    gap: 1rem;
}

body.auth-page .auth-plan-card-shell {
    width: 100%;
}

body.auth-page .auth-card-register {
    width: 100%;
}

body.auth-page .auth-card-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.35rem;
}

body.auth-page .auth-card-kicker {
    margin: 0 0 0.45rem;
    color: rgba(30, 41, 59, 0.58);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

body.auth-page .auth-card h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(2rem, 2.4vw, 2.55rem);
    line-height: 1.05;
}

body.auth-page .auth-card-subtitle {
    margin: 0.5rem 0 0;
    color: rgba(51, 65, 85, 0.82);
    max-width: 42ch;
    line-height: 1.6;
}

body.auth-page .auth-ghost-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(var(--primary-color-rgb), 0.18);
    background: rgba(var(--primary-color-rgb), 0.06);
    color: var(--color-primary);
    font-weight: 700;
    white-space: nowrap;
}

body.auth-page .auth-ghost-link:hover {
    text-decoration: none;
    background: rgba(var(--primary-color-rgb), 0.1);
}

body.auth-page .auth-alert {
    border-radius: 18px;
    margin-bottom: 1rem;
}

body.auth-page .auth-form {
    display: grid;
    gap: 1rem;
}

body.auth-page .auth-field {
    display: grid;
    gap: 0.55rem;
}

body.auth-page .auth-field label {
    color: #0f172a;
    font-weight: 700;
    font-size: 0.95rem;
}

body.auth-page .auth-field-head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
}

body.auth-page .auth-field-head span,
body.auth-page .auth-help {
    color: rgba(71, 85, 105, 0.82);
    font-size: 0.82rem;
}

body.auth-page .auth-input {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 58px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.95);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.auth-page .auth-input:focus-within {
    border-color: rgba(var(--primary-color-rgb), 0.45);
    box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.12), 0 18px 35px rgba(15, 23, 42, 0.08);
}

body.auth-page .auth-input span {
    width: 54px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(51, 65, 85, 0.74);
    border-right: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(248, 250, 252, 0.9);
    flex: 0 0 54px;
}

body.auth-page .auth-input input {
    width: 100%;
    height: 58px;
    border: none;
    outline: none;
    padding: 0 1rem;
    background: transparent;
    color: #0f172a;
    font-size: 0.98rem;
}

body.auth-page .auth-input input::placeholder {
    color: rgba(100, 116, 139, 0.76);
}

body.auth-page .auth-toggle {
    width: 54px;
    height: 58px;
    border: none;
    background: transparent;
    color: rgba(51, 65, 85, 0.72);
    transition: color 0.2s ease, background 0.2s ease;
}

body.auth-page .auth-toggle:hover {
    color: var(--color-primary);
    background: rgba(var(--primary-color-rgb), 0.05);
}

body.auth-page .auth-selected-plan {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    margin-bottom: 1rem;
    background: linear-gradient(145deg, rgba(var(--primary-color-rgb), 0.08), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(var(--primary-color-rgb), 0.12);
}

body.auth-page .auth-selected-plan-label {
    margin: 0 0 0.35rem;
    color: rgba(71, 85, 105, 0.72);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.76rem;
}

body.auth-page .auth-selected-plan strong {
    display: block;
    color: #0f172a;
    font-size: 1.08rem;
}

body.auth-page .auth-selected-plan p {
    margin: 0.35rem 0 0;
    color: rgba(71, 85, 105, 0.8);
    line-height: 1.55;
}

body.auth-page .auth-selected-plan-price {
    text-align: right;
    min-width: 155px;
}

body.auth-page .auth-selected-plan-price span {
    display: block;
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.05;
}

body.auth-page .auth-selected-plan-price small {
    display: block;
    color: rgba(71, 85, 105, 0.76);
    margin-top: 0.35rem;
}

body.auth-page .auth-plan-section {
    margin-bottom: 1rem;
}

body.auth-page .auth-section-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 0.9rem;
}

body.auth-page .auth-section-head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.15rem;
}

body.auth-page .auth-section-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(var(--primary-color-rgb), 0.08);
    color: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(var(--primary-color-rgb), 0.14);
    font-size: 0.82rem;
    white-space: nowrap;
}

body.auth-page .auth-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

body.auth-page .auth-plan-card {
    position: relative;
    width: 100%;
    min-height: 214px;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.auth-page .auth-plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
}

body.auth-page .auth-plan-card.active {
    border-color: rgba(var(--primary-color-rgb), 0.4);
    box-shadow: 0 18px 34px rgba(var(--primary-color-rgb), 0.14);
}

body.auth-page .auth-plan-card.featured::after,
body.auth-page .auth-plan-card.popular::after {
    content: "";
    position: absolute;
    inset: auto -35% -40% auto;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(var(--primary-color-rgb), 0.1);
    filter: blur(12px);
    pointer-events: none;
}

body.auth-page .auth-plan-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(var(--primary-color-rgb), 0.18);
    background: rgba(var(--primary-color-rgb), 0.08);
    color: rgba(30, 41, 59, 0.9);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.auth-page .auth-plan-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.96), rgba(124, 58, 237, 0.72));
    box-shadow: 0 14px 28px rgba(var(--primary-color-rgb), 0.18);
}

body.auth-page .auth-plan-card h4 {
    margin: 0.2rem 0 0;
    color: #0f172a;
    font-size: 1.08rem;
}

body.auth-page .auth-plan-summary {
    margin: 0;
    color: rgba(30, 41, 59, 0.82);
    font-weight: 700;
}

body.auth-page .auth-plan-price {
    color: var(--color-primary);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.05;
}

body.auth-page .auth-plan-button {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(var(--primary-color-rgb), 0.16);
    background: rgba(var(--primary-color-rgb), 0.06);
    color: var(--color-primary);
    font-weight: 800;
}

body.auth-page .auth-plan-card.active .auth-plan-button {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.18), rgba(124, 58, 237, 0.14));
}

body.auth-page .auth-submit {
    position: relative;
    overflow: hidden;
    min-height: 58px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--color-primary), #2f80ed);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 20px 38px rgba(var(--primary-color-rgb), 0.24);
}

body.auth-page .auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 42px rgba(var(--primary-color-rgb), 0.3);
}

body.auth-page .auth-submit-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.22), transparent 75%);
    transform: translateX(-120%);
    animation: authShine 3s ease-in-out infinite;
}

body.auth-page .auth-note {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    color: rgba(71, 85, 105, 0.82);
}

body.auth-page .auth-note i {
    color: var(--color-primary);
}

body.auth-page .auth-form .is-valid,
body.auth-page .auth-form .is-invalid {
    background-image: none;
}

@keyframes authShine {
    0% { transform: translateX(-120%); }
    55%, 100% { transform: translateX(120%); }
}

@media (max-width: 1199.98px) {
    body.auth-page .auth-layout {
        grid-template-columns: 1fr;
    }

    body.auth-page .auth-hero {
        min-height: auto;
    }

    body.auth-page .auth-hero-inner {
        max-width: 100%;
    }

    body.auth-page .auth-panel {
        padding-top: 0;
    }
}

@media (max-width: 991.98px) {
    body.auth-page .auth-brand {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    body.auth-page .auth-brand-mark {
        width: 72px;
        height: 72px;
    }

    body.auth-page .auth-benefits {
        grid-template-columns: 1fr;
    }

    body.auth-page .auth-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.auth-page .auth-card-header,
    body.auth-page .auth-selected-plan,
    body.auth-page .auth-section-head {
        flex-direction: column;
        align-items: stretch;
    }

    body.auth-page .auth-selected-plan-price {
        min-width: 0;
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    body.auth-page .auth-hero,
    body.auth-page .auth-panel {
        padding: 1.1rem;
    }

    body.auth-page .auth-brand {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 0.9rem;
    }

    body.auth-page .auth-brand-mark {
        width: 64px;
        height: 64px;
        border-radius: 20px;
        font-size: 1.7rem;
    }

    body.auth-page .auth-brand h1 {
        max-width: 100%;
        font-size: clamp(2.1rem, 7vw, 3rem);
    }

    body.auth-page .auth-lead {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    body.auth-page .auth-plan-grid {
        grid-template-columns: 1fr;
    }

    body.auth-page .auth-plan-card {
        min-height: 204px;
    }

    body.auth-page .auth-stat-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    body.auth-page .auth-card {
        border-radius: 24px;
        padding: 1rem;
    }

    body.auth-page .auth-input {
        min-height: 54px;
        border-radius: 18px;
    }

    body.auth-page .auth-input span,
    body.auth-page .auth-toggle {
        height: 54px;
    }

    body.auth-page .auth-input span {
        width: 48px;
        flex-basis: 48px;
    }

    body.auth-page .auth-plan-card {
        padding: 0.95rem;
        border-radius: 20px;
    }

    body.auth-page .auth-plan-button {
        min-height: 42px;
    }

    body.auth-page .auth-stack {
        gap: 0.85rem;
    }
}

/* Minimalista: refinamento final para visual mais editorial e menos ornamental */
body.auth-page .auth-hero::before,
body.auth-page .auth-hero::after {
    opacity: 0.45;
}

body.auth-page .auth-hero {
    background:
        linear-gradient(160deg, rgba(10, 16, 30, 0.96), rgba(14, 20, 38, 0.88));
}

body.auth-page .auth-badge {
    letter-spacing: 0.1em;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

body.auth-page .auth-brand-mark {
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

body.auth-page .auth-benefit {
    min-height: 96px;
    padding: 0.9rem 0.95rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.07);
}

body.auth-page .auth-points {
    display: none;
}

body.auth-page .auth-stat-grid {
    display: none;
}

body.auth-page .auth-panel {
    background: #f6f8fb;
}

body.auth-page .auth-card {
    width: min(100%, 600px);
    border-radius: 26px;
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

body.auth-page .auth-card-header {
    margin-bottom: 1.1rem;
}

body.auth-page .auth-card h2 {
    letter-spacing: -0.03em;
}

body.auth-page .auth-selected-plan,
body.auth-page .auth-plan-card {
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: none;
}

body.auth-page .auth-selected-plan {
    background: #fafbfd;
}

body.auth-page .auth-plan-card {
    min-height: 224px;
    background: #ffffff;
}

body.auth-page .auth-plan-card:hover {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

body.auth-page .auth-plan-card.active {
    background: #fbfcff;
}

body.auth-page .auth-input {
    border-color: rgba(15, 23, 42, 0.08);
    background: #ffffff;
}

body.auth-page .auth-input span {
    background: #f8fafc;
}

body.auth-page .auth-submit {
    box-shadow: 0 14px 28px rgba(var(--primary-color-rgb), 0.2);
}

body.auth-page .auth-note {
    border-top-color: rgba(15, 23, 42, 0.08);
}

/* ============================================
   LOGO FIX DEFINITIVO - FRONTEND / DASHBOARD
   Mantem a proporcao da marca e evita cortes
   ============================================ */

.system-logo,
.navbar-brand img,
#sidebar-wrapper .sidebar-heading img,
#sidebar-wrapper .sidebar-heading .system-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 240px;
    max-height: 100px;
    object-fit: contain;
}

#sidebar-wrapper .sidebar-heading {
    min-height: 96px;
    padding: 16px;
    justify-content: center;
    text-align: center;
}

#sidebar-wrapper .sidebar-heading img,
#sidebar-wrapper .sidebar-heading .system-logo {
    max-width: 205px;
    max-height: 86px;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 74px;
}

.navbar-brand img,
.navbar-brand .system-logo {
    max-width: 230px;
    max-height: 72px;
    object-fit: contain;
}

.login-brand-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 260px;
    max-height: 120px;
    object-fit: contain;
}

.login-brand-mark {
    overflow: hidden;
}

.login-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.auth-page .auth-brand {
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: center;
}

body.auth-page .auth-brand-mark {
    width: 160px;
    min-width: 160px;
    height: 100px;
    padding: 0.5rem;
    overflow: hidden;
}

body.auth-page .auth-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    body.auth-page .auth-brand {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    body.auth-page .auth-brand-mark {
        width: 120px;
        min-width: 120px;
        height: 82px;
    }

    .navbar-brand {
        min-height: 64px;
    }

    .navbar-brand img,
    .navbar-brand .system-logo {
        max-width: 190px;
        max-height: 62px;
    }
}

@media (max-width: 767.98px) {
    body.auth-page .auth-brand {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 0.85rem;
    }

    body.auth-page .auth-brand-mark {
        width: 96px;
        min-width: 96px;
        height: 70px;
        border-radius: 18px;
    }

    .login-brand-logo {
        max-width: 160px;
        max-height: 96px;
    }

    .system-logo,
    .navbar-brand img,
    #sidebar-wrapper .sidebar-heading img {
        max-width: 185px;
        max-height: 72px;
    }
}

@media (max-width: 575.98px) {
    body.auth-page .auth-brand {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    body.auth-page .auth-brand-mark {
        width: 82px;
        min-width: 82px;
        height: 62px;
    }

    .navbar-brand img,
    .navbar-brand .system-logo {
        max-width: 165px;
        max-height: 80px;
    }
}
/* ============================================
   FORÇAR LOGO GRANDE NA DASHBOARD / SIDEBAR
   ============================================ */

#sidebar-wrapper .sidebar-heading {
    min-height: 60px !important;
    padding: 10px 10px !important;
    justify-content: center !important;
    align-items: center !important;
}

#sidebar-wrapper .sidebar-heading img,
#sidebar-wrapper .sidebar-heading .system-logo,
#sidebar-wrapper .sidebar-heading .login-brand-logo,
.sidebar-heading img {
    width: 150px !important;
    height: 150px !important;
    max-width: 150px !important;
    max-height: 150px !important;
    object-fit: contain !important;
    display: block !important;
}
