#chat-button img {
    width: 40px;
    height: 40px;
}



.chat-header button {
    position: absolute;
    top: 5px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: white;
    cursor: pointer;
}

.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.chat-messages .user-message {
    align-self: flex-end;
    background: #dcf8c6;
    padding: 8px;
    border-radius: 5px;
    max-width: 80%;
}

.chat-messages .support-message {
    align-self: flex-start;
    background: #eee;
    padding: 8px;
    border-radius: 5px;
    max-width: 80%;
}

.chat-box form {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
}

.chat-box input[type="text"] {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.chat-box button[type="submit"] {
    margin-left: 5px;
    padding: 8px 12px;
    background: #103053;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #232534;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.chat-box {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 400px;  
    height: 500px;    
    background-color: #232534;
    border: 1px solid #232534;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(236, 3, 3, 0.2);
}

.chat-header {
    background-color: #232534;
    color: white;
    padding: 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.chat-header button {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.message {
    padding: 8px 12px;
    border-radius: 6px;
    max-width: 80%;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message .message-user {
    font-size: 12px;
    color: #999;
    font-weight: bold;
}

.message .message-text {
    font-size: 14px;
}

.message.bot {
    align-self: flex-start;
    background-color: #f0f0f0;
    color: #333;
}

.message.user {
    align-self: flex-end;
    background-color: #041dff;
    color: #333;
}

.chat-form {
    display: flex;
    border-top: 1px solid #ddd;
}

.chat-form input {
    flex-grow: 1;
    padding: 10px;
    border: none;
    outline: none;
}

.chat-form button {
    padding: 10px;
    border: none;
    background-color:#232534;
    color: white;
    cursor: pointer;
}


.file-upload-icon {
    margin-right: 10px;
    font-size: 20px;
    color: #555;
    cursor: pointer;
}

.file-upload-icon:hover {
    color: #007bff;
}
