/* 🔹 General Modal Styles */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

/* 🔹 Modal Content */
.custom-modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* 🔹 Modal Buttons */
.custom-modal-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

/* 🔹 Buttons Inside Modals */
.custom-modal-btn {
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

/* 🔹 Delete Button (Red) */
.custom-delete-btn {
    background: #cc0000;
    color: white;
}

.custom-delete-btn:hover {
    background: #a30000;
}

/* 🔹 Save Button (Green) */
.custom-save-btn {
    background:  #cc0000;
    color: white;
}

.custom-save-btn:hover {
    background: #a30000;
}

/* 🔹 Cancel Button (Gray) */
.custom-cancel-btn {
    background: #ccc;
    color: black;
}

.custom-cancel-btn:hover {
    background: #bbb;
}

/* 🔹 Edit Textbox */
#customEditCommentText {
    width: 100%;
    height: 70px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    resize: none;
    font-size: 14px;
}

.customSuperModal {
    display: none; /* Initially hidden */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    width: 300px;
    text-align: center;
    z-index: 9999; /* Highest z-index to stay on top */
}

.customSuperOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent background */
    z-index: 9998; /* Just below the modal */
}

.customSuperModalHeader {
    font-size: 20px;
    font-weight: bold;
}
.customSuperModalContent {
    margin: 15px 0;
}
.customSuperCloseBtn {
    background: #cc0000;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.customSuperCloseBtn:hover {
    background: #a30000;
}