html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full screen height */
}

.wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.content-wrapper {
  /* adjust if your header height differs */
  flex: 1;
  min-height: auto !important;
  height: auto !important;
  background: #f4f6f9;
}

/* Optional: if AdminLTE still adds weird margin, reset it */
body > .content-wrapper {
  margin-top: 0 !important;
}
.main-footer-custom {
  background: #f8f9fa;
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid #ddd;
}

.is-invalid {
  border: 1px solid #dc3545 !important;
  border-radius: 4px;
}
.text-danger {
  font-size: 0.9rem;
  color: red;
  display: inline-block !important; /* keeps it beside */
  margin-left: 6px;
}

.navbar-brand-wrapper {
  display: flex;
  align-items: center;
  padding: 0;
}

.pt-7 {
  padding-top: 5rem; /* ~80px, adjust as needed */
}

.brand-logo-custom {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #007bff 0%, #6610f2 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-right: 12px;
}

.navbar-brand-text {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: #343a40;
  margin: 0;
}

.main-header.navbar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

/* Minimal footer styles */
/* .main-footer-custom {
  background-color: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.5rem 1rem;
  text-align: center;
  color: #6c757d;
} */

.footer-copyright {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: #adb5bd;
}

.footer-university {
  font-weight: 600;
  color: #495057;
}

.logo-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: contain;
  margin-right: 10px;
}

/* Remove sidebar layout */
body.layout-top-nav .wrapper .main-header {
  margin-left: 0;
}



@media (max-width: 992px) {
  .navbar-brand-text {
    font-size: 1.4rem !important;
  }
  .brand-logo-custom {
    width: 42px;
    height: 42px;
  }
}


@media (max-width: 768px) {
  .navbar-brand-text {
    font-size: 1.2rem !important;
  }
  .brand-logo-custom {
    width: 36px;
    height: 36px;
  }
}


@media (max-width: 480px) {
  .navbar-brand-text {
    font-size: 1rem !important;
  }
  .brand-logo-custom {
    width: 28px;
    height: 28px;
  }
}

.wizard-tab {
  display: flex;
  justify-content: space-between;
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

/* Progress line behind the steps */
.wizard-tab::before {
  content: "";
  position: absolute;
  top: 30px;
  left: calc(50% / var(--total-steps));
  right: calc(50% / var(--total-steps));
  height: 4px;
  background: #e9ecef;
  z-index: 0;
  transition: all 0.3s ease;
}

/* Green progress line for completed steps */
.wizard-tab::after {
  content: "";
  position: absolute;
  top: 30px;
  left: calc(50% / var(--total-steps));
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #28a745, #20c997);
  z-index: 1;
  transition: width 0.5s ease;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

/* Calculate progress width based on completed steps */
.wizard-tab[data-completed="1"]::after {
  width: 20%;
}
.wizard-tab[data-completed="2"]::after {
  width: 40%;
}
.wizard-tab[data-completed="3"]::after {
  width: 60%;
}
.wizard-tab[data-completed="4"]::after {
  width: 80%;
}
.wizard-tab[data-completed="5"]::after {
  width: 100%;
}

/* Step items */
.wizard-tab .nav-item {
  flex: 1;
  position: relative;
}

/* Step links */
.wizard-tab .nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-weight: 600;
  color: #6c757d;
  padding: 0;
  background: transparent !important;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wizard-tab .nav-link:hover:not(.disabled) {
  color: #007bff;
}

/* Circle with icon */
.wizard-tab .nav-link::before {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #dee2e6;
  background: #fff;
  color: #6c757d;
  margin-bottom: 10px;
  z-index: 2;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1.5rem;
  transition: all 0.4s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Icon content for each step */
.wizard-tab .nav-link[data-step="1"]::before {
  content: "\f0e0";
}
.wizard-tab .nav-link[data-step="2"]::before {
  content: "\f007";
}
.wizard-tab .nav-link[data-step="3"]::before {
  content: "\f0b1";
}
.wizard-tab .nav-link[data-step="5"]::before {
  content: "\f093";
}
.wizard-tab .nav-link[data-step="4"]::before {
  content: "\f06e";
}

/* Active step */
.wizard-tab .nav-link.active::before {
  border-color: #007bff;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.wizard-tab .nav-link.active {
  color: #007bff !important;
}

/* Completed steps */
.wizard-tab .nav-link.completed::before {
  border-color: #28a745;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff;
  content: "\f00c"; /* checkmark */
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.wizard-tab .nav-link.completed {
  color: #28a745;
}

/* Disabled steps */
.wizard-tab .nav-link.disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.wizard-tab .nav-link.disabled::before {
  background: #f8f9fa;
}

/* Step labels */
.wizard-tab .nav-link span {
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Pulse animation for active step */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.15);
  }
}

.wizard-tab .nav-link.active::before {
  animation: pulse 2s infinite;
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
  .wizard-tab::before,
  .wizard-tab::after {
    top: 25px;
    height: 3px;
  }

  .wizard-tab .nav-link::before {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    border-width: 2px;
  }

  .wizard-tab .nav-link span {
    font-size: 0.8rem;
  }

  .wizard-tab {
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .wizard-tab {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .wizard-tab::before,
  .wizard-tab::after {
    display: none; /* Hide line on very small screens */
  }

  .wizard-tab .nav-item {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .wizard-tab .nav-link::before {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .wizard-tab .nav-link span {
    font-size: 0.75rem;
  }
}

@media (max-width: 400px) {
  .wizard-tab .nav-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Card styling for demo */
.wizard-container {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin: 20px auto;
  max-width: 1200px;
}

/* Hide OTP section initially */
.otp-section {
  display: none;
  margin-top: 10px;
}

/* Optional: spacing for input groups */
.email-group .form-control,
.otp-group .form-control {
  min-width: 0;
}

.input-group .btn {
  white-space: nowrap;
}
/* OTP input container */
.otp-inputs {
  max-width: 300px;
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

/* Each OTP box */
.otp-box {
  width: 40px;
  height: 50px;
  font-size: 1.5rem;
  text-align: center;
  border-radius: 8px;
  border: 1px solid #ced4da;
  transition: all 0.3s ease;
}

/* OTP box focus effect */
.otp-box:focus {
  border-color: #28a745;
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
  outline: none;
}

/* Error message */
.otp-error {
  color: #dc3545; /* Bootstrap red */
  margin-top: 0.5rem;
  display: none; /* Hidden by default */
  font-weight: 500;
}

/* Resend button disabled style */
.resend-otp[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Margin top for OTP button row */
.otp-section .d-flex {
  margin-top: 0.75rem;
}

/* Optional: make the OTP section centered on smaller screens */
@media (max-width: 480px) {
  .otp-inputs {
    justify-content: center;
    gap: 8px;
  }
}
.success-icon {
  font-size: 6rem;
}

.callout-info p {
  font-size: 1rem;
  color: #333;
}

.payment-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 0.75rem;
}

.payment-details span strong {
  color: #007bff; /* highlight values */
  font-weight: 600;
}

.callout-info {
  border-left: 4px solid #17a2b8;
  background-color: #f8f9fa;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
}

.photo-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
  margin-bottom: 20px;
}

.photo-rules span {
  background: #ffffff;
  border: 1px solid #007bff;
  color: #007bff;
  padding: 6px 12px;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 123, 255, 0.1);
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* ---- Shared upload box styling ---- */
.upload-box {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  height: 100%;
}

/* ---- Photo Preview ---- */
.photo-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.circle-preview {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #f0f0f0;
  display: block;
}

#photoIcon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: #4b4949;
  pointer-events: none;
}

/* ---- Responsive adjustments ---- */
@media (max-width: 576px) {
  .photo-wrapper {
    width: 90px;
    height: 90px;
  }
  #photoIcon {
    font-size: 40px;
  }
}

#cvFileName + .text-danger {
  display: block; /* ensure error is on new line */
  font-size: 0.875rem;
  margin-top: 4px; /* small spacing */
}

.full-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* semi-transparent black */
  z-index: 9999;
  display: flex;
  flex-direction: column; /* stack spinner + message */
  align-items: center;
  justify-content: center;
  text-align: center;
}

.full-overlay p {
  margin-top: 15px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
}

.preview-photo {
  max-height: 150px;
  object-fit: cover;
}

.cv-preview {
  height: 400px;
}

.pre-wrap {
  white-space: pre-wrap;
}

.processpt {
  padding-top: 6.5rem !important;
}


/* styles.css */
.spinner-gradient {
  color: transparent;
  background: conic-gradient(#4f46e5, #06b6d4, #facc15, #4f46e5); /* blue → cyan → yellow → blue */
  -webkit-background-clip: text;
  background-clip: text;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.mt-15{
  margin-top: 100px;
}

.wing{
  left: 35px; top: 0; bottom: 0; width: 4px; background: #dee2e6; border-radius: 2px;
}

.text-red{
  color: red;
}




 .fullscreen-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  background-color: #f9fafb;
  padding: 1rem;
  box-sizing: border-box;
}
