/* ===========================
   Colores FUCHS
   =========================== */
:root {
  --fuchs-blue: #004e9e;
  --fuchs-red: #e3000f;
  --fuchs-dark: #2c3e50;
  --fuchs-light-bg: #f4f6f9;
  --fuchs-white: #ffffff;
}

/* ===========================
   Estilos generales
   =========================== */
body {
  font-family: Arial, sans-serif;
  background: var(--fuchs-light-bg);
  margin: 0;
  padding: 0;
  color: #333;
  padding-top: 80px; /* evita superposición del header */
}

/* ===========================
   Header estilo FUCHS
   =========================== */
.header-fuchs {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  background: var(--fuchs-blue); /* Azul corporativo con transparencia */
  backdrop-filter: blur(4px); /* efecto elegante tipo la web */
  display: flex;
  align-items: center;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* NAV interno */
.nav-fuchs {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

/* Zona izquierda (puedes poner un menú si quieres) */
.nav-left {
  color: white;
  font-size: 1rem;
  font-weight: 500;
}

/* Logo a la derecha */
.nav-right {
  display: flex;
  align-items: center;
}

.logo-fuchs {
  height: 50px;
  width: auto;
}
/* Contenedor principal */
.container {
  max-width: 1000px;
  margin: 2rem auto;
  background: var(--fuchs-white);
  padding: 2rem;
  border-radius: 12px;
  border-top: 6px solid var(--fuchs-blue);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--fuchs-blue);
}

/* ===========================
   Formulario
   =========================== */
form {
  width: 100%;
}

fieldset {
  border: 2px solid var(--fuchs-blue);
  border-radius: 8px;
  margin-bottom: 2rem;
  padding: 1.5rem;
}

legend {
  font-weight: bold;
  padding: 0 10px;
  color: var(--fuchs-blue);
  font-size: 1.1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--fuchs-blue);
}

input, textarea, select {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--fuchs-blue);
  outline: none;
}

textarea {
  resize: vertical;
}

.checkbox {
  display: block;
  gap: 0.5rem;
}

/* Botón */
button {
  background: var(--fuchs-blue);
  color: var(--fuchs-white);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
  margin-top: 1rem;
}

button:hover {
  background: var(--fuchs-blue);
}

a {
  color: var(--fuchs-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


#toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #333;
  color: #fff;
  padding: 15px 20px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s, transform .4s;
  transform: translateY(20px);
  z-index: 9999;
  font-size: 15px;
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
}

#toast.success {
  background: #28a745;
}

#toast.error {
  background: #dc3545;
}


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