/* Shared Member/public web presentation. Keep marketing layouts and business flows intact. */
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/montserrat/Montserrat-Regular.ttf') format('truetype'); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/montserrat/Montserrat-Medium.ttf') format('truetype'); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat/Montserrat-SemiBold.ttf') format('truetype'); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat/Montserrat-Bold.ttf') format('truetype'); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/montserrat/Montserrat-ExtraBold.ttf') format('truetype'); }
html.mfg-web { --mfg-web-font: 'Montserrat', 'Segoe UI', Arial, sans-serif; scroll-padding-top: 90px; }
html.mfg-web {
    --mfg-web-button-radius: 8px;
    --mfg-web-card-radius: 12px;
    --mfg-web-action: #ffa51f;
    --mfg-web-action-hover: #ed9510;
    --mfg-web-action-text: #211a0e;
    --mfg-web-border: #dfe4ea;
    --mfg-web-card-shadow: 0 3px 12px rgba(23, 43, 58, .08);
}
/* Opt-in components preserve each page's font sizes, padding and layout. */
html.mfg-web body .mfg-web-card {
    border-radius: var(--mfg-web-card-radius);
    border: 1px solid var(--mfg-web-border);
    box-shadow: var(--mfg-web-card-shadow);
}
html.mfg-web body .mfg-web-card:hover { transform: none; box-shadow: var(--mfg-web-card-shadow); }
html.mfg-web body .membership-card.mfg-web-card { overflow: hidden; }
html.mfg-web body .membership-card.mfg-web-card > .card-header {
    border-radius: var(--mfg-web-card-radius) var(--mfg-web-card-radius) 0 0 !important;
}
html.mfg-web body :is(.mfg-web-button, #confirmationModal .mfg-web-button) {
    border-radius: var(--mfg-web-button-radius);
    max-width: 100%; min-width: 0; white-space: normal; overflow-wrap: anywhere;
    text-decoration: none;
}
html.mfg-web body :is(.mfg-web-button, #confirmationModal .mfg-web-button):is(:hover,:active,:focus) { transform: none; }
html.mfg-web body :is(.mfg-web-button, #confirmationModal .mfg-web-button).mfg-web-primary {
    background: var(--mfg-web-action);
    border: 1px solid var(--mfg-web-action);
    color: var(--mfg-web-action-text);
    box-shadow: 0 2px 6px rgba(23, 43, 58, .1);
}
html.mfg-web body :is(.mfg-web-button, #confirmationModal .mfg-web-button).mfg-web-primary:is(:hover,:focus,:focus-visible,:active) {
    background: var(--mfg-web-action-hover) !important;
    border-color: var(--mfg-web-action-hover) !important;
    color: var(--mfg-web-action-text) !important;
    box-shadow: 0 2px 6px rgba(23, 43, 58, .1) !important;
}
html.mfg-web body :is(.mfg-web-button, #confirmationModal .mfg-web-button).mfg-web-secondary {
    background: #fff; border: 1px solid #a6afb9; color: #414b57;
    box-shadow: none;
}
html.mfg-web body :is(.mfg-web-button, #confirmationModal .mfg-web-button).mfg-web-secondary:is(:hover,:active,:focus) {
    background: #f1f3f5; border-color: #657180; color: #27323f;
}
html.mfg-web body :is(.mfg-web-button, #confirmationModal .mfg-web-button):is(:disabled,.disabled,[aria-disabled="true"]) {
    background: #e5e8ec !important; border-color: #cdd3db !important;
    color: #626b78 !important; box-shadow: none !important; transform: none;
    cursor: not-allowed;
}
html.mfg-web body { font-family: var(--mfg-web-font); }
html.mfg-web body :is(h1,h2,h3,h4,h5,h6,p,a,label,legend,button,input,select,textarea,table,th,td,.badge) { font-family: var(--mfg-web-font); }
html.mfg-web :is(input,select,textarea) { min-width: 0; max-width: 100%; }
html.mfg-web :is(.form-control,.form-select) { min-height: 42px; border-radius: 8px; }
html.mfg-web textarea.form-control { min-height: 100px; height: auto; }
html.mfg-web .form-label { display: block; line-height: 1.5; }
html.mfg-web .input-group > :is(.form-control,.form-select) { min-width: 0; }
html.mfg-web :is(.btn,.page-link,button,a,input,select,textarea):focus-visible { outline: 2px solid #9c6300; outline-offset: 3px; }
html.mfg-web .btn { overflow-wrap: anywhere; }
html.mfg-web :is(.card,.card-body,.row > *) { min-width: 0; }
html.mfg-web :is(.page-title,.card-title,.announcement-title,.announcement-message) { overflow-wrap: anywhere; }
html.mfg-web .table-responsive { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* The Member navbar uses z-index 1200. Dialogs and their backdrop must cover it. */
html.mfg-web .modal-backdrop { z-index: 1290; }
html.mfg-web .modal { z-index: 1300; }
html.mfg-web .modal-content { max-height: calc(100vh - 3.5rem); max-height: calc(100dvh - 3.5rem); border-radius: 14px; }
html.mfg-web .modal-content > form { display: flex; flex-direction: column; min-height: 0; max-height: inherit; }
html.mfg-web .modal :is(.modal-header,.modal-footer) { flex-shrink: 0; }
html.mfg-web .modal-body { min-height: 0; overflow-y: auto; overflow-wrap: anywhere; overscroll-behavior: contain; }
html.mfg-web .modal-header .modal-title { min-width: 0; overflow-wrap: anywhere; }
html.mfg-web .modal-header :is(.btn-close,.close) { flex-shrink: 0; }
html.mfg-web .modal-footer { flex-wrap: wrap; gap: .5rem; }
@media (max-width: 1200px) {
    /* The Member navbar moves to the bottom. Reserve room for it and device safe areas. */
    html.mfg-web body { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important; }
    html.mfg-web .navbar { padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px)) !important; }
}
@media (max-width: 575.98px) {
    html.mfg-web :is(input,select,textarea,.form-control,.form-select) { font-size: 16px; }
    html.mfg-web .modal-dialog { margin: .75rem; }
    html.mfg-web .modal-content { max-height: calc(100vh - 1.5rem); max-height: calc(100dvh - 1.5rem); }
    html.mfg-web :is(.modal-header,.modal-body,.modal-footer) { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    html.mfg-web { scroll-behavior: auto !important; }
    html.mfg-web :is(.btn,.card,.modal,.modal-dialog) { transition: none !important; animation: none !important; }
}

