:root {
    --primary-color: #d51c48;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --table-header-bg: #343a40;
    --status-completed: #28a745;
    --status-pending: #ffc107;
    --status-not-started: #dc3545;
}

.section-header {
    margin-bottom: 2rem;
}

.section-header-breadcrumb {
    margin-top: 0.5rem;
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

.breadcrumb-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.page-title-details {
    font-size: 1.4rem;
    font-weight: 700;
    color: #d51c48;
    margin-bottom: 0.2rem;
    padding-left: 20px;
}

.page-subtitle-details {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding-left: 20px;
}

.status {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    min-width: 120px;
}

.status-not-started-yet {
    background-color: #e5e7eb;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
}

.status-in-progress {
    background-color: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
    border-radius: 20px;
}

.status-done {
    background-color: #d1fae5;
    color: #047857;
    border: 1px solid #d1fae5;
    border-radius: 20px;
}

.priority {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    min-width: 80px;
}

.priority-urgent {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fee2e2;
}

.priority-high {
    background-color: #fef3c7;
    color: #d97706;
    border: 1px solid #fef3c7;
}

.priority-normal {
    background-color: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
}

.priority-clear {
    background-color: #e5e7eb !important;
    color: #374151 !important;
    border: 1px solid #e5e7eb !important;
}

/* .priority-low {
    background-color: #e0f2fe;
    color: #0369a1;
    border: 1px solid #e0f2fe;
} */

.btn-action {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-action:hover {
    background-color: #b8173a;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.activity-description {
    line-height: 1.6;
    color: var(--secondary-color);
    text-align: left;
}

/* File Upload Styles */
.file-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.file-upload-area:hover {
    border-color: #D51C48;
    background-color: #fff;
}

.file-upload-area.dragover {
    border-color: #D51C48;
    background-color: rgba(213, 28, 72, 0.05);
}

@media print {
    .btn-back,
    .btn-action {
        display: none !important;
    }

    .card {
        box-shadow: none;
        border: 1px solid var(--border-color);
    }

    .table {
        break-inside: avoid;
    }
}

@media (max-width: 768px) {
    .page-title-details {
        font-size: 1.5rem;
        text-align: center;
    }

    .page-subtitle-details {
        text-align: center;
    }

    .table-responsive {
        font-size: 0.9rem;
    }

    .status-badge {
        min-width: 100px;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .table thead th,
    .table tbody td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 576px) {
    .section-header h1 {
        font-size: 1.5rem;
    }

    .page-title-details {
        font-size: 1.3rem;
    }

    .table thead th,
    .table tbody td {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
    }

    .activity-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}

.empty-state h4 {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.table-loading {
    position: relative;
}

.table-loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
