/* assets/css/request-access.css */
/* Adapta los estilos del HTML original al child theme */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.page-request-access {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a;
  background: #fff;
  min-height: 100vh;
}

.lmi-page {
  display: flex;
  min-height: 100vh;
}

/* LEFT */
.lmi-left {
  flex: 0 0 48%;
  max-width: 580px;
  padding: 48px 56px 60px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* RIGHT */
.lmi-right {
  flex: 1;
  /* 
    Reemplazá 'hero-bg.jpg' por la URL real de tu imagen.
    Ejemplo: background-image: url('/wp-content/uploads/lmi-hero.jpg');
  */
  background: #1d4a6e;
  position: sticky;
  top: 0;
  height: 100vh;
}

/* Logo row */
.logo-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 44px;
  gap: 16px;
}
.logo-left h2 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2364a0;
  line-height: 1.35;
}
.logo-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}
.masscec-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.masscec-logo .icon { width: 42px; height: 42px; }
.masscec-logo .wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.masscec-logo .wordmark span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0065a3;
  text-transform: uppercase;
}
.powered-by {
  font-size: 0.68rem;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 4px;
}
.julius-mark {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

/* About */
.about {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #ebebeb;
}
.about-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7bc043;
  margin-bottom: 8px;
}
.about p {
  font-size: 0.82rem;
  line-height: 1.72;
  color: #555;
}
.about p + p { margin-top: 8px; }

/* Form heading */
h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}
.already-access {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 22px;
}
.already-access a { color: #2364a0; text-decoration: none; font-weight: 500; }
.already-access a:hover { text-decoration: underline; }

/* Privacy box */
.privacy-box {
  background: #f0f7ff;
  border: 1px solid #c5ddf5;
  border-radius: 6px;
  padding: 11px 15px;
  font-size: 0.77rem;
  color: #3a5a80;
  line-height: 1.55;
  margin-bottom: 22px;
}

/* Global error */
.form-global-error {
  background: #fff0f0;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #991b1b;
  margin-bottom: 16px;
}

/* Fields */
.field { margin-bottom: 16px; }
label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 5px;
}
label .req { color: #c0392b; }

input[type="text"],
input[type="email"] {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 9px 13px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
input::placeholder { color: #9ca3af; }
input:focus {
  border-color: #2364a0;
  box-shadow: 0 0 0 3px rgba(35,100,160,0.1);
}

.field-error {
  font-size: 0.74rem;
  color: #c0392b;
  margin-top: 4px;
  display: none;
}
.field.invalid input { border-color: #c0392b; }
.field.invalid .field-error { display: block; }
.field-hint { font-size: 0.74rem; color: #9ca3af; margin-top: 4px; }

/* Checkboxes */
.check-group {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 4px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.check-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  accent-color: #2364a0;
  flex-shrink: 0;
  cursor: pointer;
}
.check-item span { font-size: 0.88rem; color: #374151; }
.other-inline {
  display: none;
  flex: 1;
  border: none;
  border-bottom: 1.5px solid #d1d5db;
  border-radius: 0;
  padding: 1px 4px;
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background: transparent;
  outline: none;
  margin-left: 2px;
}
.other-inline:focus { border-bottom-color: #2364a0; box-shadow: none; }

/* Restricted note */
.restricted-note {
  font-size: 0.78rem;
  color: #2364a0;
  font-weight: 500;
  margin-bottom: 22px;
}

/* Submit */
.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2364a0 !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 11px 26px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  float: right;
  transition: background 0.2s;
}
.submit-btn:hover { background: #1a4f8a !important; }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.page-request-access .submit-btn {
  background: #2364a0 !important;
}
.page-request-access .submit-btn:hover {
  background: #1a4f8a !important;
}

/* Success */
.success-state { padding: 32px 0; }
.success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e8f5e9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.success-state h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.success-state p { font-size: 0.85rem; color: #555; line-height: 1.65; }

/* Footer */
.footer-note {
  margin-top: auto;
  padding-top: 36px;
  font-size: 0.7rem;
  color: #ccc;
}

@media (max-width: 768px) {
  .lmi-page { flex-direction: column; }
  .lmi-right { display: none; }
  .lmi-left { flex: 1; max-width: none; padding: 28px 24px 48px; }
}