
        body {
            font-family: 'Roboto', sans-serif;
            background: linear-gradient(135deg, #2c3e50 0%, #000000 100%);

            height: 100vh;
            margin: 0;
        }
        /* Style for audio message */
.audio-message {
    margin: 10px 0;
}

.audio-message audio {
    width: 80%;
    cursor: pointer;
}

.close-btn {
    position: absolute;
    top: 1px;
    right: 10px;  /* Positioning at the top-left corner */
    font-size: 30px;
    color: yellow;  /* Yellow cross */
    background-color: red;  /* Black background */
    border-radius: 50%;  /* Circular button */
    width: 40px;  /* Width of the button */
    height: 40px;  /* Height of the button */
    text-align: center;
    line-height: 35px;  /* Vertically centering the cross */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);  /* Optional: Add a shadow for effect */
}

.close-btn:hover {
    background-color: #333;  /* Darker shade on hover */
    color: #ffcc00;  /* Slightly lighter yellow for hover */
}



        .chat-container {
            width: 100%;
            max-width: 500px; /* Compact card width */
            margin-top: 20px;
            height: 80%; /* Adjusted height */
            background: black;
            border-radius: 12px;
            box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .header {
            background: linear-gradient(135deg, #075e54, #128c7e);
            padding: 10px;
            color: #fff;
            font-size: 16px;
            font-weight: bold;
            text-align: center;
            border-radius: 12px 12px 0 0;
        }

        #chat-box {
            flex: 1;
            overflow-y: auto;
            padding: 10px;
            background-color: black;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        #message-form {
            padding: 10px;
            background-color: #fff;
            border-top: 1px solid #ddd;
            display: flex;
            flex-direction: column;
            gap: 5px;
            position: sticky;
            bottom: 0;
            width: 100%;
            background-color: #fff; /* Keep it white */
            z-index: 10;
        }

        #message {
            width: 100%;
            height: 30px; /* Reduced height for compactness */
            resize: none;
            font-size: 14px;
            color:red;
        }

        .attachment-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .send-btn {
            width: 100%;
            padding: 8px;
            background-color: #075e54;
            color: white;
            border-radius: 20px;
            border: none;
            cursor: pointer;
            font-size: 12px; /* Smaller font */
            transition: background-color 0.3s ease;
        }

        .send-btn:hover {
            background-color: #128c7e;
        }

        .message {
            max-width: 75%;
            padding: 10px 15px;
            border-radius: 20px;
            background-color: #fff;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
            font-size: 14px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            transition: all 0.3s ease;
        }

        .message.sent {
            background-color: #dcf8c6;
            align-self: flex-end;
            border-top-right-radius: 0;
            text-align: right;
        }

        .message.received {
            background-color: #fff;
            align-self: flex-start;
            border-top-left-radius: 0;
            text-align: left;
        }

        .timestamp {
            font-size: 10px; /* Smaller timestamp */
            color: #888;
            margin-left: 10px;
        }

        #delete-all-btn {
            font-size: 12px;
            padding: 6px;
            border-radius: 20px;
        }

        .media-modal {
            display: none;
            position: fixed;
            z-index: 999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            position: relative;
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            max-width: 90%;
            max-height: 90%;
        }

        .close-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 30px;
            color: #fff;
            cursor: pointer;
        }

        #modal-media-container img,
        #modal-media-container video {
            width: 100%;
            height: auto;
        }

        .code-container {
            max-width: 400px;
            margin: 0 auto;
        }
    