/* Color palette variables */
:root {
    --primary-blue: #000722; /* Cor base - azul escuro */
    --secondary-blue: #0A1D4C; /* Azul um pouco mais claro para elementos interativos */
    --light-blue: #C7D2E9; /* Azul bem claro para backgrounds */
    --hover-blue: #010B3B; /* Azul mais escuro para hover states */
    --accent-blue: #2D4275; /* Azul médio para acentos */
    --bg-light: #EFF2F9; /* Azul super claro para background principal */
}

/* Navbar styling */
#nav-bar {
    background-color: var(--primary-blue) !important;
}

/* Button primary override */
.btn-primary, .btn-success {
    background-color: var(--secondary-blue) !important;
    border-color: var(--secondary-blue) !important;
}

    .btn-primary:hover, .btn-success:hover {
        background-color: var(--hover-blue) !important;
        border-color: var(--hover-blue) !important;
    }

/* Chat card styling */
.card {
    background-color: var(--bg-light) !important;
    border: none;
}

.card-header {
    background-color: var(--primary-blue) !important;
    color: white !important;
}

/* Message bubbles */
.chat-message-user {
    background-color: var(--secondary-blue) !important;
    color: white;
    border-radius: 15px 15px 0 15px !important;
}

.chat-message-bot {
    background-color: white !important;
    border: 1px solid var(--light-blue) !important;
    color: #333;
    border-radius: 15px 15px 15px 0 !important;
}

/* Input group styling */
.input-group .form-control {
    border: 1px solid var(--light-blue);
}

    .input-group .form-control:focus {
        border-color: var(--accent-blue);
        box-shadow: 0 0 0 0.2rem rgba(10, 29, 76, 0.25);
    }

/* Navbar active state */
.navbar .navbar-collapse ul.navbar-nav .nav-item.active {
    background-color: var(--accent-blue) !important;
}

/* Custom scrollbar for chat messages */
#chat-messages::-webkit-scrollbar {
    width: 8px;
}

#chat-messages::-webkit-scrollbar-track {
    background: var(--bg-light);
}

#chat-messages::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
}

    #chat-messages::-webkit-scrollbar-thumb:hover {
        background: var(--secondary-blue);
    }
