body { background-color: #f7f9fc; }
.form-section { 
  background: white; 
  border-radius: 10px; 
  padding: 25px; 
  margin-bottom: 30px; 
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); 
}
h4.section-title { 
  border-bottom: 2px solid #007bff; 
  padding-bottom: 8px; 
  margin-bottom: 20px; 
  color: #007bff; 
}
.year-select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.year-select select {
  width: 160px;
  display: inline-block;
}
.school-logo {
  display: block;
  margin: 0 auto 15px auto;
  width: 100px;
  height: auto;
}
.photo-box {
  border: 2px dashed #007bff;
  border-radius: 10px;
  padding: 10px;
  background: #eef5ff;
}
.photo-preview {
  display: block;
  margin: 10px auto;
  width: 120px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ccc;
}
.photo-label {
  font-weight: bold;
  color: #007bff;
}

.is-invalid {
  border: 2px solid red !important;
}

.is-valid {
  border: 2px solid green !important;
}

.error {
  font-size: 13px;
  display: block;
  margin-top: 3px;
}

/* START for Step indicator progress bar*/
/* ------------------------------------------
   STEP INDICATOR
-------------------------------------------*/
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap; /* mobile responsive */
}

/* Each step */
.step-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Tooltip */
.step-wrapper[data-tooltip]:hover:after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 1;
    transform: translateY(0);
    transition: 0.2s ease-out;
}

.step-wrapper[data-tooltip]:after {
    opacity: 0;
    transform: translateY(10px);
}

/* Step circle base */
.step-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #555;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    transition: 0.35s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Active Step */
.step-circle.active {
    background: #007bff;
    color: white;
    transform: scale(1.15) rotate(5deg);
}

/* Completed Step */
.step-circle.completed {
    background: #28a745;
    color: white;
    transform: scale(1.1);
}

/* Step Lines */
.step-line {
    flex-grow: 1;
    height: 4px;
    background: #cccccc;
    border-radius: 10px;
    margin: 0 5px;
    transition: background 0.35s ease;
}

/* Completed Line */
.step-line.completed {
    background: #28a745;
}

/* ------------------------------------------
   MOBILE RESPONSIVE
-------------------------------------------*/

@media (max-width: 480px) {
    .step-indicator {
        flex-direction: column;
        gap: 18px;
    }

    .step-line {
        width: 2px;
        height: 40px;  /* becomes vertical */
    }
}
/* END for Step indicator progress bar*/

/* START School Logo*/
.school-logo {
          max-width: 120px;
      }
/* END School Logo*/
