﻿body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}

.container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: auto;
}

h1 {
    text-align: center;
    color: #333;
}

.user-account {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
}

.details {
    margin-bottom: 10px;
}

.buttons {
    text-align: right;
}

button {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 5px;
}

.view {
    background-color: #2196F3;
    color: white;
}

.edit {
    background-color: #FFC107;
    color: white;
}

.delete {
    background-color: #f44336;
    color: white;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    text-align: center;
}

    .modal-content h2 {
        margin: 0;
    }

    .modal-content p {
        margin: 10px 0 20px 0;
    }
.custom-support-sidebar {
    width: 30%;
    background-color: #ffffff;
    border-right: 1px solid #ddd;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.custom-support-customer {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

    .custom-support-customer:hover {
        background-color: #f9f9f9;
    }

.custom-support-customer-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.custom-support-customer-name {
    flex-grow: 1;
    font-weight: bold;
    color: #333;
}

.custom-support-message-count {
    background-color: red;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
}


.custom-support-chat-container {
    width: 70%;
    background-color: #e5ddd5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-support-chat-header {
    padding: 20px;
    background-color: red;
    color: white;
    font-weight: bold;
    text-align: center;
}

.custom-support-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: darkcyan;
}

.custom-support-message {
    background-color: white;
    padding: 10px;
    border-radius: 15px;
    margin-bottom: 10px;
    max-width: 60%;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

    .custom-support-message.sent {
        background-color: #e1ffc7;
        align-self: flex-end;
    }


.custom-support-response-area {
    padding: 20px;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-top: 1px solid #ddd;
}

.custom-support-textarea {
    width: 90%;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #ddd;
    resize: none;
    height: 40px;
}

.custom-support-button {
    width: 10%;
    padding: 10px;
    margin-left: 10px;
    background-color: #075e54;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

    .custom-support-button:hover {
        background-color: #128c7e;
    }


@media (max-width: 768px) {
    .custom-support-sidebar {
        width: 40%;
    }

    .custom-support-chat-container {
        width: 60%;
    }
}

@media (max-width: 576px) {
    body {
        flex-direction: column;
    }

    .custom-support-sidebar {
        width: 100%;
        height: 30%;
    }

    .custom-support-chat-container {
        width: 100%;
        height: 70%;
    }
}