@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;800&display=swap');

:root {
  --bg: #0d1217;
  --card: #121820;
  --border: #223241;
  --text: #e8f2ff;
  --muted: #9fb3c8;
  --accent: #44B1F2;
  --accent-glow: rgba(68,177,242,0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Raleway', sans-serif;
}

/* Fondo general */
body {
  background: radial-gradient(circle at 20% 30%, rgba(68,177,242,0.08), transparent 70%),
              linear-gradient(160deg, #0d1217 0%, #0b1015 100%);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contenedor principal */
.content {
  width: 70%;
  max-width: 1100px;
  height: 520px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(68,177,242,0.15);
  overflow: hidden;
}

/* Animación de entrada */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn 1s ease forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estructura interna */
.content-center {
  display: flex;
  height: 100%;
}

/* IZQUIERDA */
.content-left {
  flex: 1;
  background: linear-gradient(145deg, #0b1015, #0f1822);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
  text-align: center;
  padding: 2rem;
}

.text-box img {
  width: 100px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 12px var(--accent-glow));
}

.text-box h1 {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.text-box p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* DERECHA */
.content-right {
  flex: 1;
  background: #0f141b;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.form {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
}

.form h2 {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 5px;
  text-align: center;
}

.form .subtitle {
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 25px;
}

/* Inputs */
.form input {
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #141b22;
  color: var(--text);
  font-size: 0.95rem;
  transition: border 0.2s, box-shadow 0.2s;
}

.form input::placeholder {
  color: var(--muted);
}

.form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* Botón */
.form button {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: 0.3s;
}

.form button:hover {
  background: #2196f3;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Alertas */
.alert {
  margin-bottom: 15px;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  font-size: 0.9rem;
}
.alert.error {
  background: rgba(255, 76, 76, 0.1);
  border: 1px solid #f44336;
  color: #ffb3b3;
}


.google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #222;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  font-weight: 600;
  transition: all 0.2s;
}
.google-btn:hover {
  background: #f2f2f2;
}
