html {
    font-size: 14px;
}

:root {
    --caa-blue: #1849bd;
    --caa-blue-dark: #12378e;
    --caa-navy: #151839;
    --caa-ink: #04061e;
    --caa-red: #d6001b;
    --caa-blue-soft: #e8edf8;
    --caa-focus: #00b2ff;
    --ink: #1e293b;
    --muted: #64748b;
    --line: #dbe4ee;
    --app-header-height: 86px;
    --app-footer-height: 68px;
    --app-shell-width: 1640px;
    --app-shell-gutter: 64px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--caa-focus);
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background: #f5f5f5;
}

body > .container {
    width: min(calc(100% - var(--app-shell-gutter)), var(--app-shell-width));
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}

.login-page {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--caa-blue) 0%, var(--caa-navy) 58%, var(--caa-ink) 100%);
}

.login-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.login-card {
    width: min(100%, 460px);
    overflow: hidden;
    border-radius: 10px;
    border-top: 4px solid var(--caa-red);
    background: #fff;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.25);
}

.login-card-main {
    padding: 54px 40px 34px;
    text-align: center;
}

.login-logo {
    width: 116px;
    height: auto;
    margin-bottom: 28px;
}

.login-card-main h1 {
    margin: 0;
    color: var(--caa-navy);
    font-size: 1.5rem;
    font-weight: 700;
}

.login-card-main p,
.login-card-actions p {
    margin: 10px 0 0;
    color: #6b7280;
}

.login-card-actions {
    padding: 28px 40px 42px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.login-microsoft-button {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 26px 0 22px;
    padding: 12px 18px;
    border-color: var(--caa-blue);
    background: var(--caa-blue);
    font-weight: 700;
}

.login-microsoft-button:hover,
.login-microsoft-button:focus {
    border-color: var(--caa-blue-dark);
    background: var(--caa-blue-dark);
}

.login-card-actions > span {
    color: #8a93a3;
    font-size: 0.82rem;
}

.microsoft-mark {
    display: grid;
    width: 18px;
    height: 18px;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.microsoft-mark span:nth-child(1) {
    background: #f25022;
}

.microsoft-mark span:nth-child(2) {
    background: #7fba00;
}

.microsoft-mark span:nth-child(3) {
    background: #00a4ef;
}

.microsoft-mark span:nth-child(4) {
    background: #ffb900;
}

.login-footer {
    margin-top: 26px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
}

.app-header {
    min-height: 76px;
    background: linear-gradient(90deg, var(--caa-blue) 0%, var(--caa-blue-dark) 58%, var(--caa-navy) 100%);
}

.app-header-container {
    position: relative;
    width: min(calc(100% - var(--app-shell-gutter)), var(--app-shell-width));
    max-width: none;
    align-items: center;
    justify-content: space-between;
    padding-right: 0;
    padding-left: 0;
}

.app-header-brand {
    display: inline-flex;
    position: relative;
    z-index: 2;
    min-width: 0;
    align-items: center;
    color: #fff;
}

.app-header-brand:hover,
.app-header-brand:focus {
    color: #fff;
}

.app-header-brand img {
    width: 64px;
    height: auto;
}

.app-header-title {
    position: absolute;
    left: 50%;
    max-width: calc(100% - 220px);
    overflow: hidden;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: translateX(-50%);
    white-space: nowrap;
}

.app-header-title:hover,
.app-header-title:focus {
    color: #fff;
}

.app-user-menu {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}

.user-avatar-button,
.user-profile-avatar {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--caa-blue);
    font-weight: 700;
}

.user-avatar-button {
    border: 2px solid rgba(255, 255, 255, 0.78);
}

.user-avatar-button:focus {
    outline: 3px solid rgba(255, 255, 255, 0.38);
    outline-offset: 3px;
}

.user-profile-menu {
    min-width: 350px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(17, 24, 39, 0.22);
}

.user-profile-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
}

.user-profile-avatar {
    background: var(--caa-blue);
    color: #fff;
}

.user-profile-copy {
    min-width: 0;
}

.user-profile-copy strong,
.user-profile-copy span {
    display: block;
}

.user-profile-copy strong {
    color: #111827;
    font-size: 1.05rem;
}

.user-profile-copy span {
    overflow: hidden;
    color: #6b7280;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.signout-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    color: #d71920;
    font-weight: 700;
}

.signout-button:hover,
.signout-button:focus {
    color: #b9151b;
    background: #fff5f5;
}

@media (max-width: 576px) {
    .login-card-main,
    .login-card-actions {
        padding-right: 26px;
        padding-left: 26px;
    }

    .app-header-brand {
        margin-right: 0;
    }

    .app-header-brand img {
        width: 52px;
    }

    .app-header-title {
        max-width: calc(100% - 150px);
        font-size: 1rem;
    }

    .user-profile-menu {
        min-width: calc(100vw - 32px);
    }
}

.alert-danger {
    display: none;
    margin-top: 20px;
}

.control-label {
    color: var(--caa-navy);
    font-weight: 700;
}

.input-group {
    margin-bottom: 20px;
    vertical-align: middle;
}

.form-control {
    min-height: 44px;
    border: 1px solid #cfd8e6;
    border-radius: 6px !important;
}

.source-club-select:disabled + .select2-container .select2-selection__clear,
.source-club-select:disabled + .select2-container .select2-selection__arrow {
    display: none;
}

.source-club-select:disabled + .select2-container .select2-selection--single {
    padding-right: 0.75rem;
}

.btn-primary {
    border-color: var(--caa-blue);
    background-color: var(--caa-blue);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    border-color: var(--caa-blue-dark);
    background-color: var(--caa-blue-dark);
}

.btn-primary:disabled,
.btn-primary.disabled {
    border-color: #a2b2d7;
    background-color: #a2b2d7;
}

.search-form {
    width: 100%;
    max-width: var(--app-shell-width);
    margin: 0 auto;
}

.search-card,
.results-card {
    border: 1px solid #dce3ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(21, 24, 57, 0.06);
}

.results-card.data-panel {
    max-width: 100%;
    overflow: hidden;
    border-color: var(--line);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.search-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
    border-bottom: 1px solid #dce3ef;
}

.search-card-header h1,
.results-toolbar h1 {
    margin: 0;
    color: var(--caa-navy);
    font-size: 20px;
    font-weight: 800;
}

.search-card-header p,
.results-toolbar p {
    margin: 4px 0 0;
    color: #667085;
    font-size: 14px;
}

.search-card-badge {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--caa-blue-soft);
    color: var(--caa-blue-dark);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.search-card-body {
    padding: 24px;
}

.search-field-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.search-field {
    display: grid;
    grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
    align-items: center;
    gap: 12px 22px;
    min-width: 0;
}

.search-field .control-label {
    width: auto !important;
}

.search-field .select2-container {
    width: 100% !important;
}

.search-field-helper {
    grid-column: 2;
}

.search-field.locked .form-control,
.search-field.locked .select2-container--bootstrap-5 .select2-selection {
    border-color: #c3d5eb;
    background: #eef3fb;
    color: var(--caa-navy);
}

.search-field-helper {
    color: #667085;
    font-size: 13px;
}

.search-form-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.search-form-actions .search-field-helper {
    display: none;
}

.btn-search {
    width: 50%;
    min-width: 280px;
    margin-top: 0;
    border-color: var(--caa-blue);
    background: var(--caa-blue);
    font-weight: 800;
}

.btn-search:hover,
.btn-search:focus {
    border-color: var(--caa-blue-dark);
    background: var(--caa-blue-dark);
}

.info-data {
    width: 100%;
    max-width: var(--app-shell-width);
    margin: 0 auto;
    display: none;
}

.results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.data-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
}

.data-toolbar > div:first-child {
    min-width: 260px;
}

.data-toolbar h2 {
    margin: 0;
    color: var(--caa-navy);
    font-size: 19px;
    font-weight: 800;
}

.data-toolbar p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.data-toolbar-actions {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
}

.back-search {
    display: none;
    width: auto;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 17px;
    border: 1px solid var(--caa-blue);
    border-radius: 6px;
    background: var(--caa-blue);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(0, 86, 166, 0.18);
    white-space: nowrap;
}

.back-search:hover,
.back-search:focus {
    border-color: var(--caa-blue-dark);
    background: var(--caa-blue-dark);
    color: #fff;
}

.grid-table-main {
    max-width: 100%;
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 8px;
}

.data-panel .dataTables_wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    max-width: 100%;
    padding: 0;
}

.data-panel table.dataTable,
.data-panel #main-grid {
    grid-column: 1 / -1;
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse !important;
    table-layout: fixed;
}

.data-panel table.dataTable th,
.data-panel table.dataTable td {
    box-sizing: border-box;
}

.data-panel .dataTables_scroll,
.data-panel .dataTables_scrollHead,
.data-panel .dataTables_scrollHeadInner,
.data-panel .dataTables_scrollBody,
.data-panel .dataTables_scrollHeadInner table,
.data-panel .dataTables_scrollBody table {
    grid-column: 1 / -1;
    width: 100% !important;
    min-width: 0;
}

.data-panel .dataTables_scrollBody {
    max-height: 580px !important;
    min-height: 0;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.data-panel .dataTables_scrollHead,
.data-panel .dataTables_scrollBody {
    border-color: var(--line) !important;
}

.data-panel table.dataTable thead th {
    height: 44px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.22;
    text-transform: uppercase;
    vertical-align: middle !important;
    white-space: normal;
    overflow-wrap: anywhere;
}

.data-panel table.dataTable thead th:first-child,
.data-panel table.dataTable tbody td:first-child {
    width: 78px;
    min-width: 78px;
    text-align: center;
    white-space: nowrap;
}

.data-panel table.dataTable tbody td {
    height: 54px;
    padding: 8px 12px;
    border-color: #edf1f6;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.35;
    vertical-align: middle !important;
    overflow-wrap: anywhere;
}

.data-panel table.dataTable tbody td:first-child {
    color: #94a3b8;
}

.data-panel .table-striped tbody tr:nth-of-type(odd),
.data-panel #main-grid tbody tr:nth-child(odd) {
    background-color: #f7f9fc;
}

.data-panel #main-grid.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-bg-type: #f7f9fc;
}

.data-panel .table-striped tbody tr:nth-of-type(even) {
    background-color: #fff;
}

.data-panel #main-grid tbody tr:hover {
    background: #f0f5ff;
}

.data-panel #main-grid.table-hover > tbody > tr:hover > *,
.data-panel #main-grid tbody tr:hover > * {
    --bs-table-bg-state: #f0f5ff;
}

.data-panel #main-grid_info {
    display: none;
}

.data-panel #main-grid td.dt-control {
    width: 78px;
    text-align: center;
    cursor: pointer;
}

.data-panel #main-grid td.dt-control::before {
    content: "+";
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border: 2px solid #bfe3cd;
    border-radius: 50%;
    background: #e8f5ee;
    color: #17864b;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(21, 24, 57, 0.22);
}

.data-panel #main-grid tr.shown td.dt-control::before {
    content: "-";
    border-color: #f4bdc5;
    background: #fff0f2;
    color: #d6001b;
}

.data-panel #main-grid td .text-success,
.data-panel #main-grid td .text-danger {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 800;
}

.data-panel #main-grid td .text-success {
    background: #e8f5ee;
    color: #17864b !important;
}

.data-panel #main-grid td .text-danger {
    background: #fff0f2;
    color: #d6001b !important;
}

#customNav {
    display: flex !important;
    grid-column: 1 / -1;
    width: 100%;
    align-items: center;
    justify-content: flex-end !important;
    justify-self: stretch;
    margin-top: 0 !important;
    padding: 10px 20px 14px 0;
    border-top: 1px solid var(--line);
    background: #fff;
}

#customNav .btn {
    min-width: 84px;
}

tr.member-details-child > td {
    padding: 0 !important;
    background: #fff;
}

.member-details-child .member-details-panel {
    animation: memberDetailReveal 180ms ease-out;
}

@keyframes memberDetailReveal {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.member-details-row {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    align-items: flex-start;
    background: #fff;
}

.member-details-gutter {
    min-height: 1px;
}

.member-details-panel {
    display: grid;
    gap: 14px;
    padding: 20px 24px 24px 0;
}

.member-details-top-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
}

.member-details-primary-fields {
    display: contents;
}

.member-details-primary-fields .member-detail-field:only-child {
    grid-column: 1;
}

.member-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.member-detail-field {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #dce3ef;
    border-radius: 6px;
    background: #fbfcff;
}

.member-detail-label {
    color: #667085;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.member-detail-value {
    margin-top: 5px;
    color: var(--caa-navy);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.member-detail-value-success {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border-radius: 999px;
    padding: 3px 10px;
    background: #e8f5ee;
    color: #17864b;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.member-detail-value-danger {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border-radius: 999px;
    padding: 3px 10px;
    background: #fff0f2;
    color: #d6001b;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.member-details-actions {
    display: flex;
    min-height: 100%;
    align-items: flex-start;
    justify-content: flex-end;
    grid-column: 3;
}

.btn-view-shell {
    background: var(--caa-blue);
    border-color: var(--caa-blue);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(24, 73, 189, 0.22);
    min-height: 44px;
    padding: 10px 18px;
    white-space: nowrap;
}

.btn-view-shell:hover,
.btn-view-shell:focus {
    background: var(--caa-blue-dark);
    border-color: var(--caa-blue-dark);
    color: #fff;
}

@media (max-width: 1100px) {
    .member-details-top-row,
    .member-details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-details-actions {
        grid-column: 2;
    }
}

@media (max-width: 768px) {
    .search-card-header,
    .search-form-actions,
    .results-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .btn-search {
        width: 100%;
        min-width: 0;
    }

    .search-card-body,
    .search-card-header {
        padding: 18px;
    }

    .search-field {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .search-field-helper {
        grid-column: 1;
    }

    .member-details-row {
        grid-template-columns: 1fr;
    }

    .member-details-gutter {
        display: none;
    }

    .member-details-panel {
        padding: 16px;
    }

    .member-details-top-row,
    .member-details-grid {
        grid-template-columns: 1fr;
    }

    .member-details-actions {
        grid-column: 1;
        justify-content: stretch;
    }

    .btn-view-shell {
        width: 100%;
    }
}

.shell-membership-dialog {
    max-width: 760px;
}

.shell-membership-modal {
    border-radius: 8px;
}

.shell-member-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.shell-member-number {
    margin-top: 4px;
    font-size: 22px;
    font-weight: 700;
}

.shell-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 4px 12px;
    border-radius: 999px;
    color: #17864b;
    font-weight: 700;
    background: #e8f5ee;
    border: 1px solid #bfe3cd;
    white-space: nowrap;
}

.shell-status-badge.not-found {
    color: #6c757d;
    background: #f1f3f5;
    border-color: #d8dee4;
}

.shell-card {
    padding: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 16px;
}

.shell-card-title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
}

.shell-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.shell-field {
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #f8fafc;
}

.shell-field-wide {
    grid-column: span 2;
}

.shell-label {
    color: #6b7280;
    font-size: 13px;
    text-transform: uppercase;
}

.shell-value {
    margin-top: 4px;
    font-weight: 700;
}

.shell-sync-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #f8fafc;
}

.shell-sync-copy {
    min-width: 0;
}

.shell-sync-title {
    font-weight: 700;
}

.shell-sync-meta {
    margin-top: 4px;
    color: #6b7280;
    font-size: 14px;
}

.shell-sync-message {
    display: none;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
}

.shell-sync-message.is-visible {
    display: block;
}

.shell-sync-message.success {
    color: #17864b;
}

.shell-sync-message.warning {
    color: #8a5a00;
}

.shell-sync-message.error {
    color: #dc3545;
}

.shell-sync-button {
    white-space: nowrap;
}

@media (max-width: 820px) {
    .shell-member-heading,
    .shell-sync-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .shell-details-grid {
        grid-template-columns: 1fr;
    }

    .shell-field-wide {
        grid-column: span 1;
    }
}

/* loader */
/* Absolute Center Spinner */
.loader {
    display: none;
    justify-content: center;
    align-items: center;
    margin: 0px;
    position: relative;
    z-index: 4000;
}

    .loader:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        background: radial-gradient(rgba(20, 20, 20,.9), rgba(0, 0, 0, .9));
        background: -webkit-radial-gradient(rgba(20, 20, 20,.9), rgba(0, 0, 0,.9));
    }

.dot {
    width: 24px;
    height: 24px;
    border-radius: 100%;
    display: inline-block;
    animation: slide 1s infinite;
}

    .dot:nth-child(1) {
        animation-delay: 0.1s;
        background: #32aacc;
    }

    .dot:nth-child(2) {
        animation-delay: 0.2s;
        background: #64aacc;
    }

    .dot:nth-child(3) {
        animation-delay: 0.3s;
        background: #96aacc;
    }

    .dot:nth-child(4) {
        animation-delay: 0.4s;
        background: #c8aacc;
    }

    .dot:nth-child(5) {
        animation-delay: 0.5s;
        background: #faaacc;
    }

@-moz-keyframes slide {
    0% {
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(2);
    }

    100% {
        transform: scale(1);
    }
}

@-webkit-keyframes slide {
    0% {
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(2);
    }

    100% {
        transform: scale(1);
    }
}

@-o-keyframes slide {
    0% {
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes slide {
    0% {
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(2);
    }

    100% {
        transform: scale(1);
    }
}
/* loader end */

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.branded-footer {
    padding: 18px 0;
    border-top: 4px solid var(--caa-red);
    background: var(--caa-navy);
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.branded-footer .footer-container {
    display: grid;
    width: min(calc(100% - var(--app-shell-gutter)), var(--app-shell-width));
    max-width: none;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    margin: 0 auto;
}

.branded-footer .footer-copy span {
    display: block;
}

.branded-footer .footer-links {
    display: inline-flex;
    align-items: center;
    gap: 18px;
}

.branded-footer a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.branded-footer a:hover,
.branded-footer a:focus {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 760px) {
    :root {
        --app-shell-gutter: 32px;
    }

    .branded-footer .footer-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}
