.spinner-container {
    width: 100%;
    height: 100%;
    z-index: 9000;
}

.floating-button {
    z-index: 1049 !important;
}

.min-w-200 {
    min-width: 200px;
}

#datepicker-range {
    border-radius: 0 5.6px 5.6px 0;
}

input[disabled] {
    background-color: #ffffff;
    color: #000000;
}

.fixed-header {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 2;
}

.fixed-first-row-header {
    position: sticky;
    left: -13px;
    top: 40px;
    z-index: 3;
    background-color: #ebffee !important;
    color: black;
    font-weight: 700;
}

.fixed-row-header {
    position: sticky;
    top: 40px;
    background-color: #ebffee !important;
    font-weight: bold;
    z-index: 2;
}

.fixed-row-column {
    position: sticky;
    left: -13px;
    background-color: #ffffff !important;
    box-shadow: 1px 0 0 0 #000;
    z-index: 1;
}

.auto-expand {
    resize: vertical;
    min-height: 75px;
    transition: none;
}

.bg-light-warning {
    background-color: #fff3cd;
    color: #856404;
}

.bg-light-danger {
    background-color: #f8d7da;
    /* Light red background */
    color: #842029;
    /* Dark red text */
}

.bg-light-success {
    background-color: #d1e7dd;
    /* Light green background */
    color: #0f5132;
    /* Dark green text */
}

.bg-light-primary {
    background-color: #cfe2ff;
    /* Light blue background */
    color: #084298;
    /* Dark blue text */
}

.bg-light-dark {
    background-color: #dedede;
    /* Light blue background */
    color: #717171;
    /* Dark blue text */
}

.dot {
    height: 6px;
    width: 6px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    /* Jarak antara dot dan teks */
}

.dot.warning {
    background-color: #ffc107;
}

.dot.danger {
    background-color: #dc3545;
    /* Warna merah */
}

.dot.success {
    background-color: #198754;
    /* Warna hijau */
}

.dot.primary {
    background-color: #0d6efd;
    /* Warna biru */
}

.dot.light {
    background-color: #525252;
    /* Warna biru */
}

.small-circle {
    font-size: 10px;
    /* Atur ukuran sesuai kebutuhan */
    line-height: 1;
}

.attachment-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 16px;
    font-family: Arial, sans-serif;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.attachment-header {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #4a90e2;
    margin-bottom: 16px;
    gap: 8px;
}

.attachment-count {
    color: #4a90e2;
    font-size: 14px;
}

.upload-body {
    border: 2px dashed #4a90e2;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.upload-body:hover {
    background-color: #eef6fc;
}

.attachment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
}

.attachment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.attachment-item:last-child {
    border-bottom: none;
}

.file-icon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 12px;
}

.file-icon.png {
    background-color: #4caf50;
}

.file-icon.xlsx {
    background-color: #4caf50;
}

.file-icon.pptx {
    background-color: #cd5b0a;
}

.file-icon.jpg {
    background-color: #2196f3;
}

.file-icon.pdf {
    background-color: #f44336;
}

.file-info {
    flex-grow: 1;
}

.file-name {
    font-weight: bold;
    font-size: 14px;
}

.file-size {
    font-size: 12px;
    color: #888;
}

.file-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
    font-size: 14px;
}

.action-btn:hover {
    color: #000;
}

.action-btn.view-btn {
    color: #4caf50;
}

.action-btn.download-btn {
    color: #2196f3;
}

.action-btn.delete-btn {
    color: #f44336;
}

.assigned-column {
    flex-wrap: nowrap;
    /* Default for larger screens */
}

.hover-bold-blue:hover {
    font-weight: bold !important;
    /* Buat teks tebal */
    color: blue !important;
    /* Ubah warna teks jadi biru */
}

.hover-bold-blue:active {
    font-weight: bold !important;
    color: darkblue !important;
    /* Warna lebih gelap saat diklik */
}

.timeline {
    position: relative;
    margin-left: 15px;
    padding-left: 10px;
    border-left: 2px solid #dee2e6;
}

.timeline-item {
    position: relative;
    padding-left: 15px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: #0d6efd;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .assigned-column {
        flex-wrap: wrap;
        /* Allow wrapping on smaller screens */
    }
}

.notion-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100%;
    z-index: 1055;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.05);
}

.notion-panel.show {
    right: 0;
}

.placeholder {
    background-color: #7c7c7c;
    border-radius: 4px;
    animation: placeholderGlow 1.4s infinite;
}

.placeholder::before {
    content: "\00a0";
    /* Non-breaking space */
}

@keyframes placeholderGlow {
    0% {
        background-color: #a9a9a9;
    }

    50% {
        background-color: #7f7f7f;
    }

    100% {
        background-color: #545454;
    }
}


/* File Icon Styles */
.file-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    color: white;
    flex-shrink: 0;
}

/* File Type Colors */
.file-icon-pdf {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.file-icon-image {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.file-icon-excel {
    background: linear-gradient(135deg, #198754, #20c997);
}

.file-icon-word {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
}

.file-icon-powerpoint {
    background: linear-gradient(135deg, #fd7e14, #dc3545);
}

.file-icon-archive {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.file-icon-default {
    background: linear-gradient(135deg, #6c757d, #adb5bd);
}

/* Hover Effects */
.hover-bg-light:hover {
    background-color: #f8f9fa !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.transition {
    transition: all 0.2s ease-in-out;
}

/* Form Field Styling */
.form-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.preserved-whitespace {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Section Styling */
.bg-light {
    background-color: #f8f9fa !important;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .file-icon {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }

    .px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* File hover animation */
.file-icon {
    transition: transform 0.2s ease;
}

.hover-bg-light:hover .file-icon {
    transform: scale(1.05);
}

/* Better spacing for mobile */
@media (max-width: 768px) {

    .row.mb-3 .col-sm-4,
    .row.mb-3 .col-sm-8 {
        margin-bottom: 0.5rem;
    }
}

/* Text styling improvements */
.text-secondary {
    color: #6c757d !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

/* Border improvements */
.border {
    border: 1px solid #e9ecef !important;
}

.rounded {
    border-radius: 0.375rem !important;
}