/* ==========================================================================
   LENTIX - Photographer Capture Page (Evermax Full-Bleed Split Layout)
   ========================================================================== */

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --bg-left: #080612;
  --bg-right: #f3f6fa;
  --bg-card: #ffffff;
  
  --purple-primary: #7c3aed;
  --purple-gradient: linear-gradient(135deg, #7c3aed 0%, #9333ea 50%, #b87cf8 100%);
  --purple-text-gradient: linear-gradient(90deg, #a855f7 0%, #d8b4fe 100%);
  --purple-light-bg: #f3e8ff;
  --purple-glow: rgba(124, 58, 237, 0.35);
  
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #ffffff;
  --text-sidebar-dim: #94a3b8;
  
  --input-bg: #ffffff;
  --input-border: #e2e8f0;
  --input-icon: #94a3b8;
  
  --radius-card: 24px;
  --radius-input: 12px;
  
  --shadow-card: 0 20px 50px rgba(15, 23, 42, 0.08), 0 0 35px rgba(124, 58, 237, 0.05);
  --shadow-focus: 0 0 0 4px rgba(124, 58, 237, 0.14);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-main);
  background-color: var(--bg-left);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Full Viewport 100vh Split Screen */
.split-screen {
  display: flex;
  min-height: 100vh;
  width: 100vw;
}


/* ==========================================================================
   HERO ESQUERDO (DARK PURPLE FULL HEIGHT)
   ========================================================================== */

.left-hero {
  flex: 1.1;
  background: linear-gradient(145deg, #070510 0%, #130d29 50%, #1e133d 100%);
  color: var(--text-light);
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

/* Ambient Glows */
.hero-glow-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.2);
  top: -150px;
  left: -150px;
  filter: blur(120px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.15);
  bottom: -100px;
  right: -100px;
  filter: blur(100px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-text {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #ffffff;
  line-height: 1;
}

.logo-x {
  background: var(--purple-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-tagline {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #a0aec0;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Hero Tag Badge */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.22);
  border: 1px solid rgba(168, 85, 247, 0.4);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #d8b4fe;
  margin-top: 28px;
  width: fit-content;
}

.hero-tag svg {
  width: 14px;
  height: 14px;
}

/* Hero Title & Description */
.hero-title {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  margin-top: 14px;
  letter-spacing: -0.6px;
}

.purple-highlight {
  background: linear-gradient(90deg, #a855f7 0%, #e9d5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 14.5px;
  color: #a0aec0;
  line-height: 1.6;
  margin-top: 12px;
  margin-bottom: 28px;
  max-width: 520px;
}

/* 2x2 Feature Grid (Evermax Style) */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.feature-card:hover {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-2px);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.2);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
}

.feature-info h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.feature-info p {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.3;
}

/* Camera Banner Card */
.camera-banner-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 110px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 20px;
  background: #000;
}

.camera-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.camera-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 5, 16, 0.9) 0%, rgba(7, 5, 16, 0.4) 100%);
}

.camera-banner-text {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.camera-banner-text span {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #a855f7;
}

.camera-banner-text strong {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

/* Hero Footer */
.hero-footer {
  font-size: 12px;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

/* ==========================================================================
   CONTEÚDO DIREITO (LIGHT BG + FLOATING CARD)
   ========================================================================== */

.right-content {
  flex: 1.2;
  background: var(--bg-right);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  min-height: 100vh;
  overflow-y: auto;
}

.form-card-container {
  background: var(--bg-card);
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-card);
  padding: 40px 38px;
  box-shadow: var(--shadow-card);
  border: 1px solid #e2e8f0;
}

/* Badge Pill Header */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #475569;
  margin-bottom: 12px;
}

.badge-pill svg {
  width: 13px;
  height: 13px;
  color: var(--purple-primary);
}

.form-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 4px;
  letter-spacing: -0.4px;
}

.form-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Form Layout */
#photographerForm {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--input-icon);
  pointer-events: none;
  transition: var(--transition);
}

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 42px;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-input);
  font-family: var(--font-main);
  font-size: 13.5px;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
}

.input-wrapper input::placeholder {
  color: #cbd5e1;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
  border-color: var(--purple-primary);
  box-shadow: var(--shadow-focus);
}

.input-wrapper input:focus ~ .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--purple-primary);
}

/* Select specific styling */
.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 36px;
}

.select-wrapper select:disabled {
  background-color: #f8fafc;
  cursor: not-allowed;
  opacity: 0.7;
}

.select-chevron {
  position: absolute;
  right: 14px;
  width: 16px;
  height: 16px;
  color: #94a3b8;
  pointer-events: none;
}

/* Validation Errors */
.input-wrapper.error input,
.input-wrapper.error select {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.error-message {
  font-size: 11px;
  color: #ef4444;
  font-weight: 600;
  display: none;
}

.form-group.has-error .error-message {
  display: block;
}

/* Radio Group (Pill Buttons) */
.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.radio-pill {
  cursor: pointer;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  background: #f8fafc;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-input);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.radio-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  transition: var(--transition);
}

.radio-pill input:checked + .pill-btn {
  border-color: var(--purple-primary);
  background-color: #fbf7ff;
  color: var(--purple-primary);
}

.radio-pill input:checked + .pill-btn .radio-dot {
  border-color: var(--purple-primary);
  background-color: var(--purple-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

/* Submit Button */
.btn-submit {
  width: 100%;
  height: 50px;
  margin-top: 6px;
  background: var(--purple-gradient);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-input);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
  transition: var(--transition);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.45);
}

.btn-submit .btn-icon {
  width: 18px;
  height: 18px;
}

/* Footer Link */
.login-footer {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.login-footer a {
  color: var(--purple-primary);
  font-weight: 700;
  text-decoration: none;
}

.login-footer a:hover {
  text-decoration: underline;
}

.card-copyright {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 20px;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 9, 26, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: 24px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-icon-circle {
  width: 68px;
  height: 68px;
  background: var(--purple-light-bg);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-primary);
  margin-bottom: 18px;
}

.modal-icon-circle svg {
  width: 36px;
  height: 36px;
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 22px;
}

.summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
}

.summary-item span {
  color: #64748b;
}

.summary-item strong {
  color: #0f172a;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .split-screen {
    flex-direction: column;
  }

  .left-hero {
    padding: 40px 28px;
  }

  .hero-title {
    font-size: 26px;
  }

  .right-content {
    padding: 32px 16px;
  }

  .form-card-container {
    padding: 32px 24px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   LOADING SPINNER (botão de envio)
   ========================================================================== */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.btn-icon.spin {
  animation: spin 0.7s linear infinite;
}
