/* Eliminar Series - Diseño Minimalista */

.series-container {
    max-width: 800px;
    margin: 0 auto;
    color: #374151;
    line-height: 1.6;
}

/* Mensaje para usuarios no logueados */
.series-message {
    padding: 16px 20px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #64748b;
    text-align: center;
    margin: 20px 0;
}

/* Sección de acciones superiores */
.series-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 16px 0;
}

.user-info {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* Botones principales */
.btn {
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    background: white;
}

.btn-clean {
    color: #1e40af;
    border-color: #1e40af;
}

.btn-clean:hover {
    background-color: #1e40af;
    color: white;
}

.btn-back {
    color: #64748b;
    border-color: #cbd5e1;
}

.btn-back:hover {
    background-color: #f1f5f9;
    border-color: #94a3b8;
}

/* Tabla principal */
.series-table {
    width: 100%;
    border-collapse: collapse;
    background: #e5e7eb;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.series-table thead {
    background-color: #f8fafc;
}

.series-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.series-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

.series-table tbody tr:last-child td {
    border-bottom: none;
}

.series-table tbody tr:hover {
    background-color: #fafbfc;
}

/* Columnas específicas */
.serie-id {
    color: #64748b;
    font-weight: 500;
    width: 80px;
}

.serie-nombre {
    font-weight: 500;
    color: #1f2937;
}

/* Estados de series */
.status-active {
    display: inline-block;
    padding: 4px 12px;
    background-color: #dbeafe;
    color: #1e40af;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.status-deleted {
    display: inline-block;
    padding: 4px 12px;
    background-color: #fef2f2;
    color: #dc2626;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* Botones de acción */
.btn-delete {
    color: #dc2626;
    border-color: #dc2626;
    background: white;
}

.btn-delete:hover {
    background-color: #dc2626;
    color: white;
    border-color: #dc2626;
}

.btn-remove {
    color: #64748b;
    border-color: #cbd5e1;
    background: white;
}

.btn-remove:hover {
    background-color: #f1f5f9;
    border-color: #94a3b8;
}

/* Notificación de series huérfanas */
.series-notice {
    margin-top: 16px;
    padding: 12px 16px;
    background-color: #fef3cd;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    color: #92400e;
    font-size: 14px;
}

.series-notice .link-danger {
    color: #dc2626;
    text-decoration: none;
    font-weight: 500;
}

.series-notice .link-danger:hover {
    text-decoration: underline;
}

/* Mensaje de confirmación */
.series-success {
    padding: 16px 20px;
    background-color: #dcfce7;
    border: 1px solid #16a34a;
    border-radius: 6px;
    color: #166534;
    margin: 20px 0;
}

.series-success p {
    margin: 8px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .series-container {
        margin: 0 16px;
    }
    
    .series-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .series-table {
        font-size: 13px;
    }
    
    .series-table th,
    .series-table td {
        padding: 10px 12px;
    }
    
    .user-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .series-table th:first-child,
    .series-table td:first-child {
        display: none;
    }
    
    .serie-nombre {
        font-size: 13px;
    }
    
    .btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}