/* =========================
   MAIN SECTION
========================= */
body{
  font-family:"Noto Sans Tamil",Arial,sans-serif;
  color:var(--text);
  background:var(--ivory);
  line-height:1.7;
}
.registration-section {
  min-height: 100vh;
  padding: 50px 20px;
  background:
    linear-gradient(rgba(255,250,245,.94), rgba(255,250,245,.94)),
    url("images/pattern.png");
  background-size: cover;
}

.registration-wrapper {
  max-width: 1180px;
  margin: auto;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(61,11,27,.10);
  display: grid;
  grid-template-columns: 280px 1fr;
}

/* =========================
   LEFT STEPPER
========================= */

.step-sidebar {
  background: linear-gradient(160deg, #3d0b1b, #69152e);
  padding: 38px 25px;
  color: #fff;
}

.brand {
  text-align: center;
  margin-bottom: 45px;
}

.brand-icon {
  width: 58px;
  height: 58px;
  margin: auto auto 12px;
  border: 2px solid #e4bd67;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e4bd67;
  font-size: 28px;
}

.brand h2 {
  font-family: "Noto Sans Tamil", Arial, sans-serif;
  font-size: 22px;
  color: #e4bd67;
}

.brand p {
  font-size: 11px;
  color: #eadde0;
  margin-top: 5px;
}

.step-list {
  list-style: none;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  padding-bottom: 32px;
}

.step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  width: 2px;
  height: 32px;
  background: #ffffff30;
}

.step-item.active:not(:last-child)::after {
  background: #e4bd67;
}

.step-number {
  width: 36px;
  height: 36px;
  border: 1px solid #ffffff55;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffffaa;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  background: #3d0b1b;
  z-index: 1;
}

.step-item.active .step-number {
  background: #e4bd67;
  border-color: #e4bd67;
  color: #3d0b1b;
}

.step-item.completed .step-number {
  background: #c79a48;
  border-color: #c79a48;
  color: #fff;
}

.step-label {
  font-size: 12px;
  color: #ffffff88;
  line-height: 1.4;
}

.step-label strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 3px;
}

.step-item.active .step-label,
.step-item.active .step-label strong {
  color: #e4bd67;
}

/* =========================
   FORM AREA
========================= */

.form-area {
  padding: 42px 50px;
  min-width: 0;
}

.form-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.form-top h1 {
  /*font-family: "Noto Sans Tamil", Arial, sans-serif;*/
  font-size: 32px;
  color: #3d0b1b;
  margin-bottom: 8px;
}

.form-top p {
  font-size: 13px;
  color: #806f74;
}

.step-count {
  font-size: 12px;
  font-weight: 700;
  color: #8b1e3f;
  white-space: nowrap;
  background: #fff5e8;
  padding: 8px 14px;
  border-radius: 20px;
}

/* Progress Bar */

.progress-bar {
  height: 5px;
  background: #f1e6df;
  border-radius: 10px;
  margin-bottom: 35px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, #8b1e3f, #c79a48);
  border-radius: 10px;
  transition: .4s ease;
}

/* Form Steps */

.form-step {
  display: none;
  animation: fadeIn .35s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  font-family: "Noto Sans Tamil", Arial, sans-serif;
  font-size: 25px;
  color: #3d0b1b;
  margin-bottom: 7px;
}

.section-heading p {
  font-size: 13px;
  color: #806f74;
}

/* Form Grid */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: #451021;
  margin-bottom: 8px;
}

.form-group label span {
  color: #b12b4d;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e5d6d0;
  border-radius: 9px;
  background: #fffdfb;
  color: #ccc;
  font-family: inherit;
  font-size: 11px;
  outline: none;
  transition: .3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #c79a48;
  box-shadow: 0 0 0 3px rgba(199,154,72,.12);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-group input[type="file"] {
  padding: 10px;
  cursor: pointer;
}

/* Radio & Checkbox */

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-option {
  position: relative;
}

.radio-option input {
  position: absolute;
  opacity: 0;
}

.radio-option label {
  display: block;
  padding: 11px 17px;
  border: 1px solid #e5d6d0;
  border-radius: 25px;
  color: #806f74;
  font-size: 12px;
  cursor: pointer;
  transition: .3s;
}

.radio-option input:checked + label {
  background: #fff5e8;
  border-color: #c79a48;
  color: #8b1e3f;
  font-weight: 700;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border: 1px solid #e5d6d0;
  border-radius: 8px;
  font-size: 12px;
  color: #806f74;
}

.checkbox-option input {
  accent-color: #8b1e3f;
}

/* Info Box */

.info-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff8ed;
  border-left: 3px solid #c79a48;
  padding: 14px 16px;
  border-radius: 6px;
  margin-bottom: 25px;
  font-size: 12px;
  color: #806f74;
  line-height: 1.6;
}

.info-box strong {
  color: #8b1e3f;
}

/* Photo Preview */

.photo-box {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px dashed #c79a48;
  border-radius: 12px;
  padding: 18px;
  background: #fffaf5;
}

.photo-preview {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #f5e9df;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  color: #c79a48;
  font-size: 30px;
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-box p {
  font-size: 12px;
  color: #806f74;
  line-height: 1.6;
}

/* =========================
   PREVIEW PROFILE
========================= */

.preview-card {
  border: 1px solid #ead9c4;
  border-radius: 15px;
  overflow: hidden;
  background: #fffdfb;
}

.preview-header {
  background: linear-gradient(135deg, #3d0b1b, #69152e);
  color: #fff;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.preview-photo {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: #fff5e8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #c79a48;
  font-size: 30px;
  flex-shrink: 0;
}

.preview-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-header h3 {
  font-family: "Noto Sans Tamil", Arial, sans-serif;
  font-size: 24px;
  margin-bottom: 5px;
}

.preview-header p {
  color: #eadde0;
  font-size: 12px;
}

.preview-body {
  padding: 25px;
}

.preview-section {
  margin-bottom: 25px;
}

.preview-section:last-child {
  margin-bottom: 0;
}

.preview-section h4 {
  font-size: 14px;
  color: #8b1e3f;
  border-bottom: 1px solid #ead9c4;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.preview-item {
  font-size: 12px;
  color: #806f74;
}

.preview-item strong {
  display: block;
  color: #451021;
  font-size: 12px;
  margin-bottom: 3px;
}

.preview-about {
  font-size: 13px;
  color: #806f74;
  line-height: 1.7;
}

/* =========================
   BUTTONS
========================= */

.form-buttons {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid #f0e4dc;
}

.btn {
  padding: 13px 25px;
  border-radius: 30px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
}

.btn-prev {
  background: #fff;
  border: 1px solid #d9c5bc;
  color: #806f74;
}

.btn-prev:hover {
  border-color: #8b1e3f;
  color: #8b1e3f;
}

.btn-next,
.btn-submit {
  background: linear-gradient(90deg, #8b1e3f, #c79a48);
  border: 0;
  color: #fff;
  min-width: 150px;
}

.btn-next:hover,
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(139,30,63,.2);
}

.btn-submit {
  display: none;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .registration-wrapper {
    grid-template-columns: 1fr;
  }

  .step-sidebar {
    padding: 25px 20px;
  }

  .brand {
    margin-bottom: 25px;
  }

  .step-list {
    display: flex;
    justify-content: space-between;
    gap: 5px;
  }

  .step-item {
    flex-direction: column;
    gap: 8px;
    padding-bottom: 0;
    flex: 1;
    text-align: center;
  }

  .step-item:not(:last-child)::after {
    left: calc(50% + 20px);
    top: 17px;
    width: calc(100% - 40px);
    height: 2px;
  }

  .step-label {
    font-size: 10px;
  }

  .step-label strong {
    font-size: 11px;
  }

  .form-area {
    padding: 35px 30px;
  }
}

@media (max-width: 600px) {
  .registration-section {
    padding: 20px 10px;
  }

  .step-sidebar {
    padding: 22px 12px;
  }

  .brand {
    margin-bottom: 25px;
  }

  .brand h2 {
    font-size: 19px;
  }

  .step-label {
    display: none;
  }

  .form-area {
    padding: 25px 18px;
  }

  .form-top {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
  }

  .form-top h1 {
    font-size: 26px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .form-group.full {
    grid-column: auto;
  }

  .form-buttons {
    margin-top: 25px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 12px;
  }

  .btn-next,
  .btn-submit {
    min-width: 130px;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .preview-header {
    padding: 20px;
  }

  .preview-header h3 {
    font-size: 20px;
  }

  .preview-body {
    padding: 20px;
  }

  .photo-box {
    align-items: flex-start;
  }
}