#law-bot-assistant {
    border: 1px solid #1f2937; /* Dark border for professional feel */
    padding: 30px;
    border-radius: 12px;
    max-width: 800px;
    margin: 40px auto;
    background-color: #f7f7f7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #1f2937;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8em;
}

.lba-disclaimer {
    background-color: #ffe0e0;
    border: 1px solid #cc0000;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    color: #333;
    font-size: 0.9em;
    line-height: 1.4;
    text-align: justify;
}

.lba-status-text {
    text-align: center;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.lba-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 30px;
}

#dc-text-query {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
}

.lba-button {
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.lba-submit-btn {
    background-color: #28a745; 
    color: white;
    padding: 12px 20px;
    font-weight: bold;
}

.lba-submit-btn:hover:not(:disabled) {
    background-color: #1e7e34;
}

.lba-mic-btn {
    font-size: 1.5em; /* Microphone icon size */
    padding: 10px 15px;
    background-color: #0056b3;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lba-mic-btn:hover:not(:disabled) {
    background-color: #003d80;
}

.lba-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.lba-response-container p {
    margin: 15px 0;
    padding: 15px;
    border-left: 5px solid #0056b3;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    white-space: pre-wrap;
    font-family: inherit;
    line-height: 1.6;
}

.lba-ai-response strong {
    color: #0056b3;
    font-weight: 700;
}