/* Modern Colorlib-style applied to 6-step wizard */
body {
  background: #f6f8fb;
  font-family: 'Poppins', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 14px;
  color: #333;
/* banner background color gradiant for logo */
  margin: 0;
  height: 100vh;
  background: radial-gradient(circle at 20% 30%, rgba(255, 82, 82, 0.85), transparent 50%),
              radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.4), transparent 50%),
              radial-gradient(circle at 50% 70%, rgba(255, 82, 82, 0.5), transparent 50%),
              linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 50%, #cccccc 100%);
  background-blend-mode: screen, normal;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #f5f5f5;
}
/* Banner Container */
.form-banner {
  width: 100%;
  height: 175px; /* Reduced by 30% from original 250px */
  display: flex;
  align-items: center;         /* Vertically center the logo */
  justify-content: flex-start; /* Logo aligned to the left */
  text-align: left;
  position: relative;
  overflow: hidden;

  /* Background Image */
  background: url('img/strap.jpg') no-repeat center center;
  background-size: cover; /* Ensures full coverage */
  padding-left: 30px; /* Space between logo and left edge */
}

/* Logo Styling - KEEPING ORIGINAL SIZE */
.form-banner img {
  max-height: 100px; /* Same as before */
  width: auto;
  z-index: 2;
  position: relative;
}

/* Optional overlay to improve contrast */
.form-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15); /* Subtle dark overlay */
  z-index: 1;
}


.card {
  border-radius: 16px;
  border: none;
  padding: 20px;
}

.card-title {
  font-weight: 700;
  color: #2c3e50;
}

.progress {
  background-color: #e9eef7;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(135deg, #5b7df1, #2db4ff);
  font-size: 12px;
  font-weight: 600;
  transition: width .25s ease-in-out;
}

.wizard-headers .wizard-step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e9eef7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #333;
}

.wizard-headers .wizard-step.active {
  background: linear-gradient(135deg,#5b7df1,#2db4ff);
  color: #fff;
  box-shadow: 0 6px 18px rgba(49,84,255,0.2);
}

.form-control, .form-select, textarea {
  border-radius: 10px;
  border: 1px solid #d8e1f3;
  padding: 10px 14px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}

.form-control:focus, .form-select:focus, textarea:focus {
  border-color: #5b7df1;
  box-shadow: 0 0 0 0.25rem rgba(91,125,241,0.25);
}

.btn-primary {
  background: linear-gradient(135deg,#5b7df1,#2db4ff);
  border: none;
  border-radius: 25px;
  padding: 10px 22px;
  font-weight: 600;
}

.btn-secondary {
  border-radius: 25px;
  padding: 10px 22px;
}

.btn-success {
  border-radius: 25px;
  padding: 10px 22px;
  font-weight: 600;
}

/* Step transitions */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn .3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity:0; transform: translateY(6px); }
  to { opacity:1; transform: translateY(0); }
}



/* 🚨 Validation Styles */
input:invalid,
select:invalid,
textarea:invalid {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 0.25rem rgba(231, 76, 60, 0.25) !important;
}

/* ✅ Valid fields (optional but looks nice) */
input:valid,
select:valid,
textarea:valid {
  border-color: #2ecc71;
  box-shadow: 0 0 0 0.25rem rgba(46, 204, 113, 0.25);
}

/* Inline error message */
input:invalid:focus,
select:invalid:focus,
textarea:invalid:focus {
  outline: none;
}

/* Small error helper text */
.error-message {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 4px;
  display: none;
}

.is-invalid {
  border: 2px solid #e74c3c; /* red outline */
  background-color: #fdecea; /* subtle red background */
  transition: border 0.3s, background-color 0.3s;
}

/* Optional: remove highlight when user corrects the field */
input.is-invalid:focus,
select.is-invalid:focus,
textarea.is-invalid:focus {
  border-color: #5b7df1; /* blue on focus */
  background-color: #fff;
}