.dynamic-form-wrap {
  margin: 28px auto 50px;
  padding: 28px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(18, 88, 117, .12);
}

.logo_clgttl .college_ttl .text {
  -webkit-text-stroke: .3px #fff;
  text-stroke: .3px #fff;
}

.dynamic-form-wrap .intro-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}

.dynamic-form-wrap .section-kicker {
  margin: 0 0 7px;
  color: #b8252c;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dynamic-form-wrap h2 {
  color: #123f75;
  font-size: 2.6rem;
  font-weight: 700;
}

.dynamic-form-wrap .code-note {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 360px;
  padding: 12px 14px;
  color: #24415f;
  background: #eef6ff;
  border: 1px solid #cfe3f7;
  border-radius: 8px;
  font-size: 1.4rem;
}

.dynamic-form-wrap .form-section {
  padding: 26px 0;
  border-top: 1px solid #dbe4ef;
}

.dynamic-form-wrap .section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.dynamic-form-wrap .section-title span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: #173456;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
}

.dynamic-form-wrap .section-title h3 {
  color: #123f75;
  font-size: 2rem;
  font-weight: 800;
}

.dynamic-form-wrap .form-label {
  color: #334155;
  font-size: 1.45rem;
  font-weight: 700;
}

.dynamic-form-wrap .form-control {
  min-height: 46px;
  border-color: #cbd5e1;
  border-radius: 6px;
  font-size: 1.5rem;
}

.dynamic-form-wrap textarea.form-control {
  min-height: 112px;
}

.dynamic-form-wrap .form-control:focus {
  border-color: #173456;
  box-shadow: 0 0 0 .22rem rgba(18, 88, 117, .14);
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.membership-option {
  display: grid;
  gap: 6px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.membership-option i {
  color: #f9ab03;
  font-size: 2.2rem;
}

.membership-option strong {
  color: #123f75;
  font-size: 1.65rem;
}

.membership-option span {
  color: #64748b;
  font-size: 1.35rem;
}

.btn-check:checked + .membership-option {
  border-color: #173456;
  box-shadow: 0 14px 35px rgba(18, 88, 117, .14);
  transform: translateY(-2px);
}

.dynamic-form-wrap .declaration {
  margin-top: 22px;
  padding: 18px 18px 18px 44px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  font-size: 1.45rem;
}

.dynamic-form-wrap .declaration.has-error {
  border-color: #dc3545;
}

.dynamic-form-wrap .action-bar {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid #dbe4ef;
}

.dynamic-form-wrap .btn {
  min-height: 46px;
  border-radius: 6px;
  font-weight: 800;
}

.receipt-panel {
  margin: 32px auto;
  padding: 28px;
  background: #fff;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(18, 88, 117, .12);
}

.receipt-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
}

.receipt-panel dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 10px 18px;
  font-size: 1.5rem;
}

.receipt-panel dt {
  color: #64748b;
}

.receipt-panel dd {
  margin: 0;
  color: #123f75;
  font-weight: 800;
}

.qr-frame img {
  width: 100%;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
}

.editor-content {
  color: #1f2933;
  font-family: "Josefin Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: auto;
}

.editor-content p {
  margin: 0 0 14px;
  padding-top: 0 !important;
  color: #1f2933;
  line-height: 1.65;
}

.editor-content h1,
.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5,
.editor-content h6 {
  margin: 18px 0 10px;
  color: #173456;
  font-weight: 700;
  line-height: 1.25;
}

.editor-content h1 {
  font-size: 30px;
}

.editor-content h2 {
  font-size: 26px;
}

.editor-content h3 {
  font-size: 22px;
}

.editor-content h4,
.editor-content h5,
.editor-content h6 {
  font-size: 18px;
}

.editor-content ul,
.editor-content ol {
  margin: 0 0 16px 24px;
  padding-left: 18px;
  list-style-position: outside;
}

.editor-content ul {
  list-style-type: disc;
}

.editor-content ol {
  list-style-type: decimal;
}

.editor-content li {
  margin-bottom: 7px;
  color: #1f2933;
  font-size: 16px;
  line-height: 1.55;
}

.editor-content img {
  max-width: 100%;
  margin: 10px 0;
}

.editor-content table {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  border: 1px solid #cbd5e1;
  font-size: 15px;
}

.editor-content table th,
.editor-content table td {
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  vertical-align: top;
}

.editor-content table img:not(.editor-gallery-img) {
  max-width: 100%;
  margin: 0;
}

.editor-content table th {
  color: #fff;
  background: #173456;
  font-weight: 700;
}

.editor-content blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  color: #173456;
  background: #eef6ff;
  border-left: 4px solid #f9ab03;
}

.editor-content a:not(.btn) {
  color: #173456;
  font-weight: 700;
  text-decoration: underline;
}

.editor-content .btn {
  text-decoration: none;
}

.contribution-details {
  margin-bottom: 10px;
}

.editor-image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
  margin: 18px 0;
}

.editor-image-item {
  flex: 0 1 auto;
  max-width: 100%;
  padding: 5px;
  background: #fff;
  box-shadow: 0 0 4px 1px #173456;
  overflow: hidden;
}

.editor-image-item-auto {
  flex: 1 1 240px;
  max-width: 320px;
}

.editor-image-item a {
  display: block;
  overflow: hidden;
}

.editor-image-item img {
  display: block;
  max-width: 100%;
  margin: 0;
  transition: all .3s linear;
}

.editor-image-item-auto img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.editor-image-item:hover img {
  transform: scale(1.06);
}

.editor-table-image-gallery {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
  margin: 6px 0;
  width: 100%;
}

.editor-table-gallery-cell {
  min-width: 220px;
}

.editor-table-image-gallery .editor-image-item {
  display: block;
  flex: 0 0 auto;
  padding: 3px;
  box-shadow: 0 0 3px 1px rgba(23, 52, 86, .45);
}

.editor-table-image-gallery .editor-image-item-auto {
  flex: 0 0 140px;
  width: 140px;
  max-width: 140px;
}

.editor-table-image-gallery .editor-image-item-auto img {
  height: 120px;
}

.editor-table-image-gallery .editor-gallery-img {
  display: block;
  max-width: 100%;
  margin: 0;
}

.single_gallery .fancy__gallery {
  padding: 0;
  background: #fff;
  border: 0;
  box-shadow: 0 0 4px 1px #173456;
  overflow: hidden;
}

.single_gallery .fancy__gallery .gimg_box {
  border: 5px solid #fff;
  border-bottom: 0;
}

.single_gallery .fancy__gallery img {
  transition: all .3s linear;
}

.single_gallery .fancy__gallery:hover img {
  transform: scale(1.1);
}

.single_gallery .fancy__gallery p {
  margin: 0;
  padding: 7px 8px;
  min-height: 38px;
  color: #fff;
  background-color: #032e3f;
  font-size: 16px;
  line-height: 1.35;
  text-align: center;
}

.member-auth-page,
.member-dashboard-page {
  min-height: 620px;
  padding: 54px 15px;
  background: linear-gradient(135deg, var(--site-warm-bg-soft) 0%, var(--site-warm-bg) 52%, #f0dacb 100%);
}

.member-auth-card {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .7fr);
  max-width: 1050px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(6, 24, 44, .26);
}

.member-auth-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 440px;
  padding: 46px;
  color: #fff;
  background:
    linear-gradient(rgba(18, 63, 117, .76), rgba(7, 47, 77, .88)),
    url("../images/about-alumini.jpg") center/cover;
}

.member-auth-mark,
.member-payment-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #f9ab03;
  color: #173456;
  font-size: 24px;
}

.member-auth-visual .section-kicker,
.member-dashboard-hero .section-kicker {
  margin: 20px 0 8px;
  color: #ffe2a0;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.member-auth-visual h2 {
  max-width: 560px;
  color: #fff;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.12;
}

.member-auth-visual p,
.member-dashboard-hero p,
.member-payment-card p {
  color: rgba(255, 255, 255, .86);
  font-size: 1.6rem;
  line-height: 1.6;
}

.member-auth-form {
  padding: 44px 38px;
}

.member-auth-form h1 {
  margin-bottom: 24px;
  color: #123f75;
  font-size: 3rem;
  font-weight: 800;
}

.member-auth-form .form-label {
  color: #334155;
  font-size: 1.45rem;
  font-weight: 800;
}

.member-input {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  min-height: 50px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
}

.member-input i {
  color: #173456;
  font-size: 18px;
  text-align: center;
}

.member-input input {
  width: 100%;
  height: 48px;
  padding: 0 14px 0 0;
  color: #172033;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 1.55rem;
}

.member-full-btn {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  border-radius: 6px;
  font-size: 1.55rem;
  font-weight: 900;
}

.member-register-link {
  display: inline-block;
  margin-top: 18px;
  color: #173456;
  font-size: 1.45rem;
  font-weight: 800;
  text-decoration: underline;
}

.member-dashboard-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.member-dashboard-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
  padding: 26px;
  color: #fff;
  background: #063554;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.member-dashboard-hero .section-kicker {
  margin-top: 0;
}

.member-dashboard-hero h1 {
  color: #fff;
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
}

.member-logout-btn {
  flex: 0 0 auto;
  color: #173456;
  background: #fff;
  border: 0;
  border-radius: 6px;
  font-size: 1.45rem;
  font-weight: 900;
}

.member-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
}

.member-profile-card,
.member-payment-card {
  padding: 26px;
  background: #fff;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(6, 24, 44, .18);
}

.member-code-panel {
  margin-bottom: 22px;
  padding: 22px;
  background: #fff7e1;
  border: 1px solid #ffd983;
  border-radius: 8px;
}

.member-code-panel.has-code {
  background: #e7f8ef;
  border-color: #98e2bb;
}

.member-code-panel span,
.member-info-list span,
.member-order-box span {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.member-code-panel strong {
  display: block;
  color: #087647;
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1;
}

.member-code-panel p {
  margin: 0;
  color: #7a4d00;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.35;
}

.member-info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.member-info-list > div {
  padding: 15px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.member-info-list strong {
  display: block;
  color: #173456;
  font-size: 1.6rem;
  line-height: 1.35;
  word-break: break-word;
}

.member-payment-card {
  text-align: center;
}

.member-payment-card .member-payment-icon {
  margin-bottom: 14px;
}

.member-payment-card h2 {
  color: #173456;
  font-size: 2.4rem;
  font-weight: 900;
}

.member-payment-card p {
  color: #526173;
}

.member-payment-amount {
  margin: 12px 0;
  color: #0f8a5f;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

.member-order-box {
  margin: 18px 0;
  padding: 13px;
  text-align: left;
  background: #eef6ff;
  border-radius: 8px;
}

.member-order-box strong {
  color: #173456;
  font-size: 1.45rem;
  word-break: break-word;
}

.member-paid-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  color: #087647;
  background: #e7f8ef;
  border-radius: 999px;
  font-size: 1.5rem;
  font-weight: 900;
}

@media screen and (min-width: 991px) {
  .member-auth-page,
  .member-dashboard-page {
    margin-top: 11%;
  }
}

@media (max-width: 767px) {
  .dynamic-form-wrap {
    padding: 18px;
  }

  .dynamic-form-wrap .intro-row,
  .receipt-grid {
    display: block;
  }

  .membership-grid {
    grid-template-columns: 1fr;
  }

  .receipt-panel dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .member-auth-card,
  .member-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .member-auth-visual {
    min-height: 280px;
  }

  .member-dashboard-hero {
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .member-auth-page,
  .member-dashboard-page {
    padding: 28px 12px;
  }

  .member-auth-visual,
  .member-auth-form,
  .member-dashboard-hero,
  .member-profile-card,
  .member-payment-card {
    padding: 20px;
  }

  .member-auth-visual h2,
  .member-dashboard-hero h1 {
    font-size: 2.6rem;
  }

  .member-info-list {
    grid-template-columns: 1fr;
  }

  .member-payment-amount {
    font-size: 3.2rem;
  }
}
