.ui-pro-forms .content-wrapper {
  background: #f3f6fb;
}

.ui-pro-forms .content-header h1,
.ui-pro-forms .content-header .m-0 {
  font-weight: 700;
  color: #0f172a;
}

.ui-pro-forms .content-wrapper .card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.ui-pro-forms .content-wrapper .card-header {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 0.9rem 1rem;
}

.ui-pro-forms .content-wrapper .card-title {
  font-weight: 600;
  color: #0f172a;
}

.ui-pro-forms .content-wrapper .card-body {
  padding: 1.1rem 1rem;
  background: #ffffff;
}

.ui-pro-forms .content-wrapper form .form-group {
  margin-bottom: 1rem;
}

.ui-pro-forms .content-wrapper form {
  width: 100%;
}

.ui-pro-forms .content-wrapper .content .container-fluid > .row > [class*="col-"] > form:not(.no-pro-form) {
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  position: relative;
  padding-top: 3.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem 0.9rem;
  align-items: end;
}

.ui-pro-forms .content-wrapper .content .container-fluid > .row > [class*="col-"] > form:not(.no-pro-form)::before {
  content: "Report Filters";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.35rem;
  padding: 0.62rem 0.95rem;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.ui-settings-forms .content-wrapper .content .container-fluid > .row > [class*="col-"] > form:not(.no-pro-form)::before {
  content: "Form Details";
}

.ui-ledger-forms .content-wrapper .content .container-fluid > .row > [class*="col-"] > form:not(.no-pro-form)::before {
  content: "Ledger Filters";
}

.ui-pro-forms .content-wrapper form.form-inline {
  display: block;
  width: 100%;
}

.ui-pro-forms .content-wrapper form.form-inline .form-group {
  display: block;
  width: 100%;
  margin-right: 0;
  margin-bottom: 0;
}

.ui-pro-forms .content-wrapper form.form-inline .form-group > label {
  display: block;
}

.ui-pro-forms .content-wrapper form.form-inline .form-control,
.ui-pro-forms .content-wrapper form.form-inline .custom-select,
.ui-pro-forms .content-wrapper form.form-inline select {
  width: 100%;
}

.ui-pro-forms .content-wrapper form label {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #334155;
}

.ui-pro-forms .content-wrapper form .form-control,
.ui-pro-forms .content-wrapper form .custom-select,
.ui-pro-forms .content-wrapper form textarea,
.ui-pro-forms .content-wrapper form select {
  min-height: 42px;
  border: 1px solid #b8c5d8;
  border-radius: 8px;
  background-color: #fff;
  color: #0f172a;
  box-shadow: 0 1px 1px rgba(15, 23, 42, 0.02);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ui-pro-forms .content-wrapper form textarea {
  min-height: 110px;
}

.ui-pro-forms .content-wrapper form .form-control:focus,
.ui-pro-forms .content-wrapper form .custom-select:focus,
.ui-pro-forms .content-wrapper form textarea:focus,
.ui-pro-forms .content-wrapper form select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 0.18rem rgba(37, 99, 235, 0.14);
}

.ui-pro-forms .content-wrapper form .input-group-text {
  border: 1px solid #b8c5d8;
  border-right: 0;
  background: #f8fafc;
  color: #475569;
}

.ui-pro-forms .content-wrapper .select2-container--bootstrap .select2-selection {
  min-height: 42px;
  border: 1px solid #b8c5d8;
  border-radius: 8px;
  padding-top: 5px;
}

.ui-pro-forms .content-wrapper .btn {
  border-radius: 8px;
  font-weight: 600;
}

.ui-pro-forms .content-wrapper form .btn-primary,
.ui-pro-forms .content-wrapper form button[type="submit"] {
  padding: 0.5rem 0.95rem;
}

.ui-pro-forms .content-wrapper form .btn + .btn,
.ui-pro-forms .content-wrapper form input[type="button"] + input[type="button"],
.ui-pro-forms .content-wrapper form input[type="submit"] + input[type="button"] {
  margin-left: 0.45rem;
}

.ui-pro-forms .content-wrapper form .help-block,
.ui-pro-forms .content-wrapper form .text-muted,
.ui-pro-forms .content-wrapper form small {
  color: #64748b !important;
}

.ui-pro-forms .content-wrapper .table {
  border-radius: 10px;
  overflow: hidden;
}

.ui-pro-forms .content-wrapper .table thead th {
  background: #eef3fb;
  border-bottom: 1px solid #d8e2f1;
  color: #334155;
  font-weight: 700;
}

@media (min-width: 768px) {
  .ui-pro-forms .content-wrapper .card-body {
    padding: 1.25rem 1.35rem;
  }

  .ui-pro-forms .content-wrapper .content .container-fluid > .row > [class*="col-"] > form:not(.no-pro-form) {
    padding: 3.45rem 1.2rem 1.1rem;
  }

  .ui-pro-forms .content-wrapper form.form-inline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: end;
    gap: 0.85rem 0.9rem;
  }

  .ui-pro-forms .content-wrapper form.form-inline .form-group {
    min-width: 0;
    margin-bottom: 0;
  }

  .ui-pro-forms .content-wrapper form.form-inline .form-group.text-right {
    grid-column: 1 / -1;
    justify-self: end;
  }
}
