/* Modern Document Status Component */
.modern-document-status {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #ebedf3;
    margin-top: 15px;
}

/* Document Status Header */
.doc-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.status-info {
    display: flex;
    align-items: center;
}

.status-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 18px;
}

.status-icon.complete {
    background: linear-gradient(135deg, #26C281, #1ABB6C);
    color: white;
}

.status-icon.partial {
    background: linear-gradient(135deg, #f29a12, #ff9800);
    color: white;
}

.status-icon.incomplete {
    background: linear-gradient(135deg, #e7505a, #dc3545);
    color: white;
}

.status-details {
    flex: 1;
}

.status-title {
    font-weight: 600;
    color: #333;
    font-size: 16px;
    margin-bottom: 2px;
}

.status-subtitle {
    color: #666;
    font-size: 13px;
}

.completion-badge {
    text-align: right;
}

.completion-percentage {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    display: block;
}

.completion-ratio {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Progress Bar */
.doc-progress-container {
    margin-bottom: 20px;
}

.doc-progress-bar {
    height: 8px;
    background: #f1f3f4;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

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

.doc-progress-fill.complete {
    background: linear-gradient(90deg, #26C281, #1ABB6C);
}

.doc-progress-fill.partial {
    background: linear-gradient(90deg, #f29a12, #ff9800);
}

.doc-progress-fill.incomplete {
    background: linear-gradient(90deg, #e7505a, #dc3545);
}

.progress-label {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
}

.progress-label i {
    margin-right: 5px;
}

/* Document Checklist */
.doc-checklist-modern {
    margin-bottom: 15px;
}

.doc-item-modern {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
}

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

.doc-item-modern:hover {
    background: #f8f9fa;
    margin: 0 -10px;
    padding: 12px 10px;
    border-radius: 4px;
}

.doc-check-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 16px;
}

.doc-item-modern.completed .doc-check-icon {
    color: #26C281;
}

.doc-item-modern.pending .doc-check-icon {
    color: #bdc3c7;
}

.doc-item-content {
    flex: 1;
}

.doc-label-modern {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 2px;
}

.doc-status-modern {
    font-size: 12px;
}

.status-complete {
    color: #26C281;
    font-weight: 600;
}

.status-pending {
    color: #f29a12;
    font-weight: 600;
}

.status-complete i,
.status-pending i {
    margin-right: 4px;
    font-size: 11px;
}

/* Quick Actions */
.doc-actions {
    padding-top: 15px;
    border-top: 1px solid #f5f5f5;
}

.action-note {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #fff3e0;
    border-left: 3px solid #f29a12;
    border-radius: 4px;
    font-size: 13px;
    color: #e65100;
}

.action-note i {
    margin-right: 8px;
    color: #f29a12;
}

/* Responsive Design */
@media (max-width: 767px) {
    .doc-status-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .completion-badge {
        text-align: left;
        margin-top: 10px;
    }

    .doc-item-modern {
        padding: 10px 0;
    }

    .doc-label-modern {
        font-size: 13px;
    }
}

/* Animation for completion */
@keyframes progressFill {
    from {
        width: 0%;
    }
}

.doc-progress-fill {
    animation: progressFill 1s ease-out;
}

/* Pulse animation for incomplete status */
.status-icon.incomplete {
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(231, 80, 90, 0.3);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(231, 80, 90, 0);
    }
}