        body {
            font-family: Arial, sans-serif;
            background-color: #1e1e1e;
            color: #fff;
            padding: 20px;
        }

        /* Estilos da Busca */
        .search-container {
            position: relative;
            max-width: 600px;
            margin-bottom: 20px;
        }

        #searchInput {
            width: 100%;
            padding: 10px;
            box-sizing: border-box;
            background: #2d2d2d;
            color: #fff;
            border: 1px solid #444;
            border-radius: 4px;
            font-size: 16px;
        }

        #searchResults {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #2d2d2d;
            border: 1px solid #444;
            border-top: none;
            max-height: 250px;
            overflow-y: auto;
            list-style: none;
            padding: 0;
            margin: 0;
            z-index: 1000;
            border-radius: 0 0 4px 4px;
            display: none;
        }

        #searchResults li {
            padding: 10px;
            cursor: pointer;
            border-bottom: 1px solid #333;
            display: flex;
            align-items: center;
            justify-content: space-between;
            /* ESSA LINHA É NOVA */
        }

        #searchResults li:hover,
        #searchResults li.selected {
            background: #3d3d3d;
        }

        /* Layout em Grid */
        .dashboard {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            margin-bottom: 30px;
        }

        .card {
            background: #2d2d2d;
            padding: 20px;
            border-radius: 8px;
            flex: 1;
            min-width: 330px;
            display: none;
        }

        .chart-container {
            background: #2d2d2d;
            padding: 20px;
            border-radius: 8px;
            flex: 2;
            min-width: 400px;
            display: none;
        }

        .profit {
            color: #4caf50;
            font-weight: bold;
        }

        .loss {
            color: #f44336;
            font-weight: bold;
        }

        .live-data {
            color: #00bcd4;
            font-weight: bold;
        }

        .gold-text {
            color: #ffd700;
            font-weight: bold;
        }

        /* Ícones de Itens */
        .item-icon-sm {
            width: 24px;
            height: 24px;
            object-fit: contain;
            margin-right: 10px;
        }

        .item-icon-lg {
            width: 40px;
            height: 40px;
            object-fit: contain;
            margin-right: 12px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 4px;
            padding: 4px;
        }

        /* Ícones e Estrela de Favorito */
        .hint-icon {
            font-size: 11px;
            color: #888;
            cursor: help;
            border-bottom: 1px dotted #888;
            margin-left: 4px;
        }

        .verify-icon {
            cursor: pointer;
            margin-left: 8px;
            font-size: 14px;
            display: inline-block;
            transition: 0.2s;
        }

        .verify-icon:hover {
            transform: scale(1.2);
        }

        .btn-fav {
            cursor: pointer;
            font-size: 24px;
            color: #555;
            transition: 0.2s;
            user-select: none;
        }

        .btn-fav:hover {
            transform: scale(1.1);
        }

        .fav-active {
            color: #ffd700;
        }

        /* Estilos das Ferramentas */
        .tools-nav {
            margin-bottom: 20px;
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .btn-tool {
            background: #333;
            color: #fff;
            border: 1px solid #555;
            padding: 10px 20px;
            font-weight: bold;
            border-radius: 4px;
            cursor: pointer;
            transition: 0.2s;
        }

        .btn-tool:hover,
        .btn-tool.active {
            background: #4e4e4e;
            /* color: #1e1e1e; */
            /* border-color: #00bcd4; */
        }

        .btn-action {
            background: #00bcd4;
            color: #1e1e1e;
            border: none;
            padding: 8px 16px;
            font-weight: bold;
            border-radius: 4px;
            cursor: pointer;
            transition: 0.2s;
        }

        .btn-action:hover {
            background: #0097a7;
        }

        .btn-remove {
            background: transparent;
            border: none;
            color: #f44336;
            cursor: pointer;
            font-size: 16px;
        }

        .data-section {
            background: #2d2d2d;
            padding: 20px;
            border-radius: 8px;
            display: none;
            margin-bottom: 20px;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            flex-wrap: wrap;
            gap: 10px;
        }

        .section-controls select {
            padding: 8px;
            background: #1e1e1e;
            color: #fff;
            border: 1px solid #444;
            border-radius: 4px;
            margin-left: 5px;
        }

        /* Tabela */
        table.rs-table {
            width: 100%;
            border-collapse: collapse;
            text-align: left;
            font-size: 14px;
        }

        table.rs-table th,
        table.rs-table td {
            padding: 12px;
            border-bottom: 1px solid #444;
        }

        table.rs-table th {
            background-color: #1e1e1e;
            color: #aaa;
            position: sticky;
            top: 0;
            z-index: 10;
        }

        table.rs-table tr:hover {
            background-color: #3d3d3d;
        }

        .member-icon {
            color: #ffd700;
            font-size: 18px;
        }

        .text-right {
            text-align: right;
        }

        .text-center {
            text-align: center;
        }

        /* Estilos da Calculadora de Margem e Plano de Ação */
        .calc-input {
            width: 100%;
            padding: 8px;
            box-sizing: border-box;
            background: #1e1e1e;
            color: #fff;
            border: 1px solid #444;
            border-radius: 4px;
            font-size: 14px;
        }

        .calc-input:focus {
            border-color: #00bcd4;
            outline: none;
        }

        .calc-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 5px;
        }

        .flip-simulation {
            display: none;
            background: rgba(0, 188, 212, 0.08);
            border-left: 3px solid #00bcd4;
            padding: 12px;
            margin-top: 15px;
            font-size: 14px;
            border-radius: 0 4px 4px 0;
        }

        .flip-simulation h4 {
            margin: 0 0 10px 0;
            color: #00bcd4;
            font-size: 15px;
        }

        .sim-step {
            margin-bottom: 6px;
        }

        .sim-note {
            font-size: 11px;
            color: #aaa;
            margin-top: 8px;
            font-style: italic;
        }

        /* Estilos: Target Inputs e Alertas */
        .target-input {
            width: 80px;
            padding: 6px;
            background: #1a1a1a;
            color: #fff;
            border: 1px solid #555;
            border-radius: 4px;
            font-size: 12px;
            text-align: right;
        }

        .target-input:focus {
            border-color: #ffd700;
            outline: none;
        }

        @keyframes pulse-buy {
            0% {
                background-color: rgba(76, 175, 80, 0.15);
            }

            50% {
                background-color: rgba(76, 175, 80, 0.4);
            }

            100% {
                background-color: rgba(76, 175, 80, 0.15);
            }
        }

        @keyframes pulse-sell {
            0% {
                background-color: rgba(244, 67, 54, 0.15);
            }

            50% {
                background-color: rgba(244, 67, 54, 0.4);
            }

            100% {
                background-color: rgba(244, 67, 54, 0.15);
            }
        }

        tr.alert-buy td {
            animation: pulse-buy 2s infinite;
        }

        tr.alert-buy td:first-child {
            border-left: 4px solid #4caf50;
        }

        tr.alert-sell td {
            animation: pulse-sell 2s infinite;
        }

        tr.alert-sell td:first-child {
            border-left: 4px solid #f44336;
        }

        .alert-icon {
            font-size: 16px;
            margin-left: 6px;
            vertical-align: middle;
        }

        .hint-text {
            border-bottom: 1px dotted #aaa;
            cursor: help;
            transition: color 0.2s;
        }

        .hint-text:hover {
            color: #ffd700;
        }

        /* Container de buscas recentes */
        .recent-container {
            display: flex;
            gap: 8px;
            margin-top: 12px;
            flex-wrap: wrap;
            min-height: 32px;
            /* Evita que o layout pule quando carregar */
        }

        /* Botão individual de item recente */
        .btn-recent {
            background: #2d2d2d;
            border: 1px solid #444;
            border-radius: 20px;
            padding: 4px 12px;
            display: flex;
            align-items: center;
            cursor: pointer;
            transition: 0.2s;
            font-size: 13px;
            color: #ccc;
        }

        .btn-recent:hover {
            background: #3d3d3d;
            border-color: #00bcd4;
            color: #fff;
            transform: translateY(-2px);
        }

        .btn-recent img {
            width: 18px;
            height: 18px;
            margin-right: 6px;
            object-fit: contain;
        }

        .btn-clear-recent {
            background: transparent;
            border: none;
            color: #888;
            cursor: pointer;
            font-size: 11px;
            padding: 4px 8px;
            margin-left: 4px;
            transition: color 0.2s;
            align-self: center;
            /* Alinha verticalmente com as pílulas */
            text-decoration: underline;
        }

        .btn-clear-recent:hover {
            color: #f44336;
            /* Vermelho para indicar exclusão */
        }

        /* Estilos do Toggle F2P */
        .top-controls {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 10px;
            max-width: 600px;
        }

        .f2p-toggle {
            display: flex;
            align-items: center;
            cursor: pointer;
            font-size: 13px;
            color: #aaa;
            font-weight: bold;
            user-select: none;
        }

        .f2p-toggle input {
            display: none;
        }

        .f2p-slider {
            position: relative;
            width: 36px;
            height: 20px;
            background-color: #444;
            border-radius: 20px;
            margin-right: 10px;
            transition: 0.3s;
        }

        .f2p-slider::before {
            content: "";
            position: absolute;
            height: 14px;
            width: 14px;
            left: 3px;
            bottom: 3px;
            background-color: #fff;
            border-radius: 50%;
            transition: 0.3s;
        }

        .f2p-toggle input:checked+.f2p-slider {
            background-color: #ffd700;
            /* Dourado F2P */
        }

        .f2p-toggle input:checked+.f2p-slider::before {
            transform: translateX(16px);
            background-color: #1e1e1e;
        }

        .f2p-toggle input:checked~.toggle-text {
            color: #ffd700;
        }

        /* --- MENU SANDUÍCHE E CONFIGURAÇÕES --- */
        .settings-menu-container {
            position: relative;
        }

        .btn-hamburger {
            background: #2d2d2d;
            color: #fff;
            border: 1px solid #444;
            padding: 8px 12px;
            font-size: 18px;
            border-radius: 4px;
            cursor: pointer;
            transition: 0.2s;
        }

        .btn-hamburger:hover {
            border-color: #00bcd4;
        }

        .settings-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 8px;
            background: #2d2d2d;
            border: 1px solid #444;
            border-radius: 4px;
            min-width: 220px;
            display: none;
            /* Escondido por padrão */
            flex-direction: column;
            z-index: 2000;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
        }

        .settings-dropdown.show {
            display: flex;
        }

        .menu-item {
            background: none;
            border: none;
            color: #ddd;
            padding: 12px 16px;
            text-align: left;
            font-size: 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            box-sizing: border-box;
            transition: 0.2s;
        }

        .menu-item:hover {
            background: #3d3d3d;
            color: #fff;
        }

        .menu-item:not(:last-child) {
            border-bottom: 1px solid #333;
        }

        /* --- MODAL DE FEEDBACK --- */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.75);
            display: none;
            /* Escondido por padrão */
            align-items: center;
            justify-content: center;
            z-index: 3000;
        }

        .modal-content {
            background: #2d2d2d;
            padding: 20px;
            border-radius: 8px;
            width: 90%;
            max-width: 450px;
            border: 1px solid #444;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        }

        .modal-content h3 {
            margin-top: 0;
            color: #00bcd4;
            margin-bottom: 15px;
        }

        /* --- TOAST NOTIFICATIONS --- */
        .toast-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: 9999;
            pointer-events: none;
            /* Não interfere nos cliques do site */
        }

        .toast {
            background: #2d2d2d;
            color: #fff;
            padding: 12px 20px;
            border-radius: 4px;
            font-size: 14px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
            display: flex;
            align-items: center;
            gap: 10px;
            border-left: 4px solid #fff;
            animation: slideInRight 0.3s ease-out forwards;
            opacity: 1;
            transition: opacity 0.3s ease-out;
        }

        .toast.success {
            border-left-color: #4caf50;
        }

        .toast.error {
            border-left-color: #f44336;
        }

        .toast.warning {
            border-left-color: #ff9800;
        }

        .toast.fade-out {
            opacity: 0;
        }

        @keyframes slideInRight {
            from {
                transform: translateX(100%);
                opacity: 0;
            }

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