/**
 * Email Info Modal Styles
 */

#email-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.email-modal {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: emailModalFadeIn 0.25s ease;
  text-align: center;
}

@keyframes emailModalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.email-modal-header {
  margin-bottom: 24px;
}

.email-modal-logo {
  font-size: 32px;
  margin-bottom: 12px;
}

.email-modal-header h2 {
  margin: 0 0 8px 0;
  color: #1a1a2e;
  font-size: 20px;
  font-weight: 600;
}

.email-modal-header p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

#email-info-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#email-modal-input {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  text-align: left;
}

#email-modal-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#email-modal-error {
  color: #dc2626;
  font-size: 13px;
  min-height: 18px;
  text-align: left;
}

.email-modal-btn {
  width: 100%;
  padding: 13px 24px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.email-modal-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.45);
}

#email-modal-cancel {
  display: inline-block;
  margin-top: 16px;
  color: #9ca3af;
  font-size: 13px;
  text-decoration: none;
}

#email-modal-cancel:hover {
  color: #6b7280;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .email-modal {
    padding: 28px 20px;
  }

  .email-modal-header h2 {
    font-size: 18px;
  }
}
