:root {
    --gold-primary: #D4AC49;
    --gold-hover: #bfa35f;
    --dark-bg: #0b0c10;
    --darker-bg: #07080a;
    --card-bg: rgba(22, 24, 28, 0.65);
    --card-border: rgba(255, 255, 255, 0.06);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --accent-glow: rgba(212, 172, 73, 0.15);
}

/* ===================================
   TEMA CLARO (LIGHT MODE PREMIUM)
   =================================== */
[data-bs-theme="light"] {
    --dark-bg: #f4f6f9;
    --darker-bg: #e9ecef;
    --card-bg: rgba(255, 255, 255, 0.85);
    --card-border: rgba(0, 0, 0, 0.1);
    --text-primary: #1e2125;
    --text-secondary: #6c757d;
    --accent-glow: rgba(212, 172, 73, 0.3);
}

[data-bs-theme="light"] .text-light,
[data-bs-theme="light"] .text-white {
    color: var(--text-primary) !important;
}

[data-bs-theme="light"] .bg-dark {
    background-color: rgba(255, 255, 255, 0.6) !important;
}

[data-bs-theme="light"] .border-secondary {
    border-color: rgba(0, 0, 0, 0.15) !important;
}

[data-bs-theme="light"] .modal-content {
    background: #f8f9fa;
}

[data-bs-theme="light"] .prospect-card,
[data-bs-theme="light"] .crm-list-item,
[data-bs-theme="light"] .agenda-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 1) 0%, rgba(248, 249, 250, 1) 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-bs-theme="light"] .prospect-card.selected {
    background: linear-gradient(145deg, rgba(212, 172, 73, 0.15) 0%, rgba(255, 255, 255, 1) 100%);
}

[data-bs-theme="light"] .form-control,
[data-bs-theme="light"] .form-select {
    background-color: #ffffff;
    color: #212529;
}

[data-bs-theme="light"] .form-select option {
    background-color: #ffffff;
    color: #212529;
}

[data-bs-theme="light"] .dropdown-menu {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .dropdown-item {
    color: #212529;
}

[data-bs-theme="light"] .dropdown-item:hover {
    background-color: rgba(212, 172, 73, 0.1);
    color: var(--gold-primary);
}

[data-bs-theme="light"] .input-group-text {
    background-color: #f8f9fa;
}

[data-bs-theme="light"] .search-icon-background {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    color: var(--text-primary) !important;
}

[data-bs-theme="light"] .search-type-card.active .search-icon-background {
    color: #000 !important;
}

[data-bs-theme="light"] .btn-close-white {
    filter: none;
}

[data-bs-theme="light"] .leaflet-container {
    background: #e9ecef;
}

[data-bs-theme="light"] .kanban-col {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

[data-bs-theme="light"] .help-menu-item.active {
    background-color: rgba(212, 172, 73, 0.15);
    color: #000;
    border-right: 3px solid var(--gold-primary);
}

/* ===================================
   BASE GLOBAL (AMBOS OS TEMAS)
   =================================== */
body {
    background: radial-gradient(circle at top center, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 172, 73, 0.4);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Efeito de Vidro Fosco (Glassmorphism) */
.card,
.modal-content,
.dropdown-menu,
.stats-card,
.crm-list-item,
.agenda-item {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.card-header {
    background: rgba(128, 128, 128, 0.05);
    border-bottom: 1px solid var(--card-border);
    border-radius: 16px 16px 0 0 !important;
    padding: 1.25rem 1.5rem;
}

.card-title {
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.navbar {
    background: rgba(11, 12, 16, 0.5) !important;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--card-border);
    padding: 1rem 0;
}

/* Modo Turbo Switch e AI Glow */
.form-check-input:checked {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.ai-glow {
    background: linear-gradient(45deg, #0dcaf0, #6610f2);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: #fff !important;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.team-member-item {
    transition: all 0.2s;
}

.team-member-item:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* ===================================
   CARDS DE LEADS E AÇÕES
   =================================== */
.prospect-card {
    background: linear-gradient(145deg, rgba(30, 33, 38, 0.5) 0%, rgba(22, 24, 28, 0.6) 100%);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.prospect-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 172, 73, 0.4);
}

.prospect-card.selected {
    background: linear-gradient(145deg, rgba(212, 172, 73, 0.1) 0%, rgba(30, 33, 38, 0.7) 100%);
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

.quick-actions a,
.quick-actions button {
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.quick-actions a:hover,
.quick-actions button:hover {
    transform: scale(1.05);
}

/* ===================================
   BADGES E INDICADORES (SCORE/NOTAS)
   =================================== */
.score-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid;
}

.score-high {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}

.score-med {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}

.score-low {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.smart-filter {
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.smart-filter:hover {
    transform: translateY(-1px);
}

.note-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.15);
    color: #0d6efd;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(13, 110, 253, 0.3);
}

.interest-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    border: 1px solid transparent;
}

.interest-badge.frio {
    background: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
    border-color: rgba(13, 202, 240, 0.3);
}

.interest-badge.morno {
    background: rgba(253, 126, 20, 0.1);
    color: #fd7e14;
    border-color: rgba(253, 126, 20, 0.3);
}

.interest-badge.quente {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.3);
}

.badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
    border-radius: 6px;
}

.bg-success {
    background-color: rgba(16, 185, 129, 0.2) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.bg-danger {
    background-color: rgba(239, 68, 68, 0.2) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.bg-warning {
    background-color: rgba(245, 158, 11, 0.2) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.bg-primary {
    background-color: rgba(59, 130, 246, 0.2) !important;
    color: #60a5fa !important;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.bg-info {
    background-color: rgba(13, 202, 240, 0.2) !important;
    color: #0dcaf0 !important;
    border: 1px solid rgba(13, 202, 240, 0.3);
}

/* ===================================
   O MEU CRM E KANBAN E AGENDA
   =================================== */
.crm-status-select {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    font-size: 0.7rem;
    border-radius: 12px;
    padding: 2px 20px 2px 8px;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 10px;
}

.crm-status-select:focus {
    outline: none;
    border-color: var(--gold-primary);
}

.crm-status-novo {
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.2);
}

.crm-status-contato {
    color: #0dcaf0;
    border-color: rgba(13, 202, 240, 0.4);
    background-color: rgba(13, 202, 240, 0.05);
}

.crm-status-negociacao {
    color: #fd7e14;
    border-color: rgba(253, 126, 20, 0.4);
    background-color: rgba(253, 126, 20, 0.05);
}

.crm-status-ganho {
    color: #198754;
    border-color: rgba(25, 135, 84, 0.4);
    background-color: rgba(25, 135, 84, 0.05);
}

.crm-status-perdido {
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.4);
    background-color: rgba(220, 53, 69, 0.05);
}

.crm-list-item {
    background: linear-gradient(145deg, rgba(30, 33, 38, 0.4) 0%, rgba(22, 24, 28, 0.5) 100%);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 0.5rem;
    padding: 1rem;
    transition: transform 0.2s, border-color 0.3s;
}

.crm-list-item:hover {
    border-color: rgba(212, 172, 73, 0.4);
    transform: translateY(-2px);
}

.agenda-item {
    background: linear-gradient(145deg, rgba(30, 33, 38, 0.4) 0%, rgba(22, 24, 28, 0.5) 100%);
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--gold-primary);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: transform 0.2s;
}

.agenda-item:hover {
    transform: translateX(4px);
    border-color: var(--gold-primary);
}

.agenda-item.late {
    border-left-color: #dc3545;
}

.agenda-item.today {
    border-left-color: #0dcaf0;
}

.kanban-board {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    min-height: 60vh;
    align-items: flex-start;
}

.kanban-col {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    min-width: 280px;
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: background-color 0.2s, border-color 0.2s;
}

.kanban-col.drag-over {
    background-color: rgba(212, 172, 73, 0.1) !important;
    border: 2px dashed var(--gold-primary) !important;
}

.kanban-items {
    min-height: 50px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.kanban-col-header {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    color: var(--gold-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 0.5rem;
}

.kanban-col.novo .kanban-col-header {
    color: #e2e8f0;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.kanban-col.disparado .kanban-col-header {
    color: #ffc107;
    border-bottom-color: rgba(255, 193, 7, 0.4);
}

.kanban-col.contato .kanban-col-header {
    color: #0dcaf0;
    border-bottom-color: rgba(13, 202, 240, 0.4);
}

.kanban-col.negociacao .kanban-col-header {
    color: #fd7e14;
    border-bottom-color: rgba(253, 126, 20, 0.4);
}

.kanban-col.ganho .kanban-col-header {
    color: #198754;
    border-bottom-color: rgba(25, 135, 84, 0.4);
}

.kanban-col.perdido .kanban-col-header {
    color: #dc3545;
    border-bottom-color: rgba(220, 53, 69, 0.4);
}

.kanban-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 0.75rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 0.85rem;
    transition: border-color 0.3s ease, transform 0.2s, opacity 0.2s;
    cursor: grab;
}

.kanban-card:active {
    cursor: grabbing;
}

.kanban-card.dragging {
    opacity: 0.4;
    transform: scale(0.95);
    border-color: var(--gold-primary);
}

@keyframes pulse-danger {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.6);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(220, 53, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.followup-late {
    border: 1px solid #dc3545 !important;
    animation: pulse-danger 2s infinite;
}

/* ===================================
   BOTÕES, INPUTS E FORMULÁRIOS
   =================================== */
.btn-gold {
    background-color: var(--gold-primary);
    color: #000;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-outline-gold {
    color: var(--gold-primary);
    border-color: var(--gold-primary);
    background-color: transparent;
}

.btn-outline-gold:hover {
    background-color: var(--gold-primary);
    color: #000;
}

.btn-outline-primary {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.btn-outline-primary:hover {
    background-color: var(--gold-primary);
    color: #000;
}

.form-control,
.form-select {
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.form-select option {
    background-color: #111318;
    color: #e2e8f0;
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(0, 0, 0, 0.4);
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
    color: var(--text-primary);
}

.input-group-text {
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--card-border);
    color: var(--gold-primary);
}

.dropdown-menu {
    background-color: rgba(22, 24, 28, 0.85);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown-item {
    color: var(--text-primary);
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: rgba(212, 172, 73, 0.15);
    color: var(--gold-primary);
}

/* ===================================
   ÍCONES E ESTATÍSTICAS
   =================================== */
.search-type-card {
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-type-card:hover {
    border-color: var(--card-border);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-type-card.active {
    border-color: var(--gold-primary) !important;
    background: rgba(212, 172, 73, 0.05);
}

.search-icon-background {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.8));
    margin: 0 auto 1.5rem auto;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.05), 0 8px 16px rgba(0, 0, 0, 0.2);
}

.search-type-card.active .search-icon-background {
    background: linear-gradient(135deg, var(--gold-primary), #a6812c);
    color: #000 !important;
}

.stats-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    transition: transform 0.2s;
}

.stats-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06);
}

.logs-table tbody tr {
    transition: background-color 0.2s;
}

.logs-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03) !important;
}

/* ===================================
   MODAIS E MAPAS (BLINDAGEM Z-INDEX)
   =================================== */
.modal {
    z-index: 1055 !important;
}

.modal-backdrop {
    z-index: 1050 !important;
}

.modal-content {
    background: rgba(17, 19, 24, 0.85);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.modal-header {
    border-bottom: 1px solid var(--card-border);
}

.modal-footer {
    border-top: 1px solid var(--card-border);
}

.fade-in {
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.leaflet-container {
    border-radius: 0 0 16px 16px;
    background: rgba(15, 17, 21, 0.5);
}

.leaflet-popup-content-wrapper {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 1px solid var(--gold-primary);
    border-radius: 8px;
}

.leaflet-popup-tip {
    background: var(--card-bg);
    border: 1px solid var(--gold-primary);
}

.text-gold {
    color: var(--gold-primary);
}

/* ===================================
   CENTRAL DE AJUDA (TUTORIAL)
   =================================== */
.help-menu-item {
    background: transparent;
    border: none;
    border-right: 3px solid transparent;
    color: var(--text-secondary);
    text-align: left;
    padding: 1rem;
    width: 100%;
    transition: all 0.2s;
    border-radius: 0;
}

.help-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.help-menu-item.active {
    background-color: rgba(212, 172, 73, 0.1);
    color: var(--gold-primary);
    border-right-color: var(--gold-primary);
    font-weight: 600;
}

.help-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.help-content h5 {
    color: var(--gold-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.help-content h6 {
    color: #fff;
    font-weight: 600;
    margin-top: 1.5rem;
}

/* ===================================
   CHAT DA IA E UTILITÁRIOS ORIGINAIS
   =================================== */
.chat-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-text {
    background-color: #fff;
    color: #333;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
}

.chat-btn {
    background-color: #D4AC49;
    color: #000;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    animation: pulse-gold 2s infinite;
}

.chat-btn:hover {
    transform: scale(1.06);
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 172, 73, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(212, 172, 73, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 172, 73, 0);
    }
}

.chat-modal {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 340px;
    height: 420px;
    background: #212529;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    z-index: 1001;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-header {
    padding: 12px;
    background: #1a1d20;
    color: #D4AC49;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.9;
}

.chat-close:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-message {
    max-width: 85%;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.35;
    word-break: break-word;
}

.chat-message.bot {
    background: rgba(212, 172, 73, 0.15);
    color: #fff;
    align-self: flex-start;
}

.chat-message.user {
    background: #D4AC49;
    color: #000;
    align-self: flex-end;
}

.chat-input {
    display: flex;
    padding: 10px;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.08);
}

.chat-input input {
    flex: 1;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    outline: none;
}

.chat-input input:focus {
    border-color: rgba(212, 172, 73, 0.6);
    box-shadow: 0 0 0 0.2rem rgba(212, 172, 73, 0.18);
}

.chat-input button {
    background: #D4AC49;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 900;
    cursor: pointer;
    color: #000;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar-brand span {
        font-size: 1.1rem;
    }

    #search-limit-status,
    #expiration-status {
        display: none !important;
    }

    .quick-actions {
        justify-content: flex-start !important;
    }

    .quick-actions .crm-status-select {
        width: 100% !important;
        max-width: none !important;
    }

    .modal-footer {
        justify-content: center !important;
    }

    .modal-footer > * {
        width: 100%;
        margin: 0.25rem 0 !important;
    }
}

@media (max-width: 420px) {
    .chat-modal {
        right: 15px;
        left: 15px;
        width: auto;
    }

    .chat-container {
        right: 15px;
        bottom: 20px;
    }

    .chat-text {
        display: none;
    }
}