

/* Reset y fuente */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Playfair Display', serif;
  overflow-x: hidden; /* evita desbordamiento lateral */
  display: flex;
  flex-direction: column;
}

/* Roboto */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-style: italic;
}

/* Playfair Display */
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
  font-style: normal;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype');
  font-style: italic;
}



/* Fondo con imagen más viva (sin oscurecer tanto) */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),  /* más suave */
    url("../images/fondo5.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  filter: brightness(1.05) contrast(1.1);
}

/* HEADER */
header {
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px; /* altura del header más compacto */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.logo {
  height: 100px;
  width: auto;
  object-fit: contain;
  margin-top: 10px;
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  padding-right: 50px;
}

footer {
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: #000;
  font-size: 0.9rem;
  box-sizing: border-box;
  z-index: 999;
  /* 🔴 elimina: position: fixed; bottom: 0; left: 0; */
}



.social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-icons img {
  height: 28px;
  width: 28px;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.social-icons img:hover {
  transform: scale(1.2);
}

.footer-text {
  margin: 0;
}

main {
  flex: 1; /* ✅ Esto empuja el footer al fondo */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem;
  margin-top: 80px;
}



/* FORMULARIO LOGIN MEJORADO */
.login-container {
  /*background: rgba(255, 255, 255, 0.35); /* más sólido */
  background-color: white;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
  padding: 3rem 2rem;
  max-width: 420px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 60px;
  color: #000;
}

.login-container:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}

.login-container h2 {
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}

/* Inputs */
.login-container input {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: 10px;
  border: none;
  background: #d2cace;
  color: #333;
  transition: box-shadow 0.2s ease;
  height: 48px; /* mismo alto que los botones */
  box-sizing: border-box;
}

.login-container input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #007bff55;
}

/* Botones */
.login-container button {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  background-color: #e2a9c0; /* Fondo rosa */
  color: #000;               /* Texto negro */
  cursor: pointer;
  transition: background-color 0.3s ease;
}


.login-container button:hover:not([disabled]) {
  background-color: #d3aebf; /* tono más oscuro rosa */
}


button[disabled],
.btn-facebook-disabled {
  background-color: #bbb;
  color: #555;
  border: none;
  cursor: not-allowed;
  font-weight: 500;
  border-radius: 10px;
  margin-top: 1rem;
}

/* Separador */
hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 2rem 0;
}

/* Enlace de registro */
.registro-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #000; /* Negro */
}

.registro-link a {
  color: #f13694;          /* Link rosa */
  text-decoration: none;
  font-weight: bold;
}

.registro-link a:hover {
  text-decoration: underline;
}

.login-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #000; /* texto negro */
  font-family: 'Playfair Display', serif;
}

.login-link a {
  color: #f13694; /* rosa fuerte */
  font-weight: bold;
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}

/* Aplicar Roboto para formularios, botones y texto general */
input,
button,
.login-container p,
.login-container form,
.registro-link,
.footer-text,
footer {
  font-family: 'Roboto', sans-serif;
}
