:root {
  --color-claro: #FFF6E6;
  --color-oscuro: #243245;
  --color-dorado: #E6B046;
  --color-rojo: #9A1F28;
}

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

body {
  font-family: Arial, sans-serif;
  background: url('./ASSETS/CLAQ Login background.jpg') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 1. CONTENEDOR PRINCIPAL */
.claq-login-wrapper {
  display: flex;
  max-width: 1200px;
  width: 90%;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.claq-video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
  mix-blend-mode: screen;
}

/* 2. BLOQUE IZQUIERDO */
.claq-login-info {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--color-claro);
  position: relative;
  z-index: 10;
}

.claq-login-info img {
  width: 320px;
  max-width: 100%;
  margin: 0 auto 30px auto;
  display: block;
}

.motivational-text {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.3rem;
  line-height: 1.5;
  margin: 0 auto 25px auto;
  font-style: italic;
  font-weight: 500;
  text-align: center;
  max-width: 80%;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.legal-text {
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.9;
  text-align: center;
  max-width: 80%;
  margin: 0 auto;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* 3. BLOQUE DERECHO (TARJETA FLOTANTE) */
.claq-login-form {
  width: 420px;
  max-width: 45%;
  background: rgba(36, 50, 69, 0.95); /* --color-oscuro translúcido */
  border-radius: 12px;
  position: relative;
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Ajustes del Modal heredado */
#staff-login-modal {
  width: 100%;
}

.modal-content {
  width: 100%;
}

.modal-header {
  text-align: center;
  margin-bottom: 25px;
}

.modal-header h2 {
  font-family: 'Fraunces', serif;
  color: var(--color-claro);
  font-size: 2rem;
  margin-bottom: 5px;
}

.modal-header p {
  color: #cccccc;
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  color: var(--color-claro);
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: bold;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: var(--color-claro);
  color: var(--color-oscuro);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus {
  border-color: var(--color-dorado);
  box-shadow: 0 0 0 3px rgba(230, 176, 70, 0.3);
}

.password-wrapper {
  position: relative;
}

.toggle-password-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-oscuro);
  opacity: 0.6;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-password-btn:hover {
  opacity: 1;
}

#forgot-password-link, #back-to-login-link {
  color: var(--color-dorado);
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

#forgot-password-link:hover, #back-to-login-link:hover {
  opacity: 0.8;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--color-dorado);
  color: var(--color-oscuro);
  border: none;
  border-radius: 8px;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
  margin-top: 10px;
}

.submit-btn:hover {
  background: #d6a13d;
  transform: translateY(-2px);
}

.error-message {
  color: #ff6b6b;
  font-size: 0.9rem;
  text-align: center;
}

.notification {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  border: 1px solid #2ecc71;
}

/* Ocultar elementos innecesarios del modal heredado */
#close-login-modal, .modal-icon {
  display: none !important;
}
