.calendar-cell {
    width: 80px;
    height: 80px;
    border: 1px solid #ddd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 4px;
    cursor: pointer;
    border: 1px solid #dee2e6;
        min-height: 150px;
}

.highlighted {
    background-color: #28a745;
    color: white;
}

.hidden {
    display: none !important;
}

.purple-transparent-bg {
    background-color: rgb(236 218 255);
}

.purple-middle-bg {
    background-color: rgb(209 170 255);
}

.color-box {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

.content-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.records-container {
    flex: 1;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 60px;
    /* Space for the buttons */
}

.records-wrapper {
    display: flex;
    flex-wrap: wrap;
    /* Allow wrapping for multiple rows */
}

.record-item {

    margin-right: 20px;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;

}

/* Approved label */
.record-item.approved::after {
    content: "Approved";
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #28a745;
    /* Green background for approval */
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    /* Ensure it appears above other content */
}

/* Rejection label */
.record-item.rejected::after {
    content: "Rejected";
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #dc3545;
    /* Red background for rejection */
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

/* Optional: Additional styling to differentiate approved and rejected items */
.record-item.approved {
    background-color: #e6f4ea;
    /* Light green background for approved items */
    border-color: #28a745;
    position: relative;
    /* Green border for approved items */
}

/* Redish background for rejected items */
.record-item.rejected {
    background-color: #f8d7da;
    /* Light red background */
    border-color: #f5c6cb;
    /* Light red border */
    position: relative;
    /* Ensure the ::after content is positioned correctly */
}



.button-container a {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 5px;
}

.approve-btn {
    background-color: #28a745;
    color: white;
}

.reject-btn {
    background-color: #dc3545;
    color: white;
}

.rejection-options {
    margin-top: 10px;
}

.rejection-fields {
    margin-left: 20px;
}

.rejection-fields textarea {
    width: 100% !important;
    margin-top: 5px;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.rejection-fields input[type="checkbox"] {
    margin-right: 10px;
}

.action-container {
    background-color: #f8f9fa;
    /* Light gray background */
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Style for the confirmation popup */
.confirmation-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px;
    border-radius: 5px;
}

.popup-content {
    text-align: center;
}

.popup-content button {
    margin: 0 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

#confirm-yes {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
}

#confirm-no {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
}

/* Style for approved records */
.record-item.approved {
    background-color: #d4edda;
    /* Light green background for approved records */
    border-color: #c3e6cb;
    /* Green border for approved records */
}

.record-item.rejected {
    background-color: #f8d7da;
    /* Light red background for rejected records */
    border-color: #f5c6cb;
    /* Red border for rejected records */
}

/* Style for Submit and Return buttons container */
.submit-return-container {
    display: none;
    /* Hidden initially */
    margin-top: 10px;
}

/* Hide the original button container when rejection options are shown */
.button-container {
    display: block;
    /* Default display */
}

/* Show the original button container */
.record-item .button-container {
    display: block;
}

.submit-return-container {
    margin-top: 10px;
}

.submit-btn,
.return-btn {
    background-color: #007bff;
    /* Blue background */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 5px;
}

.submit-btn:hover,
.return-btn:hover {
    background-color: #0056b3;
    /* Darker blue on hover */
}

.return-btn {
    background-color: #6c757d;
    /* Gray background */
}

.return-btn:hover {
    background-color: #5a6268;
    /* Darker gray on hover */
}

.confirmation-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.confirmation-popup .popup-content {
    text-align: center;
}

.confirmation-popup button {
    margin: 5px;
}

.media-container img,
.media-container video {
    width: 100% !important;
    height: auto !important;
    border-radius: 0 !important;
}

.video-detail-row td {
    background-color: #f2edf3;
    font-size: 14px;
}

.subtasks {
    margin-left: 20px;
}

.file-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#preview-content {
max-height: 70vh;
}

#preview-content img, #preview-content video{
max-height: 70vh;
}

#filePreviewFrameContainer {
    text-align: center;
}

#filePreviewFrameContainer iframe,
#filePreviewFrameContainer img,
#filePreviewFrameContainer video {
    /*width: 100%;*/

    max-height: 70vh;
}

#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Semi-transparent background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}


.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    opacity: 0.8;
    pointer-events: none;
}

.hashtag {
    color: rgb(65, 80, 247);
}

.hashtags-end {
    display: block;
    margin-top: 6px; /* optional spacing */
}