@charset "UTF-8";
/* =============== VARIABLES =============== */
/* =============== DASHBOARD GENERAL =============== */
.storm-dashboard {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.4s ease;
}
.storm-dashboard__header {
  padding: 1.75rem 2rem;
  position: relative;
  overflow: hidden;
}
.storm-dashboard__header::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: #CF2722;
  box-shadow: 0 2px 8px rgba(207, 39, 34, 0.3);
}
.storm-dashboard__title {
  margin: 0;
  color: #1a1a2e;
  font-size: 1.6rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}
.storm-dashboard__title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: #4A4AFF;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(74, 74, 255, 0.2);
}
.storm-dashboard__content {
  padding: 2rem;
}

/* =============== TABLAS (VISTA ESCRITORIO) =============== */
.storm-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.storm-table__container {
  overflow-x: auto;
  border-radius: 1rem;
  background: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.storm-table__head {
  background: linear-gradient(135deg, rgba(74, 74, 255, 0.1) 0%, rgba(74, 74, 255, 0.05) 100%);
}
.storm-table__th {
  padding: 1.25rem 1.5rem;
  color: #4A4AFF;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid rgba(74, 74, 255, 0.2);
}
.storm-table__row {
  transition: background 0.3s ease;
}
.storm-table__row:nth-child(even) {
  background: rgba(236, 239, 244, 0.4);
}
.storm-table__row:hover {
  background: rgba(74, 74, 255, 0.08) !important;
}
.storm-table__td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(74, 74, 255, 0.3);
}
.storm-table__td:nth-child(2) {
  font-weight: 600;
}
.storm-table__td:nth-child(2) .storm-link {
  font-weight: 700;
  color: #4A4AFF;
}
.storm-table__empty {
  padding: 3rem !important;
}

/* =============== TARJETAS DE SITIOS (VISTA MÓVIL) =============== */
@media (max-width: 768px) {
  .storm-table__container {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }
  .storm-table__head {
    display: none;
  }
  .storm-table__row {
    display: block;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .storm-table__row:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  }
  .storm-table__row:last-child {
    margin-bottom: 0;
  }
  .storm-table__td {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0 !important;
    border: none !important;
  }
  .storm-table__td:nth-child(1) {
    display: none;
  }
  .storm-table__td:nth-child(2) {
    margin-bottom: 1rem;
  }
  .storm-table__td:nth-child(2) .storm-link {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4A4AFF;
    text-align: center;
    display: block;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    position: relative;
  }
  .storm-table__td:nth-child(2) .storm-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #CF2722;
    border-radius: 3px;
  }
  .storm-table__td:nth-child(3) .storm-actions {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
  }
  .storm-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    position: relative;
  }
  .storm-card__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #4A4AFF;
  }
}
/* =============== BOTONES =============== */
.storm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  width: 100%;
  text-align: center;
}
.storm-btn--primary {
  background: #4A4AFF;
  color: white;
  box-shadow: 0 4px 12px rgba(74, 74, 255, 0.2);
}
.storm-btn--primary:hover {
  background: rgb(33.2, 33.2, 255);
  box-shadow: 0 6px 16px rgba(74, 74, 255, 0.3);
}
.storm-btn--secondary {
  background: white;
  color: #CF2722;
  border: 1px solid rgba(207, 39, 34, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.storm-btn--secondary:hover {
  background: rgba(207, 39, 34, 0.05);
  border-color: #CF2722;
}

.storm-actions {
  display: flex;
  gap: 1rem;
}
@media (max-width: 576px) {
  .storm-actions {
    flex-direction: column;
  }
}

/* =============== MODO OSCURO =============== */
html.dark .storm-table__row {
  background: #2A3142;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
html.dark .storm-table__row:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
html.dark .storm-table__td:nth-child(2) .storm-link {
  color: #7A9AFF;
}
html.dark .storm-table__td:nth-child(2) .storm-link::after {
  background: #FF6B6B;
}
html.dark .storm-card__title {
  color: #fff;
}
html.dark .storm-card__title::after {
  background: #7A9AFF;
}
html.dark .storm-btn--secondary {
  background: #3A4556;
  color: #E0E0E0;
  border-color: #7A9AFF;
}
html.dark .storm-btn--secondary:hover {
  background: rgba(122, 154, 255, 0.1);
}

/* =============== AJUSTES PARA MÓVILES PEQUEÑOS =============== */
@media (max-width: 576px) {
  .storm-dashboard__header {
    padding: 1.25rem !important;
  }
  .storm-dashboard__title {
    font-size: 1.3rem !important;
  }
  .storm-dashboard__content {
    padding: 1rem !important;
  }
  .storm-table__row {
    padding: 1.25rem !important;
  }
  .storm-table__td:nth-child(2) .storm-link {
    font-size: 1.3rem !important;
  }
  .storm-btn {
    padding: 1.1rem !important;
  }
}
/* =============== MAIN CONTENT ADJUSTMENTS =============== */
.main {
  padding-left: 285px !important;
  padding-top: calc(5.25rem + 20px) !important;
  padding-right: 0.75rem !important;
  transition: padding-left 0.4s ease !important;
}
@media (max-width: 995px) {
  .main {
    padding-left: 115px !important;
  }
}
@media (max-width: 768px) {
  .main {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  body.sidebar-mobile-active .main {
    padding-left: 260px !important;
  }
}
@media (max-width: 360px) {
  .main {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  body.sidebar-mobile-active .main {
    padding-left: 0.5rem !important;
    margin-left: 260px !important;
  }
}/*# sourceMappingURL=main.css.map */