﻿#divNotification {
    max-height: 50vh; /* 80% of the viewport height */
    overflow-y: auto; /* Enables vertical scrolling */
}

.error-msg {
    color: red;
    font-size: 12px;
    margin: 0 10px 5px 10px;
}

.media-btn {
    padding: 8px 10px;
    background-color: #f1f1f1;
    color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.2s ease;
}

    .media-btn:hover {
        background-color: #ddd;
    }

.media-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 5px;
}

.media-preview {
    font-size: 12px;
    color: #fff;
    word-break: break-word;
}

.preview-img {
    max-width: 100%;
    max-height: 150px;
    border-radius: 5px;
    margin-top: 5px;
}

.preview-video {
    max-width: 100%;
    max-height: 200px;
    border-radius: 5px;
    margin-top: 5px;
}















.media-modal {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

    .media-modal.hidden {
        display: none;
    }

.media-modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

    .media-modal-content img,
    .media-modal-content video {
        max-width: 100%;
        max-height: 100%;
        border-radius: 8px;
    }

.media-modal-close {
    position: fixed;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 2001;
}

.scroll-container {
    height: 600px; /* Set the height */
    overflow-y: scroll; /* Enable vertical scrolling */
    border: 0px solid #ccc; /* Optional: for visibility */
}

.pointer {
    cursor: pointer;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 75px;
    right: 43px;
    z-index: 100;
}

.image-container {
    width: 100%;
    height: 380px; /* Set desired height */
    overflow: hidden;
    position: relative;
}

.img-fixed {
    width: 100%;
    height: 100%;
    object-fit: fill; /* This keeps aspect ratio and fills the box */
}
