.complaint-page {
  padding: 55px 0 70px;
  background:
    linear-gradient(135deg, rgba(14, 58, 95, 0.04) 0%, rgba(255, 255, 255, 1) 45%, rgba(240, 179, 94, 0.07) 100%);
}

.complaint-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 34px;
}

.complaint-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 179, 94, 0.12);
  color: #9a5b05;
  border: 1px solid rgba(240, 179, 94, 0.35);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.complaint-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #11385a;
  margin-bottom: 12px;
  line-height: 1.2;
}

.complaint-header p {
  font-size: 15px;
  line-height: 1.7;
  color: #5d6f7f;
  margin: 0 auto 18px;
  max-width: 680px;
}

.status-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #0e3a5f;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid #d7e2ec;
  font-weight: 700;
  transition: all 0.3s ease;
}

.status-link:hover {
  background: #0e3a5f;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(14, 58, 95, 0.16);
}

/* FORM CARD */
.form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  border: 1px solid #e3ebf3;
  box-shadow: 0 18px 40px rgba(10, 35, 60, 0.08);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, #0e3a5f, #f0b35e);
}

.form-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eef3f8;
}

.form-card-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0e3a5f, #1e5a88);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  box-shadow: 0 10px 20px rgba(14, 58, 95, 0.18);
}

.form-card-top h3 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 700;
  color: #12385b;
}

.form-card-top span {
  color: #708191;
  font-size: 14px;
  font-weight: 500;
}

/* GRID SPACING */
.form-card .row {
  margin-left: -10px;
  margin-right: -10px;
}

.form-card .row > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

/* LABELS */
.form-card label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #163b5c;
  margin-bottom: 8px;
}

/* INPUT WRAP */
.input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #f0a940;
  font-size: 15px;
  z-index: 2;
}

.textarea-wrap .input-icon {
  top: 18px;
  transform: none;
}

/* CONTROLS */
.form-control {
  width: 100%;
  height: 48px;
  border: 1px solid #d5dfe8;
  border-radius: 12px;
  background: #ffffff;
  color: #243746;
  font-size: 14px;
  padding: 10px 14px;
  box-shadow: none;
  transition: all 0.3s ease;
}

.with-icon {
  padding-left: 42px;
}

.form-control:focus {
  border-color: #0e3a5f;
  box-shadow: 0 0 0 4px rgba(14, 58, 95, 0.10);
  outline: none;
}

textarea.form-control {
  min-height: 120px;
  height: auto;
  resize: vertical;
  padding-top: 14px;
}

input[readonly] {
  background: #f7f9fc;
  color: #53697a;
  font-weight: 700;
}

/* BUTTON */
.premium-btn {
  background: linear-gradient(90deg, #0e3a5f, #154a74);
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  min-width: 210px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 12px 24px rgba(14, 58, 95, 0.18);
}

.premium-btn i {
  margin-right: 8px;
}

.premium-btn:hover,
.premium-btn:focus {
  background: linear-gradient(90deg, #0a2e4c, #103c5f);
  box-shadow: 0 16px 30px rgba(14, 58, 95, 0.22);
}

/* ALERTS */
.alert {
  border-radius: 12px;
  padding: 13px 16px;
  font-weight: 600;
}

/* ERROR */
.form-control.alert-danger,
.alert-danger.form-control {
  border-color: #dc3545 !important;
  background: #fff8f8 !important;
  box-shadow: none !important;
}

/* SPACING */
.form-card .mb-3 {
  margin-bottom: 18px !important;
}

/* TABLET */
@media (max-width: 991px) {
  .complaint-header h2 {
    font-size: 31px;
  }

  .form-card {
    padding: 26px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .complaint-page {
    padding: 38px 0 48px;
  }

  .complaint-header {
    margin-bottom: 24px;
  }

  .complaint-badge {
    font-size: 12px;
    padding: 7px 14px;
  }

  .complaint-header h2 {
    font-size: 26px;
  }

  .complaint-header p {
    font-size: 14px;
  }

  .status-link {
    width: 100%;
    justify-content: center;
    max-width: 340px;
  }

  .form-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .form-card-top {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .form-card-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    font-size: 18px;
    border-radius: 12px;
  }

  .form-card-top h3 {
    font-size: 20px;
  }

  .form-control {
    height: 46px;
    font-size: 14px;
    border-radius: 10px;
  }

  textarea.form-control {
    min-height: 110px;
  }

  .premium-btn {
    width: 100%;
    min-width: auto;
    padding: 12px 18px;
  }

  .text-end {
    text-align: center !important;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .complaint-header h2 {
    font-size: 23px;
  }

  .form-card {
    padding: 16px 14px;
  }

  .form-card label {
    font-size: 13px;
  }

  .with-icon {
    padding-left: 40px;
  }

  .input-icon {
    left: 12px;
  }
}