/* -----------------------------------------------------
   Modern landing + login styles
   ----------------------------------------------------- */

:root {
  --background: linear-gradient(135deg, #1b2838 0%, #0f172a 100%);
  --surface: rgba(255, 255, 255, 0.92);
  --text: #0f172a;
  --text-light: rgba(15, 23, 42, 0.65);
  --primary: #ff9800;
  --primary-contrast: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--background);
  display: grid;
  place-items: center;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('./public/fondo1.jpg') center/cover no-repeat;
  opacity: 0.32;
  z-index: -1;
  filter: blur(6px);
}

#redirectButton {
  appearance: none;
  border: none;
  background: linear-gradient(135deg, var(--primary), #d87c0a);
  color: var(--primary-contrast);
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#redirectButton:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  filter: brightness(1.05);
}

#redirectButton:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.bg {
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.container {
  width: min(480px, 90vw);
  max-width: 500px;
  display: grid;
  place-items: center;
}

.form-container {
  width: 100%;
  padding: 2rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.form-container h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.form-container label {
  display: block;
  margin: 0.75rem 0 0.35rem;
  font-weight: 600;
  color: var(--text-light);
}

.form-container input {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-container input:focus {
  outline: none;
  border-color: rgba(242, 183, 5, 0.6);
  box-shadow: 0 0 0 4px rgba(242, 183, 5, 0.18);
}

.form-container button {
  width: 100%;
  padding: 0.95rem 1rem;
  background-color: var(--primary);
  color: var(--primary-contrast);
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.form-container button:hover {
  background-color: #e68a00;
}

@media (max-width: 480px) {
  .form-container {
    padding: 1.5rem 1rem;
  }
}
