.baz-modern-page {
  margin-top: 22px;
  margin-bottom: 64px;
  color: #1d3029;
}

.baz-modern-page > .breadcrumb {
  margin: 0 0 24px;
  padding: 0;
  background: transparent;
}

.baz-modern-page > .row > #content {
  padding: 26px 28px;
  border: 1px solid #d8e0dc;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(29, 48, 41, .065);
}

.baz-modern-page h1,
.baz-modern-page #content > h2 {
  margin: 0 0 10px;
  color: #1d3029;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
}

.baz-modern-page #content > p {
  color: #667970;
  font-size: 15px;
  line-height: 1.6;
}

.baz-modern-page fieldset {
  margin: 24px 0 0;
  padding: 22px;
  border: 1px solid #dce5e1;
  border-radius: 16px;
  background: #fbfcfb;
}

.baz-modern-page fieldset legend {
  width: auto;
  margin: 0 0 18px;
  padding: 0 9px;
  border: 0;
  color: #24483b;
  font-size: 19px;
  font-weight: 800;
}

.baz-modern-page .form-group { margin-bottom: 16px; }
.baz-modern-page .control-label { color: #40564c; font-size: 13px; font-weight: 800; }
.baz-modern-page .form-control {
  min-height: 47px;
  border: 1px solid #c3d0ca;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  color: #20362d;
}
.baz-modern-page textarea.form-control { min-height: 118px; }
.baz-modern-page .form-control:focus { border-color: #5d8372; box-shadow: 0 0 0 3px rgba(55,105,83,.12); }
.baz-modern-page .text-danger { margin-top: 6px; font-size: 12px; }
.baz-modern-page .alert { border-radius: 12px; }

.baz-modern-page .buttons,
.baz-modern-page .buttons.clearfix {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #e2e8e5;
}
.baz-modern-page .buttons:before,
.baz-modern-page .buttons:after { display: none; }
.baz-modern-page .buttons .pull-left,
.baz-modern-page .buttons .pull-right { float: none !important; }
.baz-modern-page .btn {
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 800;
}
.baz-modern-page .btn-primary { border-color: #24483b; background: #24483b; color: #fff; }
.baz-modern-page .btn-primary:hover,
.baz-modern-page .btn-primary:focus { border-color: #19372d; background: #19372d; color: #fff; }

.baz-modern-page .table-responsive {
  margin-top: 18px;
  border: 1px solid #d9e2de;
  border-radius: 14px;
}
.baz-modern-page table { margin-bottom: 0; }
.baz-modern-page table thead td { background: #edf3f0; color: #344b41; font-weight: 800; }
.baz-modern-page table td { padding: 13px; border-color: #e1e8e4; vertical-align: middle; }
.baz-modern-page .pagination { margin-bottom: 0; }

.baz-modern-page--success > .row > #content { width: 100%; }
.baz-modern-page--success > .row > #column-left,
.baz-modern-page--success > .row > #column-right { display: none; }
.baz-modern-page--success #content > .buttons { justify-content: flex-end; }

.baz-modern-page--login > .row > #content { width: 100%; padding: 0; border: 0; background: transparent; box-shadow: none; }
.baz-modern-page--login #content > .row { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 18px; margin: 0; }
.baz-modern-page--login #content > .row:before,
.baz-modern-page--login #content > .row:after { display: none; }
.baz-modern-page--login > .row > #column-right { display: none; }
.baz-modern-page--login #content > .row > [class*="col-"] { float: none; width: auto; padding: 0; }
.baz-modern-page--login .well {
  min-height: 100%;
  margin: 0;
  padding: 30px;
  border: 1px solid #d8e0dc;
  border-radius: 20px;
  background: linear-gradient(145deg,#fff,#f4f7f5);
  box-shadow: 0 12px 34px rgba(29,48,41,.065);
}
.baz-modern-page--login .well h2 { margin: 0 0 14px; color: #1d3029; font-size: 28px; font-weight: 800; }
.baz-modern-page--login .well p { color: #64766e; line-height: 1.6; }
.baz-modern-page--login .well form > .form-group a { display: inline-block; margin-top: 9px; color: #315d4d; font-weight: 700; }

.baz-modern-page--register #input-fax,
.baz-modern-page--register label[for="input-fax"] { display: none; }
.baz-modern-page--register #input-fax + * { display: none; }
.baz-modern-page--register .form-group:has(#input-fax) { display: none; }

.baz-modern-page--order-list #content > p,
.baz-modern-page--return-list #content > p,
.baz-modern-page--wishlist #content > p,
.baz-modern-page--download #content > p,
.baz-modern-page--recurring-list #content > p {
  margin: 20px 0 0;
  padding: 34px 22px;
  border: 1px solid #dbe4e0;
  border-radius: 14px;
  background: #f5f8f6;
  color: #64766e;
  text-align: center;
}

.baz-partner-choice {
  max-width: 1080px;
  margin: 24px auto 70px;
  color: #1d3029;
}
.baz-partner-choice__hero { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.baz-partner-choice__eyebrow { color: #718d7e; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.baz-partner-choice__hero h1 { margin: 8px 0 12px; font-size: 44px; font-weight: 800; }
.baz-partner-choice__hero p { margin: 0; color: #64766e; font-size: 17px; line-height: 1.6; }
.baz-partner-choice__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.baz-partner-choice__card { display: flex; flex-direction: column; min-height: 330px; padding: 30px; border: 1px solid #d8e0dc; border-radius: 22px; background: #fff; box-shadow: 0 14px 36px rgba(29,48,41,.07); }
.baz-partner-choice__icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 16px; background: #e5f0eb; color: #24483b; font-size: 24px; }
.baz-partner-choice__card h2 { margin: 0 0 10px; font-size: 27px; font-weight: 800; }
.baz-partner-choice__card p { color: #64766e; line-height: 1.6; }
.baz-partner-choice__card ul { margin: 8px 0 24px; padding: 0; list-style: none; }
.baz-partner-choice__card li { margin: 9px 0; color: #40564c; }
.baz-partner-choice__card li .fa { margin-right: 8px; color: #4f7d69; }
.baz-partner-choice__card .btn { margin-top: auto; padding: 12px 18px; border-radius: 11px; background: #24483b; color: #fff; font-weight: 800; }
.baz-partner-choice__card .btn:hover { background: #19372d; color: #fff; }
.baz-partner-choice__note { margin: 22px 0 0; color: #73827b; text-align: center; }

@media (max-width: 767px) {
  .baz-modern-page { margin-top: 14px; margin-bottom: 44px; }
  .baz-modern-page > .breadcrumb { margin-bottom: 18px; }
  .baz-modern-page > .row > #content { padding: 20px 17px; border-radius: 16px; }
  .baz-modern-page h1,.baz-modern-page #content > h2 { font-size: 28px; }
  .baz-modern-page fieldset { padding: 17px 14px; border-radius: 13px; }
  .baz-modern-page .form-horizontal .control-label { padding-top: 0; margin-bottom: 7px; text-align: left; }
  .baz-modern-page .buttons,.baz-modern-page .buttons.clearfix { align-items: stretch; flex-direction: column-reverse; }
  .baz-modern-page .buttons .pull-left,.baz-modern-page .buttons .pull-right,.baz-modern-page .buttons .btn { width: 100%; text-align: center; }
  .baz-modern-page--login #content > .row { grid-template-columns: 1fr; }
  .baz-modern-page--login .well { padding: 22px 19px; border-radius: 16px; }
  .baz-partner-choice { margin-top: 18px; margin-bottom: 48px; }
  .baz-partner-choice__hero h1 { font-size: 34px; }
  .baz-partner-choice__hero p { font-size: 15px; }
  .baz-partner-choice__grid { grid-template-columns: 1fr; }
  .baz-partner-choice__card { min-height: 0; padding: 24px 20px; border-radius: 18px; }
}
