.quran-chat-container {
    max-width: 600px;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
}

.quran-chat-header {
    background: #4caf50;
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 18px;
}

.quran-chat-box {
    padding: 20px;
    height: 400px;
    overflow-y: auto;
    background: #f4f6f8;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
}

.message-user, .message-bot {
    padding: 10px 15px;
    border-radius: 12px;
    max-width: 75%;
    animation: fadeIn 0.3s ease-in-out;
    line-height: 1.5;
}

.message-user {
    align-self: flex-end;
    background: #4caf50;
    color: white;
    border-radius: 12px 12px 0 12px;
}

.message-bot {
    align-self: flex-start;
    background: #e5e7eb;
    color: #333;
    border-radius: 12px 12px 12px 0;
}

.message-bot .bot-name {
    font-weight: bold;
    margin-right: 5px;
    color: #4caf50;
}

.quran-chat-input {
    display: flex;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #ddd;
    gap: 10px;
}

.quran-chat-input textarea {
    flex: 1;
    resize: none;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    height: 40px;
}

.quran-chat-button {
    background: #4caf50;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 16px;
}

.quran-chat-button:hover {
    background: #45a049;
}

.mic-btn {
    font-size: 20px;
    background: #2196F3;
}

.mic-btn:hover {
    background: #1976D2;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
}
