/* Fecha: 2026-03-24 */
/* Ruta: /opt/fichajes/public/css/backups.css */
/* Estilos del módulo de backups */

.backups-module { padding: 0; }
.backups-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.backups-header h3 { margin: 0; font-size: 1.3rem; color: #1a1a2e; }
.backups-header h3 i { margin-right: 0.5rem; color: #4361ee; }

.card { border: 1px solid #e0e0e0; border-radius: 8px; background: #fff; overflow: hidden; }
.card-header { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; background: #f8f9fa; border-bottom: 1px solid #e0e0e0; font-weight: 600; font-size: 0.95rem; color: #333; }
.card-header i { margin-right: 0.4rem; color: #4361ee; }
.card-body { padding: 1rem; overflow-x: auto; }

.backups-module .table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.backups-module .table th { background: #f0f2f5; padding: 0.5rem 0.75rem; text-align: left; font-weight: 600; color: #555; border-bottom: 2px solid #ddd; }
.backups-module .table td { padding: 0.5rem 0.75rem; border-bottom: 1px solid #eee; vertical-align: middle; }
.backups-module .table tr:hover td { background: #f8f9ff; }
.backups-module .table-sm td, .backups-module .table-sm th { padding: 0.35rem 0.5rem; font-size: 0.82rem; }

.badge { display: inline-block; padding: 0.2rem 0.5rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }
.badge-success { background: #d4edda; color: #155724; }
.badge-danger { background: #f8d7da; color: #721c24; }
.badge-info { background: #d1ecf1; color: #0c5460; }
.badge-secondary { background: #e2e3e5; color: #383d41; }

.backups-module .btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 1rem; border: none; border-radius: 6px; font-size: 0.88rem; cursor: pointer; transition: all 0.2s; text-decoration: none; color: inherit; }
.backups-module .btn-primary { background: #4361ee; color: #fff; }
.backups-module .btn-primary:hover { background: #3651d4; }
.backups-module .btn-primary:disabled { background: #9ab; cursor: not-allowed; }
.backups-module .btn-success { background: #28a745; color: #fff; }
.backups-module .btn-sm { padding: 0.25rem 0.5rem; font-size: 0.78rem; }
.backups-module .btn-outline { background: transparent; border: 1px solid #ccc; color: #555; }
.backups-module .btn-outline:hover { background: #f0f0f0; }
.backups-module .btn-danger-outline { background: transparent; border: 1px solid #dc3545; color: #dc3545; }
.backups-module .btn-danger-outline:hover { background: #f8d7da; }

.cron-form .form-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; margin-bottom: 1rem; }
.cron-form .form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.cron-form label { font-size: 0.82rem; font-weight: 600; color: #555; }
.cron-form select, .cron-form input[type="time"], .cron-form input[type="number"], .cron-form input[type="text"] { padding: 0.4rem 0.6rem; border: 1px solid #ccc; border-radius: 6px; font-size: 0.88rem; }
.switch-label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-weight: 500; }

.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; z-index: 1000; }
.modal-content { background: #fff; border-radius: 12px; width: 90%; max-width: 520px; max-height: 85vh; overflow-y: auto; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid #eee; }
.modal-header h4 { margin: 0; font-size: 1.1rem; }
.btn-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #888; }
.modal-body { padding: 1.25rem; }
.modal-body .form-group { margin-bottom: 1rem; }
.modal-body .form-group label { display: block; margin-bottom: 0.3rem; font-size: 0.85rem; font-weight: 600; color: #444; }
.modal-body input[type="text"], .modal-body input[type="password"], .modal-body input[type="number"], .modal-body select { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid #ccc; border-radius: 6px; font-size: 0.9rem; box-sizing: border-box; }
.form-actions { display: flex; gap: 0.75rem; justify-content: flex-end; padding-top: 1rem; border-top: 1px solid #eee; margin-top: 0.5rem; }
.text-muted { color: #888; font-size: 0.9rem; }
code { background: #f4f4f4; padding: 0.15rem 0.4rem; border-radius: 3px; font-size: 0.82rem; }
.mb-3 { margin-bottom: 1rem; }
