#operativa-view {
    padding: 20px;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.op-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.op-date-picker-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.op-date-picker-container input[type="date"] {
    background: var(--bg-input);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    color-scheme: dark;
}

.op-status-badge {
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.op-status-completa { background: rgba(34, 197, 94, 0.1); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.op-status-parcial { background: rgba(234, 179, 8, 0.1); color: #facc15; border: 1px solid rgba(234, 179, 8, 0.3); }
.op-status-sininfo { background: rgba(156, 163, 175, 0.1); color: #9ca3af; border: 1px solid rgba(156, 163, 175, 0.3); }

.op-stats {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    padding: 15px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}
.op-stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.op-progress-bar {
    height: 8px;
    background: var(--bg-input);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.op-progress-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.3s ease;
}

.op-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.op-filter-btn {
    background: var(--bg-input);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.op-filter-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.op-section {
    margin-bottom: 30px;
}
.op-section-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.op-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 15px;
}

.op-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
    transition: all 0.2s ease;
}
.op-card.realizado {
    opacity: 0.6;
    background: rgba(255,255,255,0.02);
}

.op-checkbox {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.op-checkbox:hover {
    border-color: var(--accent);
}
.op-card.realizado .op-checkbox {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.op-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}

.op-card-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.op-card-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.op-card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
    margin-top: 5px;
}
.op-card-meta i {
    color: var(--accent);
}

.op-modal-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.op-dropzone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    background: var(--bg-input);
    transition: all 0.2s ease;
}
.op-dropzone:hover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.05);
}
.op-file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.op-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}


@media (max-width: 768px) {
    #operativa-view {
        padding: 10px;
    }
    .op-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 15px;
    }
    .op-header > div {
        justify-content: space-between;
    }
    .op-date-picker-container {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 10px;
    }
    #op-status-indicator {
        width: 100%;
        justify-content: center;
    }
    #op-upload-btn {
        width: 100%;
        padding: 12px;
    }
    .op-stats {
        flex-direction: column;
        gap: 15px;
    }
    .op-filters {
        flex-direction: column;
        width: 100%;
    }
    .op-filter-btn {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }
    .op-list {
        grid-template-columns: 1fr;
    }
}



