/* TargetResume - Email Collection Screen (Onboarding Step 3) */

.email-screen {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--gray-50);
  overflow: hidden;
}

.email-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  text-align: center;
}

.email-icon {
  width: 80px;
  height: 80px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  font-size: 40px;
}

.email-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.2;
}

.email-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-600);
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto 32px;
}

.email-form {
  width: 100%;
  max-width: 360px;
}

.email-input {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  border: 1px solid var(--gray-300);
  background: white;
  color: var(--gray-900);
  padding: 0 16px;
  font-size: 15px;
  outline: none;
  margin-bottom: 12px;
  transition: all var(--transition-fast);
}

.email-input::placeholder {
  color: var(--gray-400);
}

.email-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.email-privacy-note {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 12px;
  text-align: center;
  line-height: 1.5;
}

.email-privacy-note a {
  color: var(--primary);
  text-decoration: none;
}

.email-privacy-note a:hover {
  text-decoration: underline;
}

.email-footer {
  padding: 16px 16px calc(32px + env(safe-area-inset-bottom, 0px));
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.email-submit-btn {
  width: 100%;
  height: 56px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.email-submit-btn:active:not(:disabled) {
  transform: scale(0.98);
  background: var(--primary-dark);
}

.email-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.email-skip-btn {
  width: 100%;
  height: 48px;
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-300);
  border-radius: 14px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.email-skip-btn:active {
  transform: scale(0.98);
  background: var(--gray-100);
}

/* Responsive */
@media (max-width: 640px) {
  .email-title {
    font-size: 24px;
  }
  
  .email-subtitle {
    font-size: 15px;
  }
}

/* Animations */
.email-icon {
  animation: fadeInScale 0.5s ease-out;
}

.email-title {
  animation: fadeInUp 0.5s ease-out 0.1s both;
}

.email-subtitle {
  animation: fadeInUp 0.5s ease-out 0.2s both;
}

.email-form {
  animation: fadeInUp 0.5s ease-out 0.3s both;
}

.email-footer {
  animation: fadeInUp 0.5s ease-out 0.4s both;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}