/* Estilos específicos para la página de citas */
.dashboard-header {
  margin-bottom: 2rem;
}

.dashboard-header h1 {
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 2rem;
}

.dashboard-header p {
  color: #666;
  margin-bottom: 1.5rem;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.btn i {
  margin-right: 8px;
}

.btn-primary {
  background-color: #4caf50;
  color: white;
}

.btn-primary:hover {
  background-color: #3e8e41;
}

.btn-outline {
  background-color: transparent;
  color: #4caf50;
  border: 1px solid #4caf50;
}

.btn-outline:hover {
  background-color: rgba(76, 175, 80, 0.1);
}

.btn-sm {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 2rem;
}

.stat-card {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  font-size: 1.5rem;
  color: #4caf50;
  margin-bottom: 1rem;
}

.stat-info h3 {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.stat-link {
  margin-top: auto;
  color: #4caf50;
  text-decoration: none;
  font-size: 0.875rem;
  display: inline-block;
  margin-top: 1rem;
}

.stat-link:hover {
  text-decoration: underline;
}

.quick-actions {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.quick-actions h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #333;
}

.action-buttons-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.action-button {
  display: flex;
  align-items: center;
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
}

.action-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.action-button i {
  font-size: 1.25rem;
  color: #4caf50;
  margin-right: 10px;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background-color: #f0f0f0;
  border-radius: 20px;
  text-decoration: none;
  color: #666;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background-color: #e0e0e0;
}

.filter-btn.active {
  background-color: #4caf50;
  color: white;
}

.filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.search-container {
  position: relative;
  width: 300px;
}

.search-container input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.875rem;
}

.search-container i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.table-responsive {
  overflow-x: auto;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.data-table th {
  background-color: #f9f9f9;
  font-weight: 600;
  color: #333;
}

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

.data-table tr:hover {
  background-color: #f9f9f9;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-pendiente {
  background-color: #fff3cd;
  color: #856404;
}

.status-completada {
  background-color: #d4edda;
  color: #155724;
}

.status-cancelada {
  background-color: #f8d7da;
  color: #721c24;
}

.contact-info {
  display: flex;
  gap: 10px;
}

.contact-info a {
  color: #666;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: #4caf50;
}

.action-buttons {
  display: flex;
  gap: 5px;
}

.btn-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background-color: #f0f0f0;
  color: #666;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  background-color: #e0e0e0;
  color: #333;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  z-index: 10;
  display: none;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: #f9f9f9;
}

.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  background-color: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pagination-info {
  color: #666;
  font-size: 0.875rem;
}

.pagination {
  display: flex;
  align-items: center;
}

.pagination-btn {
  padding: 0.5rem 1rem;
  background-color: #f0f0f0;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.pagination-btn i {
  margin-right: 5px;
}

.pagination-btn:last-child i {
  margin-right: 0;
  margin-left: 5px;
}

.pagination-btn:hover {
  background-color: #e0e0e0;
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-pages {
  display: flex;
  margin: 0 10px;
}

.pagination-page {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background-color: #f0f0f0;
  color: #333;
  text-decoration: none;
  margin: 0 2px;
  transition: all 0.2s ease;
}

.pagination-page:hover {
  background-color: #e0e0e0;
}

.pagination-page.active {
  background-color: #4caf50;
  color: white;
}

.pagination-options {
  display: flex;
  align-items: center;
}

.pagination-options label {
  margin-right: 10px;
  color: #666;
  font-size: 0.875rem;
}

.form-control-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background-color: white;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-header {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #333;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
}

.modal-body {
  padding: 1rem;
}

.modal-footer {
  padding: 1rem;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  resize: vertical;
}

.btn-secondary {
  background-color: #f0f0f0;
  color: #333;
}

.btn-secondary:hover {
  background-color: #e0e0e0;
}

.btn-danger {
  background-color: #dc3545;
  color: white;
}

.btn-danger:hover {
  background-color: #c82333;
}

.alert {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  position: relative;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

.alert-warning {
  background-color: #fff3cd;
  color: #856404;
}

.close-alert {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
}

.close-alert:hover {
  opacity: 1;
}

.advanced-filters {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 600px;
  z-index: 1000;
  display: none;
}

.advanced-filters.show {
  display: block;
}

.filter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
}

.filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 1rem;
}

.text-center {
  text-align: center;
}

.sidebar-section {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

.sidebar-title {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #333;
}

.sidebar-bulk-select {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.sidebar-bulk-select label {
  margin-left: 0.5rem;
  color: #333;
}

.selection-count {
  margin-left: auto;
  background-color: #4caf50;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.selection-count.visible {
  opacity: 1;
}

.sidebar-bulk-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  background-color: #f0f0f0;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #333;
  text-align: left;
}

.sidebar-btn i {
  margin-right: 8px;
  color: #4caf50;
}

.sidebar-btn:hover {
  background-color: #e0e0e0;
}

.sidebar-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.sidebar-sticky {
  position: sticky;
  top: 20px;
}

.scroll-indicator {
  text-align: center;
  margin-top: 1rem;
  color: #999;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.scroll-indicator.visible {
  opacity: 1;
}

.scroll-indicator i {
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Estilos responsivos */
@media (max-width: 992px) {
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .action-buttons-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dashboard-header {
    text-align: center;
  }

  .header-actions {
    justify-content: center;
  }

  .filter-container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .search-container {
    width: 100%;
  }

  .pagination-container {
    flex-direction: column;
    gap: 15px;
  }

  .data-table th:nth-child(5),
  .data-table td:nth-child(5) {
    display: none;
  }
}

@media (max-width: 576px) {
  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .action-buttons-container {
    grid-template-columns: 1fr;
  }

  .filter-buttons {
    overflow-x: auto;
    padding-bottom: 10px;
    white-space: nowrap;
    display: block;
  }

  .filter-btn {
    display: inline-block;
  }

  .data-table th:nth-child(4),
  .data-table td:nth-child(4) {
    display: none;
  }

  .pagination-pages {
    display: none;
  }
}

/* Actualizando estilos para la página de citas */

.citas-hero {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 2rem;
}

.citas-hero h1 {
  font-size: 2rem;
  color: #2e7d32;
  margin-bottom: 1rem;
}

.citas-hero p {
  color: #37474f;
  max-width: 600px;
  margin: 0 auto;
}

.citas-section {
  padding: 2rem 20px;
}

.citas-container {
  max-width: 1200px;
  margin: 0 auto;
}

.citas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.citas-form-container {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-title {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #2ecc71;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2ecc71;
  outline: none;
  box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-group label {
  font-size: 0.9rem;
  color: #666;
}

.cta-button {
  background: #2ecc71;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background: #27ae60;
}

/* Servicios Info */
.servicios-info {
  display: grid;
  gap: 1.5rem;
}

.info-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.info-icon i {
  color: #2ecc71;
  font-size: 1.5rem;
}

.info-card h3 {
  color: #333;
  margin-bottom: 0.5rem;
}

.info-card p {
  color: #666;
  font-size: 0.9rem;
}

/* Nutricionistas Section */
.nutricionistas-section {
  background: #f9f9f9;
  padding: 4rem 20px;
}

.nutricionistas-container {
  max-width: 1200px;
  margin: 0 auto;
}

.nutricionistas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.nutricionista-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
}

.nutricionista-image {
  width: 150px;
  height: 200px;
  overflow: hidden;
}

.nutricionista-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nutricionista-info {
  padding: 1.5rem;
  flex: 1;
}

.nutricionista-specialty {
  color: #2ecc71;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.nutricionista-bio {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.nutricionista-schedule {
  background: #f5f5f5;
  padding: 0.75rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.nutricionista-schedule i {
  color: #2ecc71;
  margin-right: 0.5rem;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 20px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 992px) {
  .citas-grid,
  .nutricionistas-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .nutricionista-card {
    flex-direction: column;
  }

  .nutricionista-image {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 576px) {
  .radio-group {
    flex-direction: column;
    gap: 0.5rem;
  }

  .citas-hero h1 {
    font-size: 1.75rem;
  }
}
/* Estilos para la gestión de citas */

/* Variables */
:root {
  --primary-color: #4caf50;
  --primary-dark: #388e3c;
  --primary-light: #c8e6c9;
  --accent-color: #ff9800;
  --text-primary: #212121;
  --text-secondary: #757575;
  --divider-color: #bdbdbd;
  --background-light: #f5f5f5;
  --background-white: #ffffff;
  --error-color: #f44336;
  --success-color: #4caf50;
  --warning-color: #ffc107;
  --info-color: #2196f3;
  --shadow-light: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-dark: 0 6px 12px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
  --transition-speed: 0.3s;
}

/* Contact Info */
.contact-info {
  display: flex;
  gap: 5px;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--background-light);
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.contact-info a:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

/* Badge Tipo */
.badge-tipo {
  background-color: var(--info-color);
  color: var(--background-white);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 20px;
}

/* Date Input */
.date-input-container {
  position: relative;
}

.date-input-container input[type="text"] {
  width: 100%;
  padding-right: 35px;
  cursor: pointer;
}

.date-input-container i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
}

/* Patient Info */
.patient-info {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid var(--divider-color);
  border-radius: var(--border-radius);
  background-color: var(--background-light);
}

.patient-info .info-row {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.patient-info .info-label {
  font-weight: 600;
  color: var(--text-primary);
  width: 80px;
}

.patient-info .info-row:last-child {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  /* Adjustments for smaller screens */
}
/* Estilos para la página de citas */

/* Estilos para la página de citas */

/* Header actions */
.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

/* Stat cards */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(76, 175, 80, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.stat-icon i {
  font-size: 24px;
  color: #4caf50;
}

.stat-info {
  flex: 1;
}

.stat-info h3 {
  font-size: 16px;
  margin: 0 0 5px;
  color: #666;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  color: #333;
}

.stat-link {
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 14px;
  color: #4caf50;
  text-decoration: none;
}

.stat-link:hover {
  text-decoration: underline;
}

/* Quick actions */
.quick-actions {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.quick-actions h3 {
  font-size: 18px;
  margin: 0 0 15px;
  color: #333;
}

.action-buttons-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.action-button {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s;
}

.action-button:hover {
  background-color: #f0f0f0;
}

.action-button i {
  font-size: 18px;
  margin-right: 10px;
  color: #4caf50;
}

/* Filter buttons */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.filter-btn {
  padding: 6px 12px;
  border-radius: 20px;
  background-color: #f0f0f0;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
}

.filter-btn:hover {
  background-color: #e0e0e0;
}

.filter-btn.active {
  background-color: #4caf50;
  color: white;
}

/* Advanced filters */
.advanced-filters {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  display: none;
}

.advanced-filters.show {
  display: block;
}

.filter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.filter-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 10px;
}

/* Table actions */
.action-buttons {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
  color: #555;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.btn-icon:hover {
  background-color: #e0e0e0;
}

.btn-icon i {
  font-size: 14px;
}

/* Dropdown menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  z-index: 100;
  display: none;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 8px 15px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.dropdown-menu a:hover {
  background-color: #f5f5f5;
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.pagination-info {
  font-size: 14px;
  color: #666;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pagination-btn {
  padding: 6px 12px;
  border-radius: 4px;
  background-color: #f0f0f0;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pagination-btn:hover:not(.disabled) {
  background-color: #e0e0e0;
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-pages {
  display: flex;
  gap: 5px;
}

.pagination-page {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background-color: #f0f0f0;
  color: #333;
  text-decoration: none;
}

.pagination-page:hover:not(.active) {
  background-color: #e0e0e0;
}

.pagination-page.active {
  background-color: #4caf50;
  color: white;
}

.pagination-options {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-options label {
  font-size: 14px;
  color: #666;
}

.pagination-options select {
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #ddd;
}

/* Bulk actions */
.bulk-actions {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .header-actions {
    flex-direction: column;
  }

  .header-actions .btn {
    width: 100%;
  }

  .action-buttons-container {
    grid-template-columns: 1fr;
  }

  .filter-row {
    flex-direction: column;
  }

  .pagination-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .bulk-actions {
    flex-direction: column;
    gap: 10px;
  }

  .bulk-buttons {
    width: 100%;
  }
}

/* Acciones en lote en el sidebar */
.sidebar-section {
  padding: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.sidebar-title {
  font-size: 16px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.sidebar-bulk-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-bulk-select {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.8);
}

.sidebar-bulk-select label {
  font-size: 14px;
}

.sidebar-bulk-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-align: left;
  font-size: 14px;
}

.sidebar-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.sidebar-btn:active {
  transform: translateY(1px);
}

.sidebar-btn i {
  width: 16px;
  text-align: center;
}

.sidebar-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Ajustar el estilo de los checkboxes en la tabla para que sean visibles */
table input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

/* Añadir una columna para los checkboxes en la tabla */
table th:first-child,
table td:first-child {
  width: 40px;
  text-align: center;
}

/* Añadir al final del archivo */

/* Sidebar flotante */
.sidebar-sticky {
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.sidebar-section.floating {
  background-color: rgba(50, 50, 50, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  margin: 0 10px;
}

/* Contador de selección */
.selection-count {
  background-color: #4caf50;
  color: white;
  border-radius: 12px;
  padding: 2px 6px;
  font-size: 12px;
  margin-left: auto;
  display: none;
}

.selection-count.visible {
  display: inline-block;
}

/* Indicador de scroll */
.scroll-indicator {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  animation: bounce 2s infinite;
  display: none;
}

.scroll-indicator.visible {
  display: block;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}
