:root {
  --primary-red: #e53935;
  --dark-red: #d32f2f;
  --white: #ffffff;
  --dark-gray: #333333;
  --medium-gray: #888888;
  --footer-bg: #2c3e50;
}

.admin-main h1 {
  color: var(--primary-red);
  margin-bottom: 20px;
  font-weight: 700;
}

.admin-main p {
  color: var(--medium-gray);
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: var(--white);
  padding: 50px 0 20px;
  margin-top: auto;
}

.footer-logo {
  height: 40px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-title {
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.1rem;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-red);
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  margin-right: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  background: var(--primary-red);
  transform: translateY(-3px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Sucursales Styles - MISMO COLOR DE FONDO */
.sucursales-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 10px;
  height: 380px;
  display: flex;
  flex-direction: column;
  /*
    border: 1px solid rgba(255, 255, 255, 0.08);
    */
  backdrop-filter: blur(10px);
}

.sucursales-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sucursales-title {
  font-weight: 600;
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sucursales-title i {
  color: var(--primary-red);
}

.sucursales-count {
  background: rgba(229, 57, 53, 0.15);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid rgba(229, 57, 53, 0.3);
}

.sucursales-container {
  flex: 1;
  overflow-y: auto;
  padding-right: 5px;
  scroll-behavior: smooth;
}

/* Scrollbar moderna con el mismo estilo */
.sucursales-container::-webkit-scrollbar {
  width: 6px;
}

.sucursales-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.sucursales-container::-webkit-scrollbar-thumb {
  background: rgba(229, 57, 53, 0.5);
  border-radius: 10px;
}

.sucursales-container::-webkit-scrollbar-thumb:hover {
  background: rgba(229, 57, 53, 0.7);
}

.sucursal-item {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.sucursal-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-left-color: var(--primary-red);
  transform: translateX(3px);
}

.sucursal-item.highlight {
  background: rgba(229, 57, 53, 0.08);
  border-left-color: var(--primary-red);
}

.sucursal-name {
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.sucursal-name i {
  color: var(--primary-red);
  font-size: 0.85rem;
}
.sucursal-name:hover i {
  color: white;
}

.sucursal-address {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  margin-bottom: 5px;
  line-height: 1.3;
}

.sucursal-phone {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  margin-bottom: 6px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.sucursal-phone i {
  color: var(--primary-red);
  font-size: 0.75rem;
}
.sucursal-phone:hover i {
  color: #25d366;
}

.sucursal-schedule {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  line-height: 1.3;
  position: relative;
  padding-left: 14px;
}

.sucursal-schedule::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.7rem;
}

.sucursal-schedule.highlight {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.sucursal-schedule.highlight::before {
  content: "";
}

/* Indicador de scroll sutil */
.scroll-indicator {
  text-align: center;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: opacity 0.3s ease;
}

/* Responsive */
@media (max-width: 992px) {
  .sucursales-section {
    height: 350px;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .sucursales-section {
    height: 320px;
    padding: 15px;
  }

  .sucursal-item {
    padding: 12px;
  }

  .sucursal-name {
    font-size: 0.85rem;
  }

  .sucursal-address,
  .sucursal-phone {
    font-size: 0.75rem;
  }

  .sucursal-schedule {
    font-size: 0.7rem;
  }
}

@media (max-width: 576px) {
  .sucursales-section {
    height: 300px;
  }
}
