/* Dark mode overrides para o tema SERVICETOOL */
[data-bs-theme="dark"],
[data-bs-theme="dark"] body {
    color-scheme: dark;
}

[data-bs-theme="dark"] :root,
[data-bs-theme="dark"] {
    --tl: #0f1419;
    --ink: #e6edf3;
    --sub: #9aa4ad;
        --dim: #647b91;
        --rule: #1b344b;
        --off: #0d1b2b;
        --w: #081522;
        --muted: #86a0b8;
        --border: #23425d;
        --white: #0b1a2a;
        --tech-cyan: #47e5ff;
        --tech-blue: #4d7cff;
        --bs-primary: #2378ff;
        --bs-primary-rgb: 35, 120, 255;
        --bs-body-bg: #07111f;
        --bs-body-color: #dcecff;
        --bs-body-bg-rgb: 7, 17, 31;
}

[data-bs-theme="dark"] body {
        background-color: #07111f;
        background-image: linear-gradient(rgba(71, 229, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(71, 229, 255, .035) 1px, transparent 1px);
        background-size: 32px 32px;
        color: #dcecff;
}

[data-bs-theme="dark"] .servicetool-header {
        background: linear-gradient(135deg, #071525 0%, #102b4b 55%, #11203d 100%);
        border-bottom-color: #285b7b;
        box-shadow: 0 8px 30px rgba(0, 0, 0, .28), 0 1px 0 rgba(71, 229, 255, .18);
}

[data-bs-theme="dark"] .servicetool-theme-header {
    color: #e6edf3;
}

[data-bs-theme="dark"] .nav-links a {
    color: #e6edf3;
}

[data-bs-theme="dark"] .currency-btn {
    background: #1a2430;
    color: #e6edf3;
    border-color: #2a3641;
}

[data-bs-theme="dark"] .servicetool-dropdown {
    background: #141b22;
    border-color: #2a3641;
}

[data-bs-theme="dark"] .servicetool-dropdown a {
    color: #e6edf3;
}

[data-bs-theme="dark"] .servicetool-dropdown a:hover {
    background: #1a2430;
}

[data-bs-theme="dark"] .offcanvas {
    background: #0f1419;
    color: #e6edf3;
}

[data-bs-theme="dark"] .offcanvas-body .text-reset {
    color: #dee2e6 !important;
}

[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .page-top-info,
[data-bs-theme="dark"] .product-filter-item {
    background-color: #141b22;
    border-color: #2a3641;
    color: #dee2e6;
}

[data-bs-theme="dark"] .card-header {
    background-color: #161e26;
    border-bottom-color: #2a3641;
    color: #e6edf3;
}

[data-bs-theme="dark"] .card .text-muted,
[data-bs-theme="dark"] .card .text-body-secondary {
    color: #9aa4ad !important;
}

[data-bs-theme="dark"] .service-card-header h4,
[data-bs-theme="dark"] .service-card-header h5 {
    color: #e6edf3;
}

[data-bs-theme="dark"] .modal-content {
    background-color: #141b22;
    color: #dee2e6;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: #0d1217;
    border-color: #2a3641;
    color: #e6edf3;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
    background-color: #0d1217;
    color: #e6edf3;
}

[data-bs-theme="dark"] .table {
    --bs-table-bg: #141b22;
    --bs-table-color: #dee2e6;
    --bs-table-border-color: #2a3641;
    --bs-table-striped-bg: #161e26;
}

[data-bs-theme="dark"] .dropdown-menu {
    background-color: #141b22;
    color: #dee2e6;
    border-color: #2a3641;
}

[data-bs-theme="dark"] .customer-nav-dropdown,
[data-bs-theme="dark"] .dropdown-menu.customer-nav-dropdown {
    background-color: #141b22 !important;
    color: #dee2e6 !important;
    border-color: #2a3641 !important;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, .45) !important;
}

[data-bs-theme="dark"] .customer-nav-dropdown .dropdown-item {
    color: #dee2e6 !important;
    background-color: transparent !important;
}

[data-bs-theme="dark"] .customer-nav-dropdown .dropdown-item:hover,
[data-bs-theme="dark"] .customer-nav-dropdown .dropdown-item:focus {
    background-color: #1a2430 !important;
    color: #fff !important;
}

[data-bs-theme="dark"] .dropdown-item {
    color: #dee2e6;
}

[data-bs-theme="dark"] .dropdown-item:hover,
[data-bs-theme="dark"] .dropdown-item:focus {
    background-color: #1a2430;
    color: #fff;
}

[data-bs-theme="dark"] .breadcrumb-item,
[data-bs-theme="dark"] .breadcrumb-item a {
    color: #9aa4ad;
}

[data-bs-theme="dark"] a {
    color: #7fb3ff;
}

[data-bs-theme="dark"] .top-footer {
    background-color: #10151a;
}

[data-bs-theme="dark"] .text-body-secondary,
[data-bs-theme="dark"] .form-label {
    color: #9aa4ad !important;
}

[data-bs-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, #2378ff, #23c8ed);
    border-color: #47e5ff;
    box-shadow: 0 6px 18px rgba(35, 120, 255, .24);
}

[data-bs-theme="dark"] .btn-primary:hover,
[data-bs-theme="dark"] .btn-primary:focus {
    background: linear-gradient(135deg, #3d8cff, #47e5ff);
    border-color: #8af3ff;
}

[data-bs-theme="dark"] .page-title,
[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5 {
    color: #edf7ff;
}

[data-bs-theme="dark"] .text-primary {
    color: var(--tech-cyan) !important;
}