/* Estilos personalizados para el Centro de Reportes */

/* Fondo para el dashboard de reportes */
.bg-custom-dark {
  background-color: #1b1c20;
}

/* Título grande y elegante - Mejorado */
.report-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.report-title.text-xl {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card de reporte - Diseño negro minimalista */
.report-card {
  border-radius: 1.5rem;
  background: #000;
  border: 1px solid #333;
  position: relative;
  overflow: hidden;
}

.report-card::before {
  display: none;
}

/* .report-card:hover {
  border-color: #555;
} */

/* Botón principal - Diseño negro minimalista */
.btn-main {
  background: #000;
  color: #fff;
  font-weight: 600;
  border-radius: 0.75rem;
  border: 2px solid #333;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-main::before {
  display: none;
}

.btn-main:hover {
  background: #000;
  border-color: #333;
}

.btn-main:active {
  background: #000;
}

/* Mensaje de éxito - Negro minimalista */
.success-message {
  color: #10b981;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  background: #000;
  border: 1px solid #333;
  border-radius: 0.75rem;
}

/* Input y select - Mejorado para UX senior */
.input-main, .select-main, .textarea-main {
  background: #000 !important;
  color: #fff !important;
  border-radius: 0.75rem !important;
  padding: 1rem !important;
  border: 1px solid #333 !important;
  outline: none !important;
  width: 100% !important;
  margin-bottom: 1rem !important;

  font-size: 0.95rem !important;
  font-weight: 400 !important;
  resize: none !important;
}

.input-main:focus, .select-main:focus, .textarea-main:focus {
  border-color: #555 !important;
  box-shadow: none !important;
  background: #000 !important;
}

.input-main::placeholder, .textarea-main::placeholder {
  color: #777 !important;
  font-weight: 400 !important;
}

/* Label elegante - Mejorado */
.label-main {
  color: #e2e8f0;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

/* Imagen de evidencia en reportes - Mejorada */
.report-evidence {
  border-radius: 0.75rem;
  border: 1px solid rgba(75, 85, 99, 0.3);
  max-height: 150px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* .report-evidence:hover {
  border-color: #555;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.3);
} */

/* Estilos mejorados para la lista de reportes */
.reports-list-container {
  background: linear-gradient(135deg, #1a1d23 0%, #0f1419 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(75, 85, 99, 0.2);
  margin-top: 2rem;
}

.reports-list-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(75, 85, 99, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;

  position: relative;
  overflow: hidden;
}

.reports-list-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.03);
  opacity: 0;
}

/* .reports-list-item:hover {
  border-color: #555;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
} */

/* .reports-list-item:hover::before {
  opacity: 0;
} */

/* Eliminar outlines y borders no deseados */
* {
  outline: none !important;
}

*:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Override de estilos del navegador */
input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none !important;
}

/* Responsive para cards y formularios */
@media (max-width: 640px) {
  .report-title {
    font-size: 2rem;
  }
  .report-card {
    padding: 1rem;
  }
}

/* Sistema de Actas Administrativas - Estilos Base */

.reports-system-container {
  min-height: 100vh;
  background: #000;
  color: #fff;
  padding: 3rem 2rem;
  font-family: 'Inter', Arial, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
}

.reports-header {
  text-align: center;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.reports-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.reports-icon {
  color: #3A6BDA;
  font-size: 2.2rem;
}

.reports-subtitle {
  font-size: 1.2rem;
  color: #bbb;
  margin: 0;
  font-weight: 400;
}

.reports-content {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.empty-state {
  text-align: center;
  background: #111;
  border-radius: 20px;
  padding: 4rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.05);
  max-width: 500px;
  width: 100%;
}

.empty-icon {
  margin-bottom: 2rem;
}

.empty-icon i {
  font-size: 4rem;
  color: #3A6BDA;
  opacity: 0.7;
}

.empty-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem 0;
}

.empty-description {
  font-size: 1.1rem;
  color: #bbb;
  margin: 0;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .reports-system-container {
    padding: 2rem 1rem;
  }
  
  .reports-title {
    font-size: 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .empty-state {
    padding: 3rem 1.5rem;
  }
  
  .empty-icon i {
    font-size: 3rem;
  }
  
  .empty-title {
    font-size: 1.5rem;
  }
}

.reports-main-icon {
  font-size: 2.25rem;
  color: #3A6BDA;
  filter: drop-shadow(0 0 10px rgba(58, 107, 218, 0.3));
}

.reports-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 500;
}

.reports-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.period-selector-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.period-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.period-selector {
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  min-width: 150px;
}

/* .period-selector:hover {
  background: #222;
  border-color: #555;
} */

.period-selector:focus {
  outline: none;
  border-color: #3A6BDA;
  box-shadow: 0 0 0 3px rgba(58, 107, 218, 0.2);
}

.quick-export-container {
  display: flex;
  gap: 0.5rem;
}

.quick-export-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #111;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.quick-export-btn:hover {
  background: #222;
}

/* ============ RESUMEN EJECUTIVO ============ */

.executive-summary {
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  color: #fff;
  display: flex;
  align-items: center;
  letter-spacing: 1px;
  line-height: 1.4;
  white-space: normal;
  word-wrap: break-word;
  overflow: visible;
  text-overflow: unset;
  gap: 0.75rem;
}

.summary-title::before {
  content: '';
  width: 4px;
  height: 28px;
  background: #fff;
  border-radius: 2px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.summary-metric-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem;
  background: #000;
  border-radius: 16px;
  border: 1px solid #333;
  backdrop-filter: blur(10px);
}

/* .summary-metric-card:hover {
  border-color: #555;
} */

.metric-icon-container {
  width: 56px;
  height: 56px;
  background: rgba(58, 107, 218, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-icon {
  font-size: 1.5rem;
  color: #3A6BDA;
}

.metric-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.metric-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.metric-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.metric-trend {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.metric-trend.positive {
  color: #51B97A;
}

.metric-trend.negative {
  color: #DE4C4A;
}

/* ============ GRID DE REPORTES ============ */

.reports-types-section {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 2rem 0;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: 1px;
  line-height: 1.4;
  white-space: normal;
  word-wrap: break-word;
  overflow: visible;
  text-overflow: unset;
}

.section-title::before {
  content: '';
  width: 4px;
  height: 28px;
  background: #fff;
  border-radius: 2px;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.report-card {
  background: #000;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  border: 2px solid #333;
  box-shadow: 0 4px 32px rgba(0,0,0,0.26);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.report-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  opacity: 0;
}

/* .report-card:hover {
  border: 2px solid #555;
} */

/* Comentado el hover::before que causaba la línea blanca */
/* .report-card:hover::before {
  opacity: 1;
} */

.report-card.selected {
  border-color: var(--card-color, #fff);
  box-shadow: 0 8px 25px rgba(58, 107, 218, 0.2);
}

.report-card.selected::before {
  opacity: 1;
}

.report-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.report-icon-container {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.report-icon {
  font-size: 1.75rem;
}

.report-title-container {
  flex: 1;
  min-width: 0;
}

.report-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1.4;
  white-space: normal;
  word-wrap: break-word;
  overflow: visible;
  text-overflow: unset;
}

.report-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.5;
}

.report-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.report-metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-item-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-item-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.report-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.report-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
}

.report-action-btn.primary {
  background: #111;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.report-action-btn.primary:hover:not(:disabled) {
  background: #222;
}

.report-action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.export-options {
  display: flex;
  gap: 0.5rem;
}

.export-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.export-btn.pdf {
  background: rgba(222, 76, 74, 0.15);
  color: #DE4C4A;
  border: 1px solid rgba(222, 76, 74, 0.2);
}

.export-btn.excel {
  background: rgba(81, 185, 122, 0.15);
  color: #51B97A;
  border: 1px solid rgba(81, 185, 122, 0.2);
}

.export-btn:hover {
  opacity: 0.8;
}

/* ============ SECCIÓN DE ACTIVIDAD ============ */

.reports-activity-section {
  margin-bottom: 2rem;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.activity-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  color: #fff;
}

.activity-title i {
  color: #F7C04A;
  font-size: 1.125rem;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* .activity-item:hover {
  background: #111;
  border-color: #555;
} */

.activity-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.activity-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

.activity-date {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.activity-action {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-action:hover {
  background: #333;
  color: #fff;
}

/* ============ SIN ANIMACIONES - DISEÑO MINIMALISTA ============ */

/* Todas las animaciones han sido eliminadas para un diseño más limpio */

/* ============ RESPONSIVE DESIGN ============ */

@media (max-width: 1200px) {
  .reports-header-content {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  
  .reports-controls {
    align-items: flex-start;
    align-self: stretch;
  }
  
  .reports-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .reports-dashboard {
    padding: 1.5rem 0.75rem;
  }
  
  .reports-header {
    padding: 1.5rem;
    border-radius: 16px;
  }
  
  .reports-main-title {
    font-size: 1.2rem;
    line-height: 1.4;
    word-wrap: break-word;
    white-space: normal;
  }
  
  .reports-main-icon {
    font-size: 1.75rem;
  }
  
  .summary-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .summary-metric-card {
    padding: 1.25rem;
  }
  
  .metric-icon-container {
    width: 48px;
    height: 48px;
  }
  
  .metric-icon {
    font-size: 1.25rem;
  }
  
  .metric-value {
    font-size: 1.5rem;
  }
  
  .reports-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .report-card {
    padding: 1.5rem;
  }
  
  .report-metrics {
    grid-template-columns: 1fr;
  }
  
  .report-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .export-options {
    justify-content: center;
    align-self: stretch;
  }
  
  .activity-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .reports-main-title {
    font-size: 1.75rem;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  
  .period-selector-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .period-selector {
    min-width: auto;
    align-self: stretch;
  }
  
  .report-card-header {
    flex-direction: column;
    text-align: center;
  }
  
  .report-icon-container {
    align-self: center;
  }
  
  .activity-item {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ============ ESTILOS ESPECÍFICOS PARA FORZAR NEGRO ============ */
input.input-main {
  background-color: #000 !important;
  background: #000 !important;
  color: #ffffff !important;
  border: 1px solid #333 !important;
  border-color: #333 !important;
}

input.input-main:focus {
  background-color: #000 !important;
  background: #000 !important;
  border-color: #555 !important;
  box-shadow: none !important;
}

input.input-main::placeholder {
  color: #999 !important;
}

/* ============ BARRA DE BÚSQUEDA COMPLETAMENTE NEGRA ============ */
.search-bar-black {
  background-color: #000000 !important;
  background: #000000 !important;
  color: #ffffff !important;
  border: 2px solid #333333 !important;
  border-radius: 12px !important;
  padding: 12px 48px 12px 48px !important;
  width: 100% !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  outline: none !important;
  box-shadow: none !important;
}

.search-bar-black:focus {
  background-color: #000000 !important;
  background: #000000 !important;
  color: #ffffff !important;
  border: 2px solid #555555 !important;
  box-shadow: none !important;
  outline: none !important;
}

.search-bar-black::placeholder {
  color: #888888 !important;
  font-weight: 400 !important;
}

/* ============ ELIMINAR TODOS LOS EFECTOS DE HOVER ============ */
* {
  transform: none !important;
}

*:hover {
  transform: none !important;
  transition: none !important;
}

.report-card, .report-card:hover {
  transform: none !important;
  border: 2px solid #333 !important;
}

.btn-main:hover {
  background: #000 !important;
  border-color: #333 !important;
  transform: none !important;
}

.report-action-btn.primary:hover:not(:disabled) {
  background: #000 !important;
  transform: none !important;
}

.quick-export-btn:hover {
  background: #000 !important;
  transform: none !important;
}

.export-btn:hover {
  opacity: 1 !important;
  transform: none !important;
}

.activity-action:hover {
  background: #000 !important;
  transform: none !important;
}
