/* ===============================
   Body Styling
================================ */
body.mentor-body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #0b0223, #0c023a);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: #fafafa;
  margin-bottom: 10px;
}

/* ===============================
   Container
================================ */
.mentor-container {
  width: 100%;
  max-width: 850px;
  background:  rgb(23, 39, 95);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 30px;
  position: relative;
}

/* ===============================
   Header & Steps
================================ */
.mentor-header h2 {
  text-align: center;
  color: #ffffff;
  margin-top: -10px;
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 20px;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.step-circle {
  background: transparent;
  color: white;
  font-weight: bold;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transition: background 0.3s, color 0.3s;
  border: 2px solid #ffffff;
}

.step-title {
  font-size: 0.9rem;
  color: #ffffff;
}

.step.completed .step-circle {
  background: #00c853; /* green when completed */
  border-color: #00c853;
  color: white;
}

.step.active .step-circle {
  background: #26d7f2; /* yellow for current step */
  border-color: white;
  color: rgb(4, 4, 90);
}

.step.completed .step-title {
  color: #00c853;
}

.step.active .step-title {
  color: #ffffff;
}

/* ===============================
   Info Box
================================ */
.info-box {
  background:  rgb(37, 60, 143);
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 400;
}

/* ===============================
   Form Layout
================================ */
.form-page {
  display: none;
  flex-direction: column;
  gap: 15px;
}

input#step1:checked ~ .page1,
input#step2:checked ~ .page2,
input#step3:checked ~ .page3,
input#step4:checked ~ .page4 {
  display: flex;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  box-sizing: border-box;
  background:  rgb(38, 57, 126);
  color: white;
}

textarea {
  resize: none;
}

/* ===============================
   Photo Upload
================================ */
.photo-section {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.photo-section img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #26d7f2;
}

.photo-section input[type="file"] {
  background: transparent;
  padding: 8px 12px;
  font-size: 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  border: none;
}

.custom-file-btn {
  background-color: #26d7f2;
  color: rgb(4, 4, 90);
  padding: 5px 10px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
  font-size: 0.9rem;
}

.custom-file-btn:hover {
  animation: neon-blue-glow 2s infinite;
  color: white;
  background: rgb(4, 4, 90);
}

/* ===============================
   Buttons
================================ */
.btn-row {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

@keyframes neon-blue-glow {
  0% {
    box-shadow: 0 0 10px #00ffff, 0 0 20px #1e90ff, 0 0 30px #87cefa;
  }
  25% {
    box-shadow: 0 0 10px #1e90ff, 0 0 20px #00bfff, 0 0 30px #add8e6;
  }
  50% {
    box-shadow: 0 0 10px #00bfff, 0 0 20px #4682b4, 0 0 30px #b0e0e6;
  }
  75% {
    box-shadow: 0 0 10px #4682b4, 0 0 20px #87cefa, 0 0 30px #00ffff;
  }
  100% {
    box-shadow: 0 0 10px #00ffff, 0 0 20px #1e90ff, 0 0 30px #87cefa;
  }
}

.btn {
  background: #26d7f2;
  color: rgb(4, 4, 90);
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  animation: neon-blue-glow 2s infinite;
  color: white;
  background: rgb(4, 4, 90);
}

.btn.back {
  background: #26d7f2;
  color: rgb(4, 4, 90);
}

.btn.back:hover {
  animation: neon-blue-glow 2s infinite;
  color: white;
  background: rgb(4, 4, 90);
}

/* ===============================
   Success Message
================================ */
.success-box {
  text-align: center;
}

.success-box h2 {
  color: rgb(255, 255, 255);
  font-size: 1.8rem;
}

.success-box p {
  margin-top: 3px;
  margin-bottom: 50px;
  color: #ffffff;
}

/* General container (inherits light gray background from parent) */
.profile-step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Form groups and labels */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-double {
  display: flex;
  gap: 1rem;
}

.form-double .form-group {
  flex: 1;
}

/* Inputs and selects */
.input-field {
  padding: 10px;
  border: 1px solid #999;
  border-radius: 6px;
  background-color: white;
  font-size: 1rem;
}

/* Notes and optional text */
.note {
  font-size: 0.85rem;
  color: #ffffff; /* gray-500 */
  margin-top: -0.5rem;
}

.optional {
  color: #ececec; /* gray-400 */
  font-size: 0.85rem;
}

input::placeholder,
textarea::placeholder {
  color: #ffffff; /* light gray or any other color */
  opacity: 1;
}

.custom-file-upload {
  display: inline-block;
  background: #26d7f2;
  color: rgb(4, 4, 90);
  padding: 5px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9rem;
}

.custom-file-upload:hover {
  color: white;
  background: rgb(4, 4, 90);
}

.success-alert {
  background-color: #d4edda;
  color: #155724;
  padding: 12px 20px;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  margin-bottom: 20px;
  font-weight: bold;
}

.form-page {
  display: none;
}

#step1:checked ~ form .page1,
#step2:checked ~ form .page2,
#step3:checked ~ form .page3,
#step4:checked ~ .page4 {
  display: block;
}

input[type="radio"][name="step"] {
  display: none;
}