/* *
 * Estilos principales
 * Gesti LaP - Sistema de Gestión */

/* Variables CSS */

:root {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --danger-color: #e74c3c;
  --info-color: #16a085;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --border-color: #dfe6e9;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 8px;
}

/* Reset y estilos base */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: var(--dark-color);
  line-height: 1.6;
}

/* New modern two-column login layout with white background */

.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 0;
  background: white;
  overflow: hidden;
}

.login-split-container {
  display: flex;
  width: 100%;
  height: 100vh;
  background: white;
}

/* Left side - Login forms */

.login-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: white;
  overflow-y: auto;
}

.login-form-wrapper {
  width: 100%;
  max-width: 480px;
  animation: fadeInLeft 0.6s ease;
}

.login-brand {
  text-align: center;
  margin-bottom: 25px;
}

.login-brand i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: block;
}

.login-brand h1 {
  font-size: 1.5rem;
  color: var(--dark-color);
  font-weight: 700;
  margin: 0;
}

/* Tabs styling */

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 35px;
  border-bottom: 2px solid var(--light-color);
}

.tab-btn {
  flex: 1;
  padding: 15px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #7f8c8d;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  position: relative;
  bottom: -2px;
}

.tab-btn:hover {
  color: var(--primary-color);
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Form content */

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

.form-title {
  font-size: 1.5rem;
  color: var(--dark-color);
  margin-bottom: 8px;
  font-weight: 700;
}

.form-subtitle {
  color: #7f8c8d;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

/* Input with icon styling */

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i {
  position: absolute;
  left: 15px;
  color: #7f8c8d;
  font-size: 1.1rem;
  z-index: 1;
}

.input-with-icon .form-control {
  padding-left: 45px;
}

/* Right side - Company info */

.login-info-side {
  flex: 1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: white;
  position: relative;
  overflow: hidden;
}

.login-info-side::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

.info-content {
  position: relative;
  z-index: 1;
  max-width: 550px;
  animation: fadeInRight 0.6s ease;
}

.info-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.info-icon i {
  font-size: 2rem;
  color: white;
}

.info-content h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.info-description {
  font-size: 1rem;
  margin-bottom: 25px;
  opacity: 0.95;
  line-height: 1.5;
}

/* Añadidos estilos para el header del login sin tabs */

.login-header {
  text-align: center;
  margin-bottom: 25px;
}

.login-form-content {
  animation: fadeIn 0.4s ease;
}

.feedback-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 13px;
  border: 1px solid #d9d7ff;
  border-radius: 10px;
  background: #f5f4ff;
  color: #493fee;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.feedback-trigger:hover {
  transform: translateY(-1px);
  border-color: #493fee;
  background: #eeedff;
}

.login-demo-credentials {
  margin: 14px 0 0;
  color: #77768a;
  font-size: .76rem;
  line-height: 1.6;
  text-align: center;
}

.login-demo-credentials > span {
  display: block;
}

.login-demo-credentials strong {
  color: #504b91;
  font-weight: 600;
}

.feedback-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(520px, calc(100vw - 28px));
  height: min(760px, calc(100vh - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  color: #172033;
  box-shadow: 0 24px 80px rgba(20, 28, 50, .25);
}

.feedback-dialog[open] {
  display: flex;
  flex-direction: column;
}

.feedback-dialog::backdrop {
  background: rgba(18, 24, 40, .58);
  backdrop-filter: blur(3px);
}

.feedback-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 26px 16px;
  border-bottom: 1px solid #edf0f5;
}

.feedback-eyebrow {
  color: #6a63ee;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.feedback-dialog-header h2 {
  margin: 5px 0 0;
  font-size: 1.35rem;
  font-weight: 750;
}

.feedback-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f3f8;
  color: #475166;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.feedback-form {
  display: grid;
  gap: 9px;
  padding: 20px 26px 26px;
  overflow-y: auto;
}

.feedback-form label {
  margin-top: 4px;
  color: #30394b;
  font-size: .86rem;
  font-weight: 650;
}

.feedback-form input:not([type="text"].feedback-honeypot),
.feedback-form textarea,
.feedback-form select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #d9deea;
  border-radius: 9px;
  background: #fff;
  color: #172033;
  font: inherit;
}

.feedback-form textarea {
  min-height: 106px;
  resize: vertical;
}

.feedback-form small {
  margin-top: -5px;
  color: #70798a;
  font-size: .75rem;
}

.feedback-error {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .84rem;
  background: #fff0f0;
  color: #a92232;
}

.feedback-human-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 8px 0 3px !important;
  padding: 11px 14px;
  border: 1px solid #d9deea;
  border-radius: 9px;
  background: #f8f9fc;
  cursor: pointer;
}

.feedback-human-check input {
  width: 18px !important;
  min-height: 18px !important;
  height: 18px;
  margin: 0;
  accent-color: #493fee;
}

.feedback-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

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

.feedback-actions button {
  min-height: 40px;
  padding: 9px 14px;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-size: .88rem;
  font-weight: 650;
  cursor: pointer;
}

.feedback-cancel {
  background: #f1f3f8;
  color: #475166;
}

.feedback-submit {
  background: #493fee;
  color: #fff;
}

.feedback-submit:disabled {
  cursor: not-allowed;
  opacity: .55;
}

/* Añadidos estilos para opciones del formulario */

.form-options {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
  margin-top: -5px;
}

.forgot-password-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.forgot-password-link:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* Estilos para el modal de recuperación de contraseña */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 0;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideInDown 0.4s ease;
  position: relative;
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 20px;
  color: #7f8c8d;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  z-index: 1;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-modal:hover, .close-modal:focus {
  color: var(--danger-color);
  background: var(--light-color);
}

.modal-header {
  text-align: center;
  padding: 40px 30px 30px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: block;
}

.modal-header h2 {
  font-size: 1.6rem;
  color: var(--dark-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.modal-header p {
  color: #7f8c8d;
  font-size: 0.95rem;
  line-height: 1.5;
}

.recovery-step {
  display: none;
}

.recovery-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.recovery-step form {
  padding: 30px;
}

.code-input {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 8px;
  font-weight: 600;
}

.link-secondary {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.link-secondary:hover {
  color: #2980b9;
  text-decoration: underline;
}

.mt-3 {
  margin-top: 1rem;
}

/* Features list */

.features-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  font-size: 1.2rem;
  color: white;
}

.feature-text h3 {
  font-size: 1rem;
  margin-bottom: 3px;
  font-weight: 600;
}

.feature-text p {
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.4;
}

.info-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.info-footer p {
  margin: 3px 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.info-footer i {
  margin-right: 8px;
}

.info-tagline {
  font-size: 0.85rem;
  opacity: 0.8;
  font-weight: 400 !important;
}

/* Remove old login styles that are no longer needed */

.login-container, .login-box, .login-header {
  display: none;
}

/* Tabs */

.tabs {
  display: flex;
  background: var(--light-color);
}

.tab-btn {
  flex: 1;
  padding: 15px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark-color);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.tab-btn:hover {
  background: rgba(52, 152, 219, 0.1);
}

.tab-btn.active {
  background: white;
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}

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

/* Contenido de tabs */

.tab-content {
  display: none;
  padding: 30px;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

/* Formularios */

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--dark-color);
  font-size: 0.9rem;
}

.form-group label i {
  margin-right: 5px;
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-control::placeholder {
  color: #bdc3c7;
}

.form-text {
  display: block;
  margin-top: 5px;
  font-size: 0.85rem;
  color: #7f8c8d;
}

.form-row {
  display: flex;
  gap: 15px;
  margin: 0 -7.5px;
}

.form-row .form-group {
  flex: 1;
  padding: 0 7.5px;
}

.col-md-6 {
  flex: 0 0 50%;
}

/* Botones */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: white;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--primary-color);
}

.btn-primary:hover {
  background: #2980b9;
}

.btn-success {
  background: var(--success-color);
}

.btn-success:hover {
  background: #229954;
}

.btn-warning {
  background: var(--warning-color);
}

.btn-warning:hover {
  background: #e67e22;
}

.btn-danger {
  background: var(--danger-color);
}

.btn-danger:hover {
  background: #c0392b;
}

.btn-info {
  background: var(--info-color);
}

.btn-info:hover {
  background: #138d75;
}

.btn-secondary {
  background: #95a5a6;
}

.btn-secondary:hover {
  background: #7f8c8d;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-group {
  display: flex;
  gap: 5px;
}

/* Header */

.header {
  background: white;
  box-shadow: var(--shadow);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-color);
  transition: var(--transition);
}

.menu-toggle:hover {
  color: var(--primary-color);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--primary-color);
}

.logo i {
  font-size: 1.8rem;
}

/* Menú de usuario */

.user-menu {
  position: relative;
}

.user-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  background: var(--light-color);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.user-btn:hover {
  background: var(--border-color);
}

.user-btn i:first-child {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  min-width: 250px;
  display: none;
  animation: fadeInDown 0.3s ease;
}

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

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
}

.user-info i {
  font-size: 2rem;
  color: var(--primary-color);
}

.dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  color: var(--dark-color);
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--light-color);
}

/* Added footer styles */

.footer {
  background: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

/* Footer visibility state using data attribute */

.footer[data-visible="true"] {
  opacity: 1;
  pointer-events: auto;
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-left p {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}

.footer-right {
  display: flex;
  align-items: center;
}

.footer-right p {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}

/* Container y Layout */

.container {
  display: flex;
  min-height: calc(100vh - 70px);
}

/* Sidebar */

.sidebar {
  width: 260px;
  background: white;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.sidebar.collapsed {
  width: 0;
  overflow: hidden;
}

.sidebar-nav {
  padding: 20px 0;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 25px;
  color: var(--dark-color);
  text-decoration: none;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.nav-item:hover {
  background: var(--light-color);
  border-left-color: var(--primary-color);
}

.nav-item.active {
  background: rgba(52, 152, 219, 0.1);
  border-left-color: var(--primary-color);
  color: var(--primary-color);
  font-weight: 500;
}

.nav-item i {
  font-size: 1.2rem;
  width: 20px;
}

.nav-section {
  margin: 20px 0;
}

.nav-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

/* Added hover effect for section titles */

.nav-section-title:hover {
  background: var(--light-color);
  color: var(--primary-color);
}

/* Added arrow icon styling for collapsible sections */

.nav-arrow {
  margin-left: auto;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.nav-section-title.active .nav-arrow {
  transform: rotate(180deg);
}

/* Added wrapper for collapsible nav items */

.nav-section-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nav-section-items.show {
  max-height: 500px;
}

/* Contenido principal */

.main-content {
  flex: 1;
  padding: 30px;
  background: var(--light-color);
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.page-header h1 {
  font-size: 2rem;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-header h1 i {
  color: var(--primary-color);
}

.page-header p {
  color: #7f8c8d;
  margin-top: 5px;
}

/* Tarjetas */

.card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 25px;
  overflow: hidden;
  animation: fadeInUp 0.5s ease;
}

.card-header {
  padding: 20px 25px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header h2 {
  font-size: 1.3rem;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-header h2 i {
  color: var(--primary-color);
}

.card-body {
  padding: 25px;
}

/* Estadísticas */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  animation: fadeInUp 0.5s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
}

.stat-primary .stat-icon {
  background: linear-gradient(135deg, var(--primary-color), #5dade2);
}

.stat-success .stat-icon {
  background: linear-gradient(135deg, var(--success-color), #58d68d);
}

.stat-info .stat-icon {
  background: linear-gradient(135deg, var(--info-color), #48c9b0);
}

.stat-warning .stat-icon {
  background: linear-gradient(135deg, var(--warning-color), #f8b739);
}

/* Adding stat-danger styling for red stats cards */

.stat-danger .stat-icon {
  background: linear-gradient(135deg, var(--danger-color), #e57373);
}

.stat-info h3 {
  font-size: 2rem;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.stat-info p {
  color: #7f8c8d;
  font-size: 0.95rem;
}

/* Dashboard Grid */

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 25px;
}

/* Lista de actividades */

.activity-list {
  max-height: 500px;
  overflow-y: auto;
}

.activity-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-item:hover {
  background: var(--light-color);
}

.activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.activity-content p {
  margin-bottom: 5px;
  color: var(--dark-color);
}

.activity-content small {
  color: #7f8c8d;
  font-size: 0.85rem;
}

.activity-content small i {
  margin: 0 5px;
}

/* Tablas */

.table-responsive {
  overflow-x: auto;
}

/* Modernizing table styling for professional look */

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
}

.table thead {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  color: var(--secondary-color);
  border-bottom: 2px solid var(--primary-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.table td {
  padding: 16px 20px;
  border-bottom: 1px solid #e9ecef;
  color: var(--dark-color);
  vertical-align: middle;
}

.table tbody tr {
  background: white;
  transition: all 0.3s ease;
}

.table-hover tbody tr:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

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

/* Adding striped rows for better readability */

.table-striped tbody tr:nth-child(even) {
  background: #fafbfc;
}

.table-striped tbody tr:nth-child(even):hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #fafbfc 100%);
}

/* Badges */

.badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.badge-primary {
  background: var(--primary-color);
  color: white;
}

.badge-success {
  background: var(--success-color);
  color: white;
}

.badge-warning {
  background: var(--warning-color);
  color: white;
}

.badge-danger {
  background: var(--danger-color);
  color: white;
}

.badge-info {
  background: var(--info-color);
  color: white;
}

.badge-lg {
  padding: 8px 16px;
  font-size: 1rem;
}

/* Estado vacío */

.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state i {
  font-size: 4rem;
  color: var(--border-color);
  margin-bottom: 20px;
}

.empty-state h3 {
  color: var(--dark-color);
  margin-bottom: 10px;
}

.empty-state p {
  color: #7f8c8d;
  margin-bottom: 20px;
}

/* Acciones de formulario */

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

/* Info box */

.info-box {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.info-item label {
  font-weight: 600;
  color: var(--dark-color);
  font-size: 0.9rem;
}

.info-item label i {
  margin-right: 5px;
  color: var(--primary-color);
}

/* Detail Grid */

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 25px;
}

.detail-card .card-body {
  padding: 0;
}

.detail-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.detail-content {
  flex: 1;
}

.detail-content label {
  display: block;
  font-size: 0.85rem;
  color: #7f8c8d;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-content h2, .detail-content h3 {
  color: var(--dark-color);
  margin: 0;
}

.detail-content p {
  margin: 5px 0;
  color: var(--dark-color);
}

/* Botones de acción */

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

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 25px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  background: white;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--dark-color);
}

.action-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.action-btn i {
  font-size: 2rem;
}

.action-warning {
  border-color: var(--warning-color);
  color: var(--warning-color);
}

.action-warning:hover {
  background: var(--warning-color);
  color: white;
}

.action-danger {
  border-color: var(--danger-color);
  color: var(--danger-color);
}

.action-danger:hover {
  background: var(--danger-color);
  color: white;
}

.action-secondary {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.action-secondary:hover {
  background: var(--secondary-color);
  color: white;
}

/* Utilidades */

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

.text-muted {
  color: #7f8c8d;
}

.text-success {
  color: var(--success-color);
}

/* Adding text-danger utility class */

.text-danger {
  color: var(--danger-color);
}

.mb-4 {
  margin-bottom: 1.5rem;
}

/* Paginación */

.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 15px;
}

/* Añadido estilo para el indicador de paginación en actividades recientes */

.pagination-info {
  color: #7f8c8d;
  font-size: 0.9rem;
  padding: 15px 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
  margin-top: 15px;
}

.pagination-info p {
  margin: 0;
  font-weight: 500;
}

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

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: white;
  color: var(--dark-color);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.pagination-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.pagination-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.pagination-dots {
  padding: 0 8px;
  color: #7f8c8d;
}

/* Animaciones */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Responsive */

@media (max-width: 768px) {
  .login-split-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .login-info-side {
    display: none;
  }
}

@media (max-width: 768px) {
  .login-form-side {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .sidebar {
    width: 0;
  }
}

@media (max-width: 768px) {
  .sidebar.show {
    width: 260px;
  }
}

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

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

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }
}

@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-left, .footer-right {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .footer-left p, .footer-right p {
    font-size: 0.85rem;
  }
}

/* Añadido media query para pantallas pequeñas en altura */

@media (max-height: 700px) {
  .login-brand {
    margin-bottom: 15px;
  }
}

@media (max-height: 700px) {
  .login-brand i {
    font-size: 2rem;
    margin-bottom: 8px;
  }
}

@media (max-height: 700px) {
  .login-brand h1 {
    font-size: 1.3rem;
  }
}

@media (max-height: 700px) {
  .login-header {
    margin-bottom: 15px;
  }
}

@media (max-height: 700px) {
  .form-title {
    font-size: 1.3rem;
    margin-bottom: 5px;
  }
}

@media (max-height: 700px) {
  .form-subtitle {
    font-size: 0.85rem;
    margin-bottom: 15px;
  }
}

@media (max-height: 700px) {
  .form-group {
    margin-bottom: 12px;
  }
}

@media (max-height: 700px) {
  .form-control {
    padding: 10px 15px;
  }
}

@media (max-height: 700px) {
  .btn {
    padding: 10px 18px;
  }
}

@media (max-height: 700px) {
  .info-content h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
}

@media (max-height: 700px) {
  .info-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
}

@media (max-height: 700px) {
  .features-list {
    gap: 12px;
    margin-bottom: 20px;
  }
}

@media (max-height: 700px) {
  .feature-item {
    padding: 12px;
  }
}

@media (max-height: 700px) {
  .feature-text h3 {
    font-size: 0.95rem;
  }
}

@media (max-height: 700px) {
  .feature-text p {
    font-size: 0.8rem;
  }
}

@media (max-height: 700px) {
  .info-footer {
    padding-top: 15px;
  }
}
