: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;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0; /* Padding para scroll en dispositivos muy pequeños */
}

.claq-login-wrapper {
  display: flex;
  flex-direction: column;
  width: 95%;
  background: rgba(36, 50, 69, 0.85); /* oscuro translúcido */
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  position: relative;
  z-index: 10;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: auto;
  max-height: 95vh;
  overflow-y: auto;
}

.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;
}

.claq-login-info {
  padding: 40px 25px;
  background: rgba(154, 31, 40, 0.85); /* --color-rojo */
  color: var(--color-claro);
  text-align: center;
  position: relative;
  z-index: 10;
}

.claq-login-info img {
  width: 140px;
  margin: 0 auto 20px auto;
  display: block;
}

.motivational-text {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 20px;
  font-style: italic;
  font-weight: 500;
}

.legal-text {
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0.85;
}

.claq-login-form {
  padding: 30px 25px 40px 25px;
  position: relative;
  z-index: 10;
}

#staff-login-modal {
  width: 100%;
}

.modal-content {
  width: 100%;
}

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

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

.modal-header p {
  color: #ccc;
  font-size: 0.85rem;
}

.form-group {
  margin-bottom: 18px;
}

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

.form-group input {
  width: 100%;
  padding: 12px;
  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;
}

.form-group input:focus {
  border-color: var(--color-dorado);
  box-shadow: 0 0 0 2px 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);
  padding: 0;
  display: flex;
}

#forgot-password-link, #back-to-login-link {
  color: var(--color-dorado);
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: bold;
  display: block;
}

.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;
}

.submit-btn:active {
  background: #d6a13d;
}

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

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

#close-login-modal, .modal-icon {
  display: none !important;
}
