* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
}

.projects-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.project-stats {
    display: flex;
    gap: 15px;
}

.stat-item {
    padding: 12px 20px;
}

.projects-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.project-stats {
    display: flex;
    gap: 15px;
}

.stat-item {
    padding: 12px 20px;
}.projects-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.project-stats {
    display: flex;
    gap: 15px;
}

.stat-item {
    padding: 12px 20px;
}

.add-btn {
    padding: 14px 24px;
    background: #3498db;
    color: white;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: 0.3s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.add-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.action-group {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.action-btn {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    font-weight: 500;
}

.schedule-list {
    margin-top: 20px;
}

.schedule-item {
    margin-bottom: 15px;
}


/* Navigation */
.navbar {
    background-color: #2c3e50;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doc-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
}
.doc-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* dorong tombol ke bawah */
.doc-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}
.doc-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

.download-btn-small {

    top: 20px;
    left: 25px;
    background: #3b82f6;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
}

.doc-footer .btn-primary {
    padding: 10px 18px;
    font-size: 13px;
    border-radius: 8px;
}

/* ===== MODAL ===== */
.img-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 95%;
    max-height: 90%;
    border-radius: 10px;
}

#pdfViewer {
    width: 95%;
    height: 90%;
    border: none;
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

.download-btn-modal {
    position: absolute;
    top: 20px;
    left: 25px;
    background: #3b82f6;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
}

/* ===== HEADER ===== */
.project-header {
    margin-bottom: 20px;
}

.project-meta {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    color: #555;
}

/* ===== CARD ===== */
.form-card {
    padding: 25px;
    margin-top: 10px;
}

/* ===== GRID ===== */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
    gap: 15px;
}

/* ===== ITEM ===== */
.doc-item {
    text-align: center;
}

/* ===== IMAGE ===== */
.doc-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

/* ===== PDF ===== */
.pdf-preview {
    width: 100%;
    height: 150px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
}

/* Enhanced Installation View Styles */
        .task-detail-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }
        
        .task-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding: 2rem;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 16px;
            color: white;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .task-title h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .task-id {
            font-size: 1.2rem;
            opacity: 0.9;
            background: rgba(255,255,255,0.2);
            padding: 0.5rem 1rem;
            border-radius: 8px;
            display: inline-block;
        }
        
        .task-content {
            display: grid;
            gap: 2rem;
        }
        
        .task-info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }
        
        .info-card {
            background: white;
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            border: 1px solid #e5e7eb;
            transition: all 0.3s ease;
        }
        
        .info-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.12);
        }
        
        .info-card.full-width {
            grid-column: 1 / -1;
        }
        
        .info-card h3 {
            font-size: 1.5rem;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .info-card h3::before {
            content: '';
            width: 4px;
            height: 24px;
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            border-radius: 2px;
        }
        
        .info-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .info-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
            background: #f8fafc;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
        }
        
        .info-label {
            font-weight: 600;
            color: #374151;
            font-size: 0.95rem;
        }
        
        .info-value {
            font-weight: 500;
            color: #1f2937;
        }
        
        .task-description {
            background: #f8fafc;
            padding: 1.5rem;
            border-radius: 12px;
            border-left: 4px solid #3b82f6;
        }
        
        .task-description {
            line-height: 1.8;
            color: #374151;
            margin: 0;
            white-space: pre-line;
            word-wrap: break-word;
        }
        
        .spec-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
        }
        
        .spec-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
            background: #f8fafc;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
        }
        
        .spec-label {
            font-weight: 600;
            color: #374151;
        }
        
        .spec-value {
            font-weight: 500;
            color: #1f2937;
        }
        
        .task-actions {
            display: flex;
            gap: 1rem;
            justify-content: center;
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid #e5e7eb;
        }
        
        .btn-primary, .btn-secondary {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 8px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .btn-primary {
            background: #3b82f6;
            color: white;
        }
        
        .btn-primary:hover {
            background: #2563eb;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }
        
        .btn-secondary {
            background: #6b7280;
            color: white;
        }
        
        .btn-secondary:hover {
            background: #4b5563;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
        }
        
        /* .action-btn.delete {
            padding: 0.75rem 1.5rem;
            background: #ef4444;
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .action-btn.delete:hover {
            background: #dc2626;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
        } */

        .form-actions {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
            justify-content: flex-end;
        }
        .form-actions button {
            flex: 1;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .task-detail-section {
                padding: 1rem;
            }
            
            .task-header {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }
            
            .task-title h1 {
                font-size: 2rem;
            }
            
            .task-info-grid {
                grid-template-columns: 1fr;
            }
            
            .spec-grid {
                grid-template-columns: 1fr;
            }
            
            .task-actions {
                flex-direction: column;
            }
        }
        
.add-task-btn {
        padding: 10px 20px;
        background: #2ecc71;
        border: none;
        color: #fff;
        cursor: pointer;
        border-radius: 6px;
    }

/* ===== TASK DETAIL STYLES ===== */
.task-detail-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.task-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.task-id {
    font-size: 1.2rem;
    opacity: 0.9;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

.task-content {
    display: grid;
    gap: 2rem;
}

.task-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.info-card.full-width {
    grid-column: 1 / -1;
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.info-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.info-value {
    font-weight: 500;
    color: #1f2937;
}

.task-description {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.task-description textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    background: white;
    line-height: 1.6;
    color: #374151;
}

.task-description textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.spec-label {
    font-weight: 600;
    color: #374151;
}

.spec-value {
    font-weight: 500;
    color: #1f2937;
}

.task-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.action-btn.delete {
    background: #e74c3c;
    color: white;
    
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn.delete:hover {
    background: #c0392b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* Task Detail Responsive */
@media (max-width: 768px) {
    .task-detail-section {
        padding: 1rem;
    }
    
    .task-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .task-title h1 {
        font-size: 2rem;
    }
    
    .task-info-grid {
        grid-template-columns: 1fr;
    }
    
    .spec-grid {
        grid-template-columns: 1fr;
    }
    
    .task-actions {
        flex-direction: column;
    }
}

/* ===== TEXTAREA ENHANCEMENTS ===== */
textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group.full-width textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    transition: all 0.3s ease;
}

.form-group.full-width textarea:hover {
    border-color: #d1d5db;
    background: #ffffff;
}

/* ===== FILE NAME ===== */
.file-name {
    margin-top: 8px;
    font-size: 13px;
    word-break: break-word;
}

/* ===== DOWNLOAD ===== */
.download-btn {
    display: inline-block;
    margin-top: 5px;
    font-size: 12px;
    color: #3498db;
}

/* ===== BACK BUTTON ===== */
.btn-secondary {
    padding: 8px 14px;
    border-radius: 6px;
    background: #e5e7eb;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #d1d5db;
}


.logo h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.logo p {
    color: #b8c5d6;
    font-size: 0.875rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #b8c5d6;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
    border-bottom-color: #3498db;
}

/* Dashboard Container */
.dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Statistics Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(74, 144, 226, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-content h3 {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
}

/* Cards Section */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card h2 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Progress Overview */
.progress-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-header span:first-child {
    font-weight: 500;
    color: #333;
}

.progress-header span:last-child {
    font-weight: 600;
    color: #666;
    font-size: 0.875rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-fill.orange {
    background: linear-gradient(90deg, #ff9800, #f57c00);
}

.progress-fill.green {
    background: linear-gradient(90deg, #4caf50, #388e3c);
}

.progress-fill.red {
    background: linear-gradient(90deg, #f44336, #d32f2f);
}

/* Recent Issues */
.issues-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.issue-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #e74c3c;
}

.issue-content h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.issue-content p {
    font-size: 0.875rem;
    color: #666;
}

/* Buttons */
.card-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-btn.blue {
    background: #2c3e50;
    color: white;
}

.card-btn.blue:hover {
    background: #34495e;
    transform: translateY(-1px);
}

.card-btn.red {
    background: #e74c3c;
    color: white;
}

.card-btn.red:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

/* Card Flexbox Layout - Fixed Button at Bottom */
.cards .card {
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.cards .card h2 {
    margin-bottom: 1rem;
}

.cards .card .progress-list,
.cards .card .issues-list,
.cards .card .schedule-list {
    flex: 1;
    margin-bottom: 1rem;
}

.cards .card .card-btn {
    margin-top: auto;
    align-self: stretch;
}

/* Schedule List Styles */
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.schedule-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 1.25rem;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.schedule-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #3498db 0%, #2980b9 100%);
    border-radius: 12px 0 0 12px;
}

.schedule-item:nth-child(1)::before {
    background: linear-gradient(180deg, #3498db 0%, #2980b9 100%);
}

.schedule-item:nth-child(2)::before {
    background: linear-gradient(180deg, #e67e22 0%, #d35400 100%);
}

.schedule-item:nth-child(3)::before {
    background: linear-gradient(180deg, #27ae60 0%, #229954 100%);
}

.schedule-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-3px) scale(1.01);
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.schedule-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.schedule-date {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

.schedule-item:nth-child(1) .schedule-date {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

.schedule-item:nth-child(2) .schedule-date {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    box-shadow: 0 2px 4px rgba(230, 126, 34, 0.3);
}

.schedule-item:nth-child(3) .schedule-date {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    box-shadow: 0 2px 4px rgba(39, 174, 96, 0.3);
}

.schedule-description {
    margin: 0;
    color: #5d6d7e;
    line-height: 1.6;
    font-size: 0.9rem;
}

.schedule-status {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #7f8c8d;
    margin-top: 0.5rem;
}

.schedule-status::before {
    content: '●';
    color: #27ae60;
    font-size: 0.6rem;
}

/* Progress Fill Colors */
.progress-fill.blue {
    background: linear-gradient(90deg, #3498db, #2980b9);
}

/* All Projects Page */
.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.projects-header h1 {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: 600;
}

.project-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    min-width: 100px;
}

.stat-item .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.stat-item .stat-label {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-header h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    font-weight: 600;
}

.project-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.project-status.active {
    background: #e3f2fd;
    color: #1976d2;
}

.project-status.completed {
    background: #e8f5e8;
    color: #2e7d32;
}

.project-progress {
    margin-bottom: 1.5rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.progress-info span:first-child {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.progress-percent {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
}

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

.detail-label {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.detail-value {
    font-size: 0.875rem;
    color: #333;
    font-weight: 600;
}

.project-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #dee2e6;
}

.btn-secondary:hover {
    background: #e9ecef;
    color: #333;
    transform: translateY(-1px);
}

/* Project Details Page */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #2980b9;
}

.breadcrumb-separator {
    color: #666;
    font-size: 0.875rem;
}

.breadcrumb-current {
    color: #333;
    font-weight: 500;
    font-size: 0.875rem;
}

.project-header-section {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.project-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-title h1 {
    font-size: 1.75rem;
    color: #2c3e50;
    font-weight: 600;
}

.project-status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.project-status-badge.active {
    background: #e3f2fd;
    color: #1976d2;
}

.project-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.meta-value {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

.tab-navigation {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.tab-btn {
    padding: 1rem 1.5rem;
    border: none;
    background: none;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: #333;
}

.tab-btn.active {
    color: #3498db;
    border-bottom-color: #3498db;
}

.tab-content {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.progress-overview h2,
.documentation h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.progress-stages {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.progress-stage {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stage-name {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.stage-percentage {
    font-size: 1.125rem;
    color: #2c3e50;
    font-weight: 600;
}

.progress-fill.gray {
    background: linear-gradient(90deg, #95a5a6, #7f8c8d);
}

.documentation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.doc-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.doc-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.doc-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.doc-title {
    font-size: 0.875rem;
    color: #333;
    font-weight: 500;
    text-align: center;
}

.view-all-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    background: #3498db;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-all-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.content-section {
    padding: 2rem;
    text-align: center;
}

.content-section h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-section p {
    font-size: 1rem;
    color: #666;
}

/* Project Edit Page */
.edit-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-card h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 600;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.875rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.progress-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.progress-section h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.stage-progress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}


/* Table Styles for Installation, Programming, Troubleshooting Pages */
.page-header {
    margin-bottom: 2rem;
}

.page-header h2 {
    font-size: 1.75rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.page-header p {
    font-size: 1rem;
    color: #666;
}

.table-container {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.installation-table,
.programming-table,
.troubleshooting-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.schedule-table th,
.schedule-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
    text-align: left;
}

.schedule-table th {
    background: #f8f9fa;
    color: #2c3e50;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
}

.schedule-table tr:hover {
    background: #f8f9fa;
}

.schedule-table .schedule-date {
    background: none !important;
    color: #333 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
}

.installation-table th,
.programming-table th,
.troubleshooting-table th {
    background: #f8f9fa;
    color: #2c3e50;
    font-weight: 600;
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.installation-table td,
.programming-table td,
.troubleshooting-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.installation-table tr:hover,
.programming-table tr:hover,
.troubleshooting-table tr:hover {
    background: #f8f9fa;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.completed {
    background: #d4edda;
    color: #155724;
}

.status-badge.in-progress {
    background: #fff3cd;
    color: #856404;
}

.status-badge.pending {
    background: #f8d7da;
    color: #721c24;
}

.priority-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.priority-badge.critical {
    background: #52171c;
    color: #ee0018;
}

.priority-badge.high {
    background: #f8d7da;
    color: #721c24;
}

.priority-badge.medium {
    background: #fff3cd;
    color: #856404;
}

.priority-badge.low {
    background: #d1ecf1;
    color: #0c5460;
}

.action-btn {
    padding: 0.25rem 0.75rem;
    border: none;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-btn.view {
    background: #3498db;
    color: white;
}

.action-btn.view:hover {
    background: #2980b9;
}

.action-btn.edit {
    background: #f39c12;
    color: white;
}

.action-btn.edit:hover {
    background: #e67e22;
}

.action-btn.download {
    background: #27ae60;
    color: white;
}

.action-btn.download:hover {
    background: #229954;
}

.action-btn.delete {
    background: #e74c3c;
    color: white;
}

.action-btn.delete:hover {
    background: #c0392b;
}

/* Task Actions Button Layout - Fix for view pages */
.task-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.task-actions .btn-primary,
.task-actions .btn-secondary,
.task-actions .action-btn {
    flex: 1;
    max-width: 200px;
    min-width: 120px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Troubleshooting Table Action Buttons - Prevent wrapping */
.schedule-table td:last-child,
table td:last-child {
    white-space: nowrap;
    min-width: 220px;
}

.schedule-table td:last-child .action-btn,
table td:last-child .action-btn {
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0;
}

.schedule-table td:last-child .action-btn:last-child,
table td:last-child .action-btn:last-child {
    margin-right: 0;
}

/* Action Buttons Container - Horizontal Layout */
.schedule-table td:last-child {
    white-space: nowrap;
    min-width: 180px;
}

.schedule-table td:last-child .action-btn {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 0.35rem;
}

.schedule-table td:last-child .action-btn:last-child {
    margin-right: 0;
}

/* Card Button Styling */
.card-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-align: center;
}

.card-btn.blue {
    background: #2c3e50;
    color: white;
}

.card-btn.blue:hover {
    background: #34495e;
    transform: translateY(-1px);
}

.card-btn.red {
    background: #e74c3c;
    color: white;
}

.card-btn.red:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

/* View All Button Styling */
.view-all-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    background: #2c3e50;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-all-btn:hover {
    background: #34495e;
    transform: translateY(-1px);
}

/* Button Primary and Secondary */
.btn-primary {
    background: #3498db;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background: #e9ecef;
    color: #333;
    transform: translateY(-1px);
}

.progress-summary {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.progress-summary h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.summary-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.summary-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.summary-label {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.add-task-section {
    text-align: center;
    margin-top: 2rem;
}

.add-task-btn {
    padding: 1rem 2rem;
    border: 2px dashed #3498db;
    border-radius: 8px;
    background: none;
    color: #3498db;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-task-btn:hover {
    background: #3498db;
    color: white;
    border-style: solid;
}

/* Report Progress Page Styles */
.report-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.progress-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.upload-section h4 {
    font-size: 1.125rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.upload-area {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.upload-box {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.upload-box:hover,
.upload-box.drag-over {
    border-color: #3498db;
    background: #f8f9fa;
}

.upload-icon {
    margin-bottom: 1rem;
}

.upload-text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.upload-subtext {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.file-input {
    display: none;
}

.upload-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    background: #3498db;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    background: #2980b9;
}

.uploaded-files {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.uploaded-file-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    position: relative;
}


.file-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-icon {
    font-size: 1.5rem;
}

.file-info {
    flex: 1;
}

.file-name {
    font-size: 0.875rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.file-size {
    font-size: 0.75rem;
    color: #666;
}

.remove-file {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recent-reports {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.recent-reports h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.reports-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.report-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.report-info h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.report-info p {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.report-date {
    font-size: 0.75rem;
    color: #999;
}

.report-actions {
    display: flex;
    gap: 0.5rem;
}

/* Documentation Upload Page Styles */
.upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.upload-category h4 {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.documentation-gallery {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.documentation-gallery h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.gallery-image {
    height: 200px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-info {
    padding: 1rem;
}

.gallery-info h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.gallery-info p {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
}

.gallery-actions {
    display: flex;
    gap: 0.5rem;
}

/* Recently Completed Projects Styles */
.recently-completed {
    border: 2px solid #27ae60 !important;
    background: linear-gradient(135deg, #f8fff8 0%, #ffffff 100%) !important;
}

.project-status.completed {
    background: #e8f5e8;
    color: #2e7d32;
}

.recently-completed-section {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.recently-completed-section h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.recent-completed-projects {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f1f8f4;
    border-radius: 6px;
    border-left: 4px solid #27ae60;
}

.recent-project-info h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.recent-project-info p {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

.recent-project-actions {
    display: flex;
    gap: 0.5rem;
}

/* Completion Criteria Styles */
.completion-criteria {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.completion-criteria h2 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.criteria-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.criteria-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.criteria-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3498db;
}

.criteria-item label {
    font-size: 0.875rem;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    flex: 1;
}

.criteria-item:has(input:checked) {
    border-left-color: #27ae60;
    background: #f1f8f4;
}

.completion-action {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.complete-project-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    background: #95a5a6;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: not-allowed;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.complete-project-btn.ready {
    background: #27ae60;
    cursor: pointer;
}

.complete-project-btn.ready:hover {
    background: #229954;
    transform: translateY(-1px);
}

.completion-note {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

/* Completion Notice and Button Styles */
.completion-notice {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.completion-notice p {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-complete {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    background: #95a5a6;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: not-allowed;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-complete.ready {
    background: #27ae60;
    cursor: pointer;
}

.btn-complete.ready:hover {
    background: #229954;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .dashboard {
        padding: 1rem;
    }
    
    .cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    /* Schedule List Styles */
    .schedule-list {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .schedule-item {
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border-radius: 12px;
        padding: 1.25rem;
        border: none;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }
    
    .schedule-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, #3498db 0%, #2980b9 100%);
        border-radius: 12px 0 0 12px;
    }
    
    .schedule-item:nth-child(1)::before {
        background: linear-gradient(180deg, #3498db 0%, #2980b9 100%);
    }
    
    .schedule-item:nth-child(2)::before {
        background: linear-gradient(180deg, #e67e22 0%, #d35400 100%);
    }
    
    .schedule-item:nth-child(3)::before {
        background: linear-gradient(180deg, #27ae60 0%, #229954 100%);
    }
    
    .schedule-item:hover {
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        transform: translateY(-3px) scale(1.01);
    }
    
    .schedule-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 0.75rem;
    }
    
    .schedule-header h4 {
        margin: 0;
        font-size: 1.1rem;
        color: #2c3e50;
        font-weight: 700;
        letter-spacing: -0.2px;
    }
    
    .schedule-date {
        background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
        color: white;
        padding: 0.35rem 0.85rem;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
    }
    
    .schedule-item:nth-child(1) .schedule-date {
        background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
        box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
    }
    
    .schedule-item:nth-child(2) .schedule-date {
        background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
        box-shadow: 0 2px 4px rgba(230, 126, 34, 0.3);
    }
    
    .schedule-item:nth-child(3) .schedule-date {
        background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
        box-shadow: 0 2px 4px rgba(39, 174, 96, 0.3);
    }
    
    .schedule-description {
        margin: 0;
        color: #5d6d7e;
        line-height: 1.6;
        font-size: 0.9rem;
    }
    
    .schedule-status {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        font-size: 0.75rem;
        color: #7f8c8d;
        margin-top: 0.5rem;
    }
    
    .schedule-status::before {
        content: '●';
        color: #27ae60;
        font-size: 0.6rem;
    }
    
    /* All Projects Responsive */
    .projects-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .projects-header h1 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .project-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-card {
        padding: 1rem;
    }
    
    .project-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .logo p {
        font-size: 0.75rem;
    }
    
    .nav-links a {
        font-size: 0.875rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-item {
        min-width: 80px;
        padding: 0.75rem;
    }
    
    .stat-item .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-item .stat-label {
        font-size: 0.75rem;
    }
}
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .dashboard {
        padding: 1rem;
    }
    
    .cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .logo p {
        font-size: 0.75rem;
    }
    
    .nav-links a {
        font-size: 0.875rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Schedule List Styles - OVERRIDE */
.schedule-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

.schedule-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border-radius: 12px !important;
    padding: 1.25rem !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.schedule-item::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 4px !important;
    background: linear-gradient(180deg, #3498db 0%, #2980b9 100%) !important;
    border-radius: 12px 0 0 12px !important;
}

.schedule-item:nth-child(1)::before {
    background: linear-gradient(180deg, #3498db 0%, #2980b9 100%) !important;
}

.schedule-item:nth-child(2)::before {
    background: linear-gradient(180deg, #e67e22 0%, #d35400 100%) !important;
}

.schedule-item:nth-child(3)::before {
    background: linear-gradient(180deg, #27ae60 0%, #229954 100%) !important;
}

.schedule-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    transform: translateY(-3px) scale(1.01) !important;
}

.schedule-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 0.75rem !important;
}

.schedule-header h4 {
    margin: 0 !important;
    font-size: 1.1rem !important;
    color: #2c3e50 !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px !important;
}

.schedule-date {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
    color: white !important;
    padding: 0.35rem 0.85rem !important;
    border-radius: 20px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3) !important;
}

.schedule-item:nth-child(1) .schedule-date {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3) !important;
}

.schedule-item:nth-child(2) .schedule-date {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%) !important;
    box-shadow: 0 2px 4px rgba(230, 126, 34, 0.3) !important;
}

.schedule-item:nth-child(3) .schedule-date {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%) !important;
    box-shadow: 0 2px 4px rgba(39, 174, 96, 0.3) !important;
}

.schedule-description {
    margin: 0 !important;
    color: #5d6d7e !important;
    line-height: 1.6 !important;
    font-size: 0.9rem !important;
}

.schedule-status {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    font-size: 0.75rem !important;
    color: #7f8c8d !important;
    margin-top: 0.5rem !important;
}

.schedule-status::before {
    content: '●' !important;
    color: #27ae60 !important;
    font-size: 0.6rem !important;
}

/* Task View Page Styles */
.task-view {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.view-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
}

.task-title-section h1 {
    font-size: 1.75rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.task-id {
    color: #666;
    font-size: 0.875rem;
}

.view-content {
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
}

.info-card h3 {
    font-size: 1.125rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.info-label {
    color: #666;
    font-weight: 500;
}

.info-value {
    color: #2c3e50;
    font-weight: 600;
    text-align: right;
}

.description-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.description-card h3 {
    font-size: 1.125rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.description-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.description-card ul {
    margin-left: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.notes-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.notes-card h3 {
    font-size: 1.125rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.note-item {
    background: white;
    border-radius: 6px;
    padding: 1rem;
    border-left: 4px solid #3498db;
}

.note-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.note-author {
    font-weight: 600;
    color: #2c3e50;
}

.note-date {
    font-size: 0.875rem;
    color: #999;
}

.note-content {
    color: #666;
    line-height: 1.5;
    margin: 0;
}


.view-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1.5rem;
    border-top: 2px solid #e9ecef;
}
.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-actions {
    margin-top: auto; /* 🔥 INI KUNCINYA */
    display: flex;
    gap: 10px;
}

.project-actions a {
    flex: 1;
    text-align: center;
}

/* UPLOAD AREA */
.upload-area {
    border: 2px dashed #d0d7de;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background: #f9fafb;
    transition: 0.3s;
    position: relative;
}

.upload-area:hover {
    border-color: #3b82f6;
    background: #f1f7ff;
}

.upload-area.dragging {
    border-color: #2563eb;
    background: #eaf3ff;
}

/* CONTENT */
.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* ICON */
.upload-icon {
    font-size: 40px;
}

/* TEXT */
.upload-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.upload-text p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* BUTTON */
.upload-btn {
    margin-top: 10px;
    padding: 8px 16px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.upload-btn:hover {
    background: #2563eb;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.form-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.edit-form {
    margin-top: 20px;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #666;
}

.programming-table {
            width: 100%;
            border-collapse: collapse;
        }
        .programming-table th,
        .programming-table td {
            padding: 12px;
            border-bottom: 1px solid #eee;
            text-align: left;
        }
        .action-btn {
            padding: 6px 10px;
            margin-right: 5px;
            border: none;
            cursor: pointer;
            border-radius: 4px;
        }
        .action-btn.view { background: #3498db; color: #fff; }
        .action-btn.edit { background: #f1c40f; color: #fff; }
        .action-btn.delete { background: #e74c3c; color: #fff; }
        .status-badge {
            padding: 4px 8px;
            border-radius: 4px;
            color: #fff;
            font-size: 12px;
        }
        .status-badge.completed { background: #27ae60; }
        .status-badge.in_progress { background: #f39c12; }
        .status-badge.pending { background: #7f8c8d; }
        .summary-grid {
            display: flex;
            gap: 20px;
            margin-top: 20px;
        }
        .summary-item {
            background: #fff;
            padding: 20px;
            border-radius: 6px;
            text-align: center;
            flex: 1;
        }
        .add-task-section {
            margin-top: 20px;
        }
        .add-task-btn {
            padding: 10px 20px;
            background: #2ecc71;
            border: none;
            color: #fff;
            cursor: pointer;
            border-radius: 6px;
        }

        /* Enhanced Task Detail Styles */
        .task-detail-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }
        
        .task-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding: 2rem;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 16px;
            color: white;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .task-title h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .task-id {
            font-size: 1.2rem;
            opacity: 0.9;
            background: rgba(255,255,255,0.2);
            padding: 0.5rem 1rem;
            border-radius: 8px;
            display: inline-block;
        }
        
        .task-content {
            display: grid;
            gap: 2rem;
        }
        
        .task-info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }
        
        .form-section {
        margin-top: 2rem;
        padding: 1.5rem;
        background: white;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        }

        .form-section h3 {
            font-size: 1.25rem;
            font-weight: 600;
            color: #374151;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .form-section h3::before {
            content: '📎';
            font-size: 1.5rem;
        }

        .form-section h4 {
            font-size: 1rem;
            font-weight: 600;
            color: #4b5563;
            margin-bottom: 1rem;
        }

        .info-card {
            background: white;
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            border: 1px solid #e5e7eb;
            transition: all 0.3s ease;
        }
        
        .info-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.12);
        }
        
        .info-card.full-width {
            grid-column: 1 / -1;
        }
        
        .info-card h3 {
            font-size: 1.5rem;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .info-card h3::before {
            content: '';
            width: 4px;
            height: 24px;
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            border-radius: 2px;
        }
        
        .info-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .info-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
            background: #f8fafc;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
        }
        
        .info-label {
            font-weight: 600;
            color: #374151;
            font-size: 0.95rem;
        }
        
        .info-value {
            font-weight: 500;
            color: #1f2937;
        }
        
        .task-description {
            background: #f8fafc;
            padding: 1.5rem;
            border-radius: 12px;
            border-left: 4px solid #3b82f6;
        }
        
        .task-description p {
            line-height: 1.8;
            color: #374151;
            margin: 0;
        }
        
        .diagnostic-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }
        
        .diag-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
            background: #f8fafc;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
        }
        
        .diag-label {
            font-weight: 600;
            color: #374151;
        }
        
        .diag-value {
            font-weight: 500;
            color: #1f2937;
        }
        
        .resolution-timeline {
            position: relative;
            padding-left: 2rem;
        }
        
        .resolution-timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 2px;
            background: #e5e7eb;
        }
        
        .resolution-step {
            position: relative;
            margin-bottom: 2rem;
            padding: 1.5rem;
            background: #f8fafc;
            border-radius: 12px;
            border: 1px solid #e2e8f0;
        }
        
        .resolution-step::before {
            content: '';
            position: absolute;
            left: -2rem;
            top: 1.5rem;
            width: 12px;
            height: 12px;
            background: #3b82f6;
            border-radius: 50%;
            border: 2px solid white;
        }
        
        .resolution-step.completed::before {
            background: #10b981;
        }
        
        .step-number {
            position: absolute;
            left: -2.5rem;
            top: 1.25rem;
            width: 24px;
            height: 24px;
            background: #3b82f6;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 0.8rem;
            border: 2px solid white;
        }
        
        .resolution-step.completed .step-number {
            background: #10b981;
        }
        
        .step-content h4 {
            font-size: 1.1rem;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 0.5rem;
        }
        
        .step-content p {
            color: #374151;
            line-height: 1.6;
            margin-bottom: 0.5rem;
        }
        
        .step-time {
            font-size: 0.85rem;
            color: #6b7280;
        }
        
        .attachment-list {
            display: grid;
            gap: 1rem;
        }
        
        .attachment-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1.5rem;
            background: #f8fafc;
            border-radius: 12px;
            border: 1px solid #e2e8f0;
            transition: all 0.3s ease;
        }
        
        .attachment-item:hover {
            background: #f1f5f9;
            border-color: #cbd5e1;
            transform: translateY(-1px);
        }
        
        .attachment-icon {
            font-size: 2rem;
            flex-shrink: 0;
        }
        
        .attachment-info {
            flex: 1;
        }
        
        .attachment-info h4 {
            font-size: 1.1rem;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 0.25rem;
        }
        
        .attachment-info p {
            font-size: 0.9rem;
            color: #6b7280;
            margin: 0;
        }
        
        .notes-section {
            display: grid;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .note-item {
            padding: 1.5rem;
            background: #f8fafc;
            border-radius: 12px;
            border: 1px solid #e2e8f0;
        }
        
        .note-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .note-author {
            font-weight: 600;
            color: #1f2937;
        }
        
        .note-date {
            font-size: 0.85rem;
            color: #6b7280;
        }
        
        .note-content {
            color: #374151;
            line-height: 1.6;
            margin: 0;
        }
        
        .add-note {
            padding: 1.5rem;
            background: #f8fafc;
            border-radius: 12px;
            border: 2px dashed #d1d5db;
        }
        
        .add-note textarea {
            width: 100%;
            padding: 1rem;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            font-family: inherit;
            font-size: 0.95rem;
            resize: vertical;
            margin-bottom: 1rem;
        }
        
        .add-note textarea:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }
        

        
        .btn-primary, .btn-secondary {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 8px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .btn-primary {
            background: #3b82f6;
            color: white;
        }
        
        .btn-primary:hover {
            background: #2563eb;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }
        
        .btn-secondary {
            background: #6b7280;
            color: white;
        }
        
        .btn-secondary:hover {
            background: #4b5563;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .task-detail-section {
                padding: 1rem;
            }
            
            .task-header {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }
            
            .task-title h1 {
                font-size: 2rem;
            }
            
            .task-info-grid {
                grid-template-columns: 1fr;
            }
            
            .diagnostic-grid {
                grid-template-columns: 1fr;
            }
            
            .task-actions {
                flex-direction: column;
            }
        }