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

:root {
  --primary-color: #ff6b35;
  --secondary-color: #ff8c42;
  --accent_color: #ffa366;
  --light-orange: #ffb380;
  --text-dark: #333333;
  --text-light: #666666;
  --background-light: #fff8f5;
  --white: #ffffff;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

/* Header */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-dark);
}

.logo-circle {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 15px;
  border: 3px solid var(--white);
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-menu li {
  margin-left: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
}

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

.btn-cliente {
  background: var(--primary-color);
  color: white !important;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s;
}

.btn-cliente:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--background-light) 0%, var(--white) 100%);
  padding: 120px 0 80px;
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-dark);
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.hero-features,
.hero-shipping {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  cursor: pointer;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* Catálogos Section */
.catalogos {
  padding: 80px 0;
  background: var(--white);
}

.catalogos h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.catalogos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.catalogo-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid var(--background-light);
  position: relative;
  overflow: hidden;
}

.catalogo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent_color));
}

.catalogo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
  border-color: var(--accent_color);
}

.catalogo-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.catalogo-card h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.catalogo-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn-download {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent_color));
  color: white;
  padding: 10px 25px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  display: inline-block;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 66, 0.4);
}

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

.catalogo-note {
  text-align: center;
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: 15px;
  border-left: 4px solid var(--primary-color);
}

.catalogo-note a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.catalogo-note a:hover {
  text-decoration: underline;
}

/* Contacto Section */
.contacto {
  padding: 80px 0;
  background: var(--background-light);
}

.contacto h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
}

.contacto-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contacto-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contacto-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
  margin-top: 0.5rem;
  width: 30px;
}

.contacto-item h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contacto-item p {
  color: var(--text-light);
  margin: 0;
}

.contacto-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.1);
}

.contacto-form h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.contacto-form input,
.contacto-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border: 2px solid var(--background-light);
  border-radius: 10px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
  color: #ccc;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: #ccc;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 20px;
  text-align: center;
  color: #ccc;
}

/* Login Styles */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 20px;
}

.login-form {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 400px;
}

.login-form h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: bold;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--background-light);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.alert {
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.alert-error {
  background: #ffe6e6;
  color: #d63031;
  border: 1px solid #fab1a0;
}

.alert-success {
  background: #e6f7e6;
  color: #00b894;
  border: 1px solid #a8e6cf;
}

/* Dashboard Styles */
.dashboard {
  padding-top: 80px;
  min-height: 100vh;
  background: var(--background-light);
}

.dashboard-header {
  background: white;
  padding: 2rem 0;
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.1);
  margin-bottom: 2rem;
}

.dashboard-nav {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.nav-tab {
  padding: 12px 24px;
  background: white;
  border: 2px solid var(--background-light);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: bold;
}

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

.nav-tab:hover:not(.active) {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.tab-content {
  display: none;
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.1);
}

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

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.table th,
.table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--background-light);
}

.table th {
  background: var(--background-light);
  font-weight: bold;
  color: var(--text-dark);
}

.btn-small {
  padding: 5px 12px;
  font-size: 0.8rem;
  margin-right: 5px;
  border-radius: 15px;
}

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

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

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

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

.text-success {
  color: #00b894;
  font-weight: bold;
}

.text-danger {
  color: #e74c3c;
  font-weight: bold;
}

/* Agregar los estilos de registro al archivo principal */
@import url("registro.css");

/* Estilos de Registro */
.registro-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--background-light) 0%, var(--white) 100%);
  padding: 100px 20px 20px;
}

.registro-form {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
  width: 100%;
  max-width: 600px;
}

.registro-form h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-description {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--background-light);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-terms {
  margin-bottom: 2rem;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkbox-container input {
  margin-right: 10px;
  margin-top: 2px;
}

.checkbox-container a {
  color: var(--primary-color);
  text-decoration: none;
}

.checkbox-container a:hover {
  text-decoration: underline;
}

.btn-full {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
}

.form-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--background-light);
}

.form-footer p {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.form-footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.form-footer a:hover {
  text-decoration: underline;
}

/* Página de éxito */
.success-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--background-light) 0%, var(--white) 100%);
  padding: 20px;
}

.success-card {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  color: #00b894;
  margin-bottom: 1.5rem;
}

.success-card h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.success-message {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.codigo-container {
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.codigo-container h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.codigo-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.codigo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  font-family: "Courier New", monospace;
  background: white;
  padding: 10px 20px;
  border-radius: 10px;
  border: 2px solid var(--primary-color);
}

.btn-copy {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-copy:hover {
  background: var(--accent-color);
}

.next-steps {
  text-align: left;
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.next-steps h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.next-steps ol {
  color: var(--text-dark);
  line-height: 1.8;
}

.next-steps li {
  margin-bottom: 0.5rem;
}

.whatsapp-section {
  background: #e8f5e8;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.whatsapp-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.whatsapp-section p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  margin-bottom: 1.5rem;
}

.btn-whatsapp:hover {
  background: #128c7e;
  transform: translateY(-2px);
}

.mensaje-preview {
  text-align: left;
  margin-top: 1rem;
}

.mensaje-preview p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.mensaje-texto {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  border-left: 4px solid #25d366;
  font-style: italic;
  color: var(--text-dark);
}

.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

  .registro-form,
  .success-card {
    padding: 2rem;
  }

  .codigo {
    font-size: 1.5rem;
  }

  .action-buttons {
    flex-direction: column;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(255, 107, 53, 0.1);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contacto-content {
    grid-template-columns: 1fr;
  }

  .catalogos-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-nav {
    justify-content: center;
  }

  .nav-tab {
    flex: 1;
    text-align: center;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .catalogo-card {
    padding: 1.5rem;
  }

  .login-form {
    padding: 2rem;
  }
}

/* Estilos adicionales para catálogos dinámicos */
.catalog-date {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.catalog-date i {
  margin-right: 5px;
}

.no-catalogs {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--background-light);
  border-radius: 20px;
  border: 2px dashed var(--primary-color);
}

.no-catalogs-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.no-catalogs h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.no-catalogs p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Mejorar la responsividad de los catálogos */
@media (max-width: 768px) {
  .catalogos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .no-catalogs {
    padding: 3rem 1.5rem;
  }

  .no-catalogs h3 {
    font-size: 1.5rem;
  }
}

/* Animación para los cards de catálogo */
.catalogo-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.catalogo-card:nth-child(1) {
  animation-delay: 0.1s;
}
.catalogo-card:nth-child(2) {
  animation-delay: 0.2s;
}
.catalogo-card:nth-child(3) {
  animation-delay: 0.3s;
}
.catalogo-card:nth-child(4) {
  animation-delay: 0.4s;
}
.catalogo-card:nth-child(5) {
  animation-delay: 0.5s;
}
.catalogo-card:nth-child(6) {
  animation-delay: 0.6s;
}

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

/* Estilos para mensajes de éxito/error en el formulario de contacto */
.contact-message {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.contact-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Importar estilos del dashboard del cliente */
@import url("client-dashboard.css");

/* Clientes Destacados Section */
.clientes-destacados {
  padding: 80px 0;
  background: var(--background-light);
}

.clientes-destacados h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.cliente-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.cliente-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffd700, #ffed4e, #ffc107);
}

.cliente-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.3);
  border-color: #ffd700;
}

.cliente-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.cliente-card h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  min-height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cliente-tipo {
  display: inline-block;
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.cliente-badge {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #8b4513;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
}

.destacado-badge {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #8b4513;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Responsive para clientes destacados */
@media (max-width: 768px) {
  .clientes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cliente-card {
    padding: 1.5rem;
  }
}
