/* =========================================================================
   Mentor Registration Portal Stylesheet
   AIC - GBU Incubation Centre (Gautam Buddha University, Greater Noida)
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --mentor-primary: #12305c;
  --mentor-primary-dark: #0a1f44;
  --mentor-primary-light: #1e4b8a;
  --mentor-accent: #2563eb;
  --mentor-accent-light: #93c5fd;
  --mentor-accent-soft: #eff6ff;
  --mentor-text-main: #0f172a;
  --mentor-text-muted: #475569;
  --mentor-border: #e2e8f0;
  --mentor-bg: #ffffff;
  --mentor-card-bg: #ffffff;
  --mentor-success: #10b981;
  --mentor-danger: #dc2626;
  --mentor-warning: #f59e0b;
}

html, body.mentor-reg-page {
  height: 100%;
}

body.mentor-reg-page {
  background: #ffffff !important;
  color: var(--mentor-text-main) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Remove site decorative gradients on this standalone page */
body.mentor-reg-page::before,
body.mentor-reg-page::after {
  display: none !important;
}

/* Suppress global navigation elements dynamically injected by main.js */
body.mentor-reg-page #mobile-nav-toggle,
body.mentor-reg-page #mobile-nav,
body.mentor-reg-page #mobile-body-overly {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Standalone Minimal Header */
.mentor-standalone-header {
  flex-shrink: 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.mentor-brand-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.mentor-brand-link:hover {
  text-decoration: none;
}

.mentor-brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.mentor-brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #12305c;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.mentor-brand-sub {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.2;
}

.mentor-reg-wrapper {
  margin-top: 36px;
  margin-bottom: 40px;
  max-width: 1060px;
  width: 100%;
  padding: 0 20px;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.mentor-success-wrapper,
.mentor-closed-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  padding: 30px 0 40px;
}

.mentor-closed-card {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

/* ---------------- Hero Section (White Card Design) ---------------- */
.mentor-hero-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 38px 40px 32px;
  color: #0f172a;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  margin-bottom: 28px;
}

.mentor-hero-card::after,
.mentor-hero-card::before {
  display: none;
}

.mentor-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.mentor-hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.mentor-hero-title span {
  color: #2563eb;
}

.mentor-hero-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: #334155;
  max-width: 100%;
  width: 100%;
  margin-bottom: 20px;
}

.mentor-hero-desc p {
  margin-bottom: 9px;
}

.mentor-hero-desc p:last-child {
  margin-bottom: 0;
}

.mentor-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mentor-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: #334155;
  font-weight: 600;
}

.mentor-pill-item i {
  color: #2563eb;
}

/* Minimal Standalone Footer */
.mentor-standalone-footer {
  flex-shrink: 0;
  margin-top: auto;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  padding: 24px 0;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}



.stepper-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.stepper-nav::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: #e2e8f0;
  z-index: 1;
}

.stepper-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  flex: 1;
}

.step-indicator {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid #e2e8f0;
  transition: all 0.25s ease;
  margin-bottom: 8px;
}

.stepper-nav-item.active .step-indicator {
  background: var(--mentor-primary);
  color: #ffffff;
  border-color: var(--mentor-primary);
  box-shadow: 0 0 0 4px rgba(18, 48, 92, 0.15);
}

.stepper-nav-item.completed .step-indicator {
  background: var(--mentor-success);
  color: #ffffff;
  border-color: var(--mentor-success);
}

.step-title {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-align: center;
  transition: color 0.2s ease;
}

.stepper-nav-item.active .step-title {
  color: var(--mentor-primary);
  font-weight: 700;
}

.stepper-nav-item.completed .step-title {
  color: var(--mentor-text-main);
}

/* ---------------- Form Container Card ---------------- */
.mentor-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 42px 48px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
}

.form-section-block {
  position: relative;
}

/* ---------------- Numbered Step Header (Reference Image Style) ---------------- */
.step-header {
  border-bottom: none;
  padding-bottom: 4px;
  margin-bottom: 24px;
}

.step-header-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.step-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #2563eb;
  color: #ffffff;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.step-header-subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  padding-left: 40px;
}

/* ---------------- Form Labels (Reference Image: Crisp Uppercase & Subtitle) ---------------- */
.form-label-custom {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.03em;
  margin-bottom: 7px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.form-label-custom > span {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}

.form-label-custom .req-star {
  color: #dc2626;
  font-weight: 700;
  font-size: 13px;
  margin-left: 2px;
}

.photo-hint-sub {
  font-size: 11.5px;
  color: #64748b;
  margin-top: -3px;
  margin-bottom: 8px;
}

/* ---------------- Input & Select Controls (Modern Crisp Style) ---------------- */
.form-control-custom,
.form-select-custom {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13.5px;
  color: #0f172a;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.form-control-custom::placeholder {
  color: #94a3b8;
  font-size: 13px;
}

.form-control-custom:hover {
  border-color: #cbd5e1;
}

.form-control-custom:focus,
.form-select-custom:focus {
  border-color: #2563eb;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.form-control-custom.is-invalid,
.form-select-custom.is-invalid {
  border-color: #ef4444;
  background-color: #fffaf0;
}

.auto-expand-textarea {
  min-height: 44px;
  height: 44px;
  resize: vertical;
  line-height: 1.5;
  overflow-y: auto;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-error-msg {
  color: #dc2626;
  font-size: 11.5px;
  font-weight: 500;
  margin-top: 5px;
  display: none;
}

.field-error-msg.visible {
  display: block;
}

/* ---------------- Option Radio & Checkbox Cards ---------------- */
.card-choice-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.card-choice-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0;
  user-select: none;
}

.card-choice-label:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.card-choice-label input[type="radio"],
.card-choice-label input[type="checkbox"] {
  accent-color: #2563eb;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.card-choice-label.selected {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.choice-content {
  font-size: 13px;
  color: #1e293b;
  font-weight: 500;
}

.card-choice-label.selected .choice-content {
  color: #1d4ed8;
  font-weight: 600;
}

/* ---------------- Photo Dropzone (Reference Match: Dashed Rounded Card) ---------------- */
.photo-dropzone-box {
  border: 1.5px dashed #cbd5e1;
  border-radius: 14px;
  width: 100%;
  min-height: 140px;
  padding: 18px 14px;
  text-align: center;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.photo-dropzone-box:hover,
.photo-dropzone-box.dragover {
  border-color: #2563eb;
  background: #f8fafc;
}

.dropzone-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.dropzone-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s ease;
}

.photo-dropzone-box:hover .dropzone-icon {
  background: #eff6ff;
  color: #2563eb;
}

.dropzone-text-group {
  text-align: center;
}

.dropzone-prompt {
  font-size: 12.5px;
  color: #475569;
  margin: 0;
  font-weight: 500;
}

.dropzone-prompt .browse-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: underline;
}

.photo-preview-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  width: 100%;
}

.photo-preview-state.active {
  display: flex;
}

.preview-avatar-circle {
  width: 72px;
  height: 86px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.preview-details {
  width: 100%;
  text-align: center;
}

.preview-details h6 {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 1px;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.preview-details p {
  font-size: 10px;
  color: #64748b;
  margin: 0 0 4px 0;
}

/* ---------------- Declaration Box ---------------- */
.declaration-legal-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 24px;
  font-size: 13px;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 20px;
}

.declaration-legal-box h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.declaration-legal-box ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.declaration-legal-box li {
  margin-bottom: 8px;
}

/* ---------------- Form Navigation Buttons ---------------- */
.form-nav-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 24px;
  margin-top: 32px;
}

.btn-mentor-primary {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #2563eb;
  border: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 28px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-mentor-primary:hover {
  background: #1d4ed8;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

/* ---------------- Success & Closed Cards ---------------- */
.mentor-success-card {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 36px 44px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

.mentor-closed-card {
  text-align: center;
  padding: 60px 30px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.success-badge-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin: 0 auto 22px auto;
  box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.08);
  flex-shrink: 0;
}

.closed-badge-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fef2f2;
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin-bottom: 20px;
  box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.08);
}

.success-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  text-align: center;
}

.app-code-box {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 14px;
  padding: 16px 24px;
  margin: 6px auto 24px auto;
  width: 100%;
  max-width: 440px;
  text-align: center;
  box-sizing: border-box;
}

.app-code-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 6px;
}

.app-code-value {
  font-family: 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
  font-size: 20px;
  font-weight: 800;
  color: #1d4ed8;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-break: keep-all;
}

.app-code-sub {
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 6px;
}

.success-card-desc {
  font-size: 14.5px;
  color: #64748b;
  max-width: 540px;
  margin: 0 auto 28px auto;
  line-height: 1.7;
  text-align: center;
}

.success-actions-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.btn-success-action {
  flex: 1 1 200px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* ---------------- Responsive Tweaks ---------------- */
@media (max-width: 768px) {
  .mentor-hero-card {
    padding: 28px 20px;
  }
  .mentor-form-card {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .step-header-subtitle {
    padding-left: 0;
    margin-top: 4px;
  }
  .card-choice-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .mentor-reg-wrapper {
    margin-top: 18px;
    margin-bottom: 24px;
    padding: 0 14px;
  }
  .mentor-success-card {
    padding: 34px 18px 28px;
    border-radius: 18px;
  }
  .success-card-title {
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 14px;
  }
  .app-code-box {
    padding: 14px 14px;
    max-width: 100%;
    margin-bottom: 20px;
  }
  .app-code-value {
    font-size: 17px;
  }
  .app-code-sub {
    font-size: 11px;
  }
  .success-card-desc {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  .success-actions-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .btn-success-action {
    width: 100%;
    flex: none;
    padding: 12px 18px;
  }
}