/* ==========================================================================
   Modern theme (redesign)
   Everything here is scoped to <body class="mz-page">. A page opts in with
   @section('body_class', 'mz-page') and by loading this file, so pages that
   have not opted in keep the original look. See docs/REDESIGN.md to revert.
   ========================================================================== */

.mz-page {
    --mz-primary: #c2185b;
    --mz-primary-dark: #a01049;
    --mz-accent: #e53950;
    --mz-grad: linear-gradient(135deg, #c2185b 0%, #e53950 100%);
    --mz-ink: #24161d;
    --mz-text: #3d2c34;
    --mz-muted: #7d6a73;
    --mz-line: #ebdfe4;
    --mz-soft: #fdf1f5;
    --mz-bg: #faf6f7;
    --mz-card: #ffffff;
    --mz-radius: 10px;
    --mz-radius-lg: 22px;
    --mz-shadow: 0 1px 2px rgba(36, 22, 29, .04), 0 18px 40px -18px rgba(36, 22, 29, .22);
    --mz-ring: 0 0 0 4px rgba(194, 24, 91, .14);
    --mz-serif: 'Playfair Display', Georgia, serif;

    background: var(--mz-bg);
    color: var(--mz-text);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.mz-page a {
    color: var(--mz-primary);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.mz-page .mz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 24px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .2px;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.mz-page .mz-btn * {
    font-weight: inherit;
}

.mz-page .mz-btn:active {
    transform: translateY(1px);
}

.mz-page .mz-btn:focus-visible {
    outline: none;
    box-shadow: var(--mz-ring);
}

.mz-page .mz-btn--primary {
    background: var(--mz-grad);
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(194, 24, 91, .6);
}

.mz-page .mz-btn--primary:hover {
    color: #fff;
    box-shadow: 0 14px 28px -10px rgba(194, 24, 91, .7);
}

.mz-page .mz-btn--ghost {
    background: #fff;
    border-color: var(--mz-line);
    color: var(--mz-ink);
}

.mz-page .mz-btn--ghost:hover {
    border-color: var(--mz-primary);
    color: var(--mz-primary);
}

.mz-page .mz-btn--sm {
    min-height: 38px;
    padding: 0 16px;
    font-size: 13px;
}

.mz-page .mz-btn--block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   Form fields
   -------------------------------------------------------------------------- */

.mz-page .mz-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px 20px;
}

/* Two columns. On phones only fields marked --sm-half stay side by side
   (short ones such as date/time of birth); everything else takes the row. */
.mz-page .mz-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mz-page .mz-grid--2>.mz-field--full {
    grid-column: 1 / -1;
}

@media (max-width: 767px) {
    .mz-page .mz-grid--2>:not(.mz-field--sm-half) {
        grid-column: 1 / -1;
    }
}

@media (min-width: 768px) {
    .mz-page .mz-grid--2 {
        gap: 12px 20px;
    }
}

/* Every visible field shares a single row, at any width and in equal columns.
   Label, control and hint each get a shared track, so a label that wraps on a
   phone doesn't push its control out of line with its neighbours. */
.mz-page .mz-grid--row {
    grid-template-columns: none;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 4px 12px;
}

.mz-page .mz-grid--row>.mz-field {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
}

@media (min-width: 768px) {
    .mz-page .mz-grid--row {
        column-gap: 20px;
    }
}

.mz-page .mz-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.mz-page .mz-label {
    margin: 0;
    color: var(--mz-ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1px;
}

/* style.css draws a 40px absolutely-positioned asterisk; keep it inline here. */
.mz-page .required {
    position: static;
}

.mz-page .required:after {
    position: static;
    content: " *";
    color: var(--mz-accent);
    font-size: inherit;
    font-weight: 700;
}

.mz-page .mz-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mz-page .mz-split--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mz-page .mz-split--phone {
    /* The code select shows only "+91" when closed (modern.js). */
    grid-template-columns: 96px minmax(0, 1fr);
}

.mz-page .mz-input,
.mz-page .flexdatalist-alias,
.mz-page .selectize-control.mz-input {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border: 1.5px solid var(--mz-line);
    border-radius: var(--mz-radius);
    background-color: #fff;
    color: var(--mz-ink);
    font-size: 14px;
    transition: border-color .15s ease, box-shadow .15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.mz-page select.mz-input {
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237d6a73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    text-overflow: ellipsis;
}

.mz-page .mz-input::placeholder,
.mz-page .flexdatalist-alias::placeholder {
    color: #b3a3aa;
}

.mz-page .mz-input:hover,
.mz-page .flexdatalist-alias:hover {
    border-color: #d9c6ce;
}

.mz-page .mz-input:focus,
.mz-page .flexdatalist-alias:focus {
    outline: none;
    border-color: var(--mz-primary);
    box-shadow: var(--mz-ring);
}

.mz-page .mz-input[readonly] {
    background-color: var(--mz-bg);
    color: var(--mz-muted);
}

/* Hide number spinners on the small numeric inputs. */
.mz-page input.mz-input[type=number]::-webkit-inner-spin-button,
.mz-page input.mz-input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mz-page input.mz-input[type=number] {
    -moz-appearance: textfield;
}

.mz-page .mz-hint {
    margin: 0;
    color: var(--mz-muted);
    font-size: 12px;
}

.mz-page .mz-hint a {
    font-weight: 600;
    text-decoration: none;
}

.mz-page .mz-hint a:hover {
    text-decoration: underline;
}

/* Time of birth: HH : MM */
.mz-page .mz-time {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mz-page .mz-time .mz-hint {
    white-space: nowrap;
}

.mz-page .mz-time .mz-input {
    flex: 1 1 0;
    max-width: 60px;
    min-width: 0;
    text-align: center;
}

.mz-page .mz-time__sep {
    color: var(--mz-muted);
    font-weight: 700;
}

/* Segmented radio choice (e.g. gender). The radio stays in the DOM, just
   visually hidden, so `required` validation still works. */
.mz-page .mz-segment {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mz-page .mz-choice {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.mz-page .mz-choice input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    bottom: 0;
    left: 50%;
}

.mz-page .mz-choice span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 4px 10px;
    border: 1.5px solid var(--mz-line);
    border-radius: var(--mz-radius);
    background: #fff;
    color: var(--mz-text);
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    transition: all .15s ease;
}

.mz-page .mz-choice:hover span {
    border-color: #d9c6ce;
}

.mz-page .mz-choice input:checked+span {
    border-color: var(--mz-primary);
    background: var(--mz-soft);
    color: var(--mz-primary);
}

.mz-page .mz-choice input:disabled+span {
    opacity: .5;
    cursor: not-allowed;
}

.mz-page .mz-choice input:focus-visible+span {
    box-shadow: var(--mz-ring);
}

/* Checkbox row (terms) */
.mz-page .mz-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: var(--mz-muted);
    font-size: 13px;
    cursor: pointer;
}

.mz-page .mz-check input {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--mz-primary);
}

.mz-page .mz-check a {
    font-weight: 600;
}

/* Info callout */
.mz-page .mz-note {
    display: flex;
    gap: 10px;
    padding: 7px 12px;
    border-radius: var(--mz-radius);
    background: var(--mz-soft);
    color: var(--mz-text);
    font-size: 12px;
}

.mz-page .mz-note i {
    margin-top: 2px;
    color: var(--mz-primary);
}

/* Section heading inside a form */
.mz-page .mz-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    color: var(--mz-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.mz-page .mz-section-title::after {
    flex: 1;
    height: 1px;
    background: var(--mz-line);
    content: "";
}

/* --------------------------------------------------------------------------
   Third-party widgets: selectize (multi-select), flexdatalist (city search),
   jQuery UI datepicker.
   -------------------------------------------------------------------------- */

.mz-page .selectize-control.mz-input {
    height: auto;
    padding: 0;
    border: 0;
    box-shadow: none;
}

.mz-page .selectize-control .selectize-input {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 5px 10px;
    border: 1.5px solid var(--mz-line);
    border-radius: var(--mz-radius);
    box-shadow: none;
    background: #fff;
    font-size: 15px;
}

.mz-page .selectize-control.multi .selectize-input.required:after {
    content: none;
}

/* Single selects draw their arrow with :after; undo the .required asterisk there. */
.mz-page .selectize-control.single .selectize-input.required:after {
    position: absolute;
    content: ' ';
    font-size: 0;
}

.mz-page .selectize-control .selectize-input.focus {
    border-color: var(--mz-primary);
    box-shadow: var(--mz-ring);
}

.mz-page .selectize-control.multi .selectize-input>div {
    margin: 0;
    padding: 3px 4px 3px 10px;
    border: 0;
    border-radius: 999px;
    background: var(--mz-soft);
    color: var(--mz-primary);
    font-size: 13px;
    font-weight: 600;
}

.mz-page .selectize-control.plugin-remove_button .item .remove {
    border-left: 0;
    color: var(--mz-primary);
}

.mz-page .selectize-dropdown {
    margin-top: 6px;
    border: 1px solid var(--mz-line);
    border-radius: var(--mz-radius);
    box-shadow: var(--mz-shadow);
    overflow: hidden;
}

/* Selectize copies the select's classes onto its dropdown too; undo the
   .mz-input field sizing there or the list is cut to one 48px row. */
.mz-page .selectize-dropdown.mz-input,
.mz-page .selectize-dropdown.mz-input:hover,
.mz-page .selectize-dropdown.mz-input:focus {
    height: auto;
    padding: 0;
    border: 1px solid var(--mz-line);
    box-shadow: var(--mz-shadow);
}

.mz-page .selectize-dropdown .option {
    padding: 10px 14px;
}

.mz-page .selectize-dropdown .active {
    background: var(--mz-soft);
    color: var(--mz-primary);
}

.mz-page ul.flexdatalist-results {
    margin-top: 6px;
    border: 1px solid var(--mz-line);
    border-radius: var(--mz-radius);
    box-shadow: var(--mz-shadow);
    overflow: hidden;
}

.mz-page ul.flexdatalist-results li {
    padding: 10px 14px;
    border-bottom: 1px solid var(--mz-line);
}

.mz-page ul.flexdatalist-results li.active {
    background: var(--mz-soft);
}

.mz-page ul.flexdatalist-results li span.highlight {
    color: var(--mz-primary);
}

.mz-page .ui-datepicker {
    padding: 10px;
    border: 1px solid var(--mz-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--mz-shadow);
    font-size: 13px;
}

.mz-page .ui-datepicker .ui-widget-header {
    border: 0;
    border-radius: 10px;
    background: var(--mz-soft);
}

.mz-page .ui-datepicker select {
    min-width: 0;
    margin: 0 2px;
    padding: 2px 4px;
    border: 1px solid var(--mz-line);
    border-radius: 6px;
}

.mz-page .ui-datepicker .ui-state-default {
    border: 0;
    border-radius: 8px;
    background: transparent;
    text-align: center;
}

.mz-page .ui-datepicker .ui-state-hover,
.mz-page .ui-datepicker .ui-state-active {
    background: var(--mz-grad);
    color: #fff;
}

/* --------------------------------------------------------------------------
   More third-party widgets: jquery.multiselect (both copies), select2, CKEditor
   -------------------------------------------------------------------------- */

.mz-page .ms-options-wrap>button,
.mz-page .ms-options-wrap>button:focus {
    min-height: 40px;
    padding: 6px 36px 6px 12px;
    border: 1.5px solid var(--mz-line);
    border-radius: var(--mz-radius);
    background: #fff;
    color: var(--mz-ink);
    font-size: 14px;
    line-height: 1.4;
}

.mz-page .ms-options-wrap>button:focus,
.mz-page .ms-options-wrap.ms-active>button {
    outline: none;
    border-color: var(--mz-primary);
    box-shadow: var(--mz-ring);
}

.mz-page .ms-options-wrap>button:after {
    right: 14px;
    border-top-color: var(--mz-muted);
}

.mz-page .ms-options-wrap>.ms-options {
    margin-top: 6px;
    border: 1px solid var(--mz-line);
    border-radius: var(--mz-radius);
    box-shadow: var(--mz-shadow);
}

.mz-page .ms-options-wrap>.ms-options>ul label {
    padding: 6px 10px 6px 34px;
    border-radius: 8px;
}

.mz-page .ms-options-wrap>.ms-options>ul li.selected label,
.mz-page .ms-options-wrap>.ms-options>ul label:hover {
    background: var(--mz-soft);
    color: var(--mz-primary);
}

.mz-page .ms-options-wrap>.ms-options .ms-selectall {
    color: var(--mz-primary);
    font-weight: 600;
}

.mz-page .ms-options-wrap>.ms-options>.ms-search input {
    border-bottom: 1px solid var(--mz-line);
}

.mz-page .select2-container {
    width: 100% !important;
}

.mz-page .select2-container--default .select2-selection--single,
.mz-page .select2-container--default .select2-selection--multiple {
    min-height: 40px;
    border: 1.5px solid var(--mz-line);
    border-radius: var(--mz-radius);
}

.mz-page .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 12px;
    color: var(--mz-ink);
    line-height: 37px;
}

.mz-page .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
    right: 6px;
}

.mz-page .select2-container--default.select2-container--focus .select2-selection--multiple,
.mz-page .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--mz-primary);
    box-shadow: var(--mz-ring);
}

.mz-page .select2-container--default .select2-selection--multiple .select2-selection__choice {
    border: 0;
    border-radius: 999px;
    background: var(--mz-soft);
    color: var(--mz-primary);
    font-weight: 600;
}

.mz-page .select2-dropdown {
    border: 1px solid var(--mz-line);
    border-radius: var(--mz-radius);
    box-shadow: var(--mz-shadow);
    overflow: hidden;
}

.mz-page .select2-container--default .select2-results__option--highlighted[aria-selected],
.mz-page .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: var(--mz-soft);
    color: var(--mz-primary);
}

.mz-page .ck.ck-editor {
    width: 100%;
}

.mz-page .ck.ck-editor__top .ck-toolbar {
    border-color: var(--mz-line);
    border-radius: var(--mz-radius) var(--mz-radius) 0 0 !important;
    background: var(--mz-bg);
}

.mz-page .ck.ck-editor__main>.ck-editor__editable {
    min-height: 140px;
    border-color: var(--mz-line);
    border-radius: 0 0 var(--mz-radius) var(--mz-radius) !important;
}

.mz-page .ck.ck-editor__editable>.ck-placeholder::before {
    color: #b3a3aa;
    font-family: inherit;
}

.mz-page .ck.ck-editor__main>.ck-editor__editable.ck-focused {
    border-color: var(--mz-primary);
    box-shadow: var(--mz-ring);
}

/* flexdatalist with multiple: true renders values as a tag list. */
.mz-page ul.flexdatalist-multiple {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 5px 10px;
    list-style: none;
    cursor: text;
}


.mz-page ul.flexdatalist-multiple.focus {
    border-color: var(--mz-primary) !important;
    box-shadow: var(--mz-ring);
}


.mz-page ul.flexdatalist-multiple:before,
.mz-page ul.flexdatalist-multiple:after {
    display: none;
}


.mz-page ul.flexdatalist-multiple li {
    float: none;
    margin: 0;
}


.mz-page ul.flexdatalist-multiple li.value {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px 4px 2px 10px;
    border-radius: 999px;
    background: var(--mz-soft);
    color: var(--mz-primary);
    font-size: 13px;
    font-weight: 600;
}


.mz-page ul.flexdatalist-multiple li.value span.fdl-remove {
    position: static;
    padding: 0 5px;
    font-size: 16px;
    line-height: 1;
}


.mz-page ul.flexdatalist-multiple li.input-container {
    flex: 1;
    min-width: 120px;
}


.mz-page ul.flexdatalist-multiple li.input-container input,
.mz-page ul.flexdatalist-multiple li.input-container input:focus {
    width: 100%;
    height: 28px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

/* --------------------------------------------------------------------------
   Shared building blocks for every page
   -------------------------------------------------------------------------- */

.mz-page textarea.mz-input {
    height: auto;
    min-height: 88px;
    padding: 10px 12px;
    line-height: 1.5;
    resize: vertical;
}

/* Checkbox / radio chips that wrap: <div class="mz-chips"><label class="mz-choice">
   <input type="checkbox"><span>Label</span></label>...</div> */
.mz-page .mz-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mz-page .mz-chips .mz-choice span {
    padding: 0 14px;
    font-weight: 500;
}

/* A checkbox with a check mark inside the chip makes its state obvious. */
.mz-page .mz-choice input[type=checkbox]+span::before {
    width: 14px;
    height: 14px;
    border: 1.5px solid #cdbac2;
    border-radius: 4px;
    background: #fff center / 10px no-repeat;
    content: "";
}

.mz-page .mz-choice input[type=checkbox]:checked+span::before {
    border-color: var(--mz-primary);
    background-color: var(--mz-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* File upload drop zone. Put the real <input type=file class="mz-upload__input">
   inside; it covers the zone so clicking or dropping anywhere works. */
.mz-page .mz-upload {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 104px;
    padding: 16px;
    border: 1.5px dashed #d9c6ce;
    border-radius: var(--mz-radius);
    background: var(--mz-bg);
    color: var(--mz-muted);
    font-size: 13px;
    text-align: center;
    transition: border-color .15s ease, background-color .15s ease;
}

.mz-page .mz-upload:hover,
.mz-page .mz-upload:focus-within {
    border-color: var(--mz-primary);
    background: var(--mz-soft);
}

.mz-page .mz-upload i {
    color: var(--mz-primary);
    font-size: 22px;
}

.mz-page .mz-upload strong {
    color: var(--mz-ink);
    font-weight: 600;
}

.mz-page .mz-upload__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* A repeated group of fields (education entry, reference, photo...). */
.mz-page .mz-item {
    position: relative;
    padding: 14px;
    border: 1px solid var(--mz-line);
    border-radius: var(--mz-radius);
    background: #fff;
}

.mz-page .mz-item+.mz-item {
    margin-top: 10px;
}

.mz-page .mz-item__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--mz-ink);
    font-size: 13px;
    font-weight: 700;
}

/* Small square icon button (edit, delete, remove row). */
.mz-page .mz-icon-btn {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--mz-line);
    border-radius: 8px;
    background: #fff;
    color: var(--mz-muted);
    text-decoration: none;
    cursor: pointer;
    transition: all .15s ease;
}

.mz-page .mz-icon-btn:hover {
    border-color: var(--mz-primary);
    color: var(--mz-primary);
}

.mz-page .mz-icon-btn--danger:hover {
    border-color: #dc3545;
    background: #fdecee;
    color: #dc3545;
}

.mz-page .mz-btn--danger {
    background: #fff;
    border-color: #f1c4ca;
    color: #c82333;
}

.mz-page .mz-btn--danger:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.mz-page .mz-btn--soft {
    background: var(--mz-soft);
    color: var(--mz-primary);
}

.mz-page .mz-btn--soft:hover {
    background: #fbe1eb;
    color: var(--mz-primary-dark);
}

/* Status badges */
.mz-page .mz-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--mz-bg);
    color: var(--mz-muted);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.mz-page .mz-badge--primary {
    background: var(--mz-soft);
    color: var(--mz-primary);
}

.mz-page .mz-badge--success {
    background: #e7f6ee;
    color: #1e7b4c;
}

.mz-page .mz-badge--warning {
    background: #fff4e0;
    color: #a3620a;
}

.mz-page .mz-badge--danger {
    background: #fdecee;
    color: #c82333;
}

.mz-page .mz-badge--info {
    background: #e8f1fd;
    color: #1d5fb8;
}

/* Note variants */
.mz-page .mz-note--warning {
    background: #fff4e0;
}

.mz-page .mz-note--warning i {
    color: #a3620a;
}

.mz-page .mz-note--danger {
    background: #fdecee;
}

.mz-page .mz-note--danger i {
    color: #c82333;
}

.mz-page .mz-note--success {
    background: #e7f6ee;
}

.mz-page .mz-note--success i {
    color: #1e7b4c;
}

/* Data tables */
.mz-page .mz-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--mz-line);
    border-radius: var(--mz-radius);
    background: #fff;
}

.mz-page .mz-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

.mz-page .mz-table th {
    padding: 10px 12px;
    border-bottom: 1px solid var(--mz-line);
    background: var(--mz-bg);
    color: var(--mz-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.mz-page .mz-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--mz-line);
    color: var(--mz-text);
    vertical-align: middle;
}

.mz-page .mz-table tbody tr:last-child td {
    border-bottom: 0;
}

.mz-page .mz-table tbody tr:hover td {
    background: #fffafc;
}

/* Bootstrap modals */
.mz-page .modal-content {
    border: 0;
    border-radius: var(--mz-radius-lg);
    box-shadow: var(--mz-shadow);
    overflow: hidden;
}

.mz-page .modal-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--mz-line);
}

.mz-page .modal-title {
    color: var(--mz-ink);
    font-family: var(--mz-serif);
    font-size: 20px;
    font-weight: 600;
}

.mz-page .modal-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--mz-line);
}

/* Plain page (not a form step): heading row + content cards. */
.mz-pagehead {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 14px;
}

.mz-pagehead .mz-title {
    margin: 0;
}

.mz-panel {
    padding: 20px;
}

@media (max-width: 575px) {
    .mz-panel {
        padding: 16px 14px;
    }
}

/* Extra buttons in the submit bar (e.g. "Add another") sit on the left. */
.mz-actions {
    gap: 10px;
}

.mz-actions__start {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-right: auto;
}

/* ==========================================================================
   Registration (welcome) page
   ========================================================================== */

.mz-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 68px;
    padding: 0 clamp(16px, 4vw, 48px);
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    transition: box-shadow .2s ease;
}

.mz-topbar.is-scrolled {
    box-shadow: 0 6px 24px -12px rgba(36, 22, 29, .25);
}

.mz-topbar__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 575px) {

    /* Icon-only secondary buttons on phones. */
    .mz-topbar .mz-btn--ghost span {
        display: none;
    }

    .mz-topbar .mz-btn--ghost {
        width: 38px;
        padding: 0;
    }
}

.mz-hero {
    position: relative;
    isolation: isolate;
    padding: 108px 0 56px;
}

.mz-hero__bg,
.mz-hero__shade {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.mz-hero__bg {
    object-fit: cover;
    object-position: 35% 30%;
}

.mz-hero__shade {
    background: linear-gradient(100deg, rgba(36, 10, 22, .82) 0%, rgba(36, 10, 22, .55) 42%, rgba(36, 10, 22, .1) 75%);
}

.mz-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
    gap: 56px;
    align-items: start;
}

/* The form is taller than the copy, so keep the copy in view beside it. */
.mz-hero__copy {
    position: sticky;
    top: 140px;
    max-width: 560px;
    padding-top: 48px;
    color: #fff;
}

/* Website logo. --mz-logo-scale is the size picked in Admin > Settings > Logo & Favicon
   (1 = normal), set on the <img>; every place the logo appears keeps its own proportions. */
.matrimony-logo-image {
    width: calc(150px * var(--mz-logo-scale, 1));
    height: calc(47px * var(--mz-logo-scale, 1));
    max-width: 60vw;
    object-fit: contain;
}

@media only screen and (max-width: 767px) {
    .matrimony-logo-image {
        width: calc(130px * var(--mz-logo-scale, 1)) !important;
        height: calc(41px * var(--mz-logo-scale, 1)) !important;
    }
}

.mz-topbar .matrimony-logo-image {
    width: calc(170px * var(--mz-logo-scale, 1));
    height: calc(52px * var(--mz-logo-scale, 1));
}

.mz-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.mz-display {
    margin: 18px 0 16px;
    font-family: var(--mz-serif);
    font-size: clamp(34px, 4.6vw, 56px);
    font-weight: 600;
    line-height: 1.1;
}

.mz-display em {
    color: #ffb3c9;
    font-family: inherit;
    font-style: italic;
    font-weight: inherit;
}

.mz-lead {
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 17px;
}

.mz-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    font-weight: 500;
}

.mz-trust i {
    margin-right: 6px;
    color: #ffb3c9;
}

/* The registration card */
.mz-card {
    border: 1px solid rgba(235, 223, 228, .7);
    border-radius: var(--mz-radius-lg);
    background: var(--mz-card);
    box-shadow: var(--mz-shadow);
}

.mz-regcard {
    padding: 32px;
}

.mz-regcard__head {
    margin-bottom: 24px;
    text-align: center;
}

.mz-regcard__title {
    margin: 0 0 4px;
    color: var(--mz-ink);
    font-family: var(--mz-serif);
    font-size: 30px;
    font-weight: 600;
}

.mz-regcard__sub {
    margin: 0;
    color: var(--mz-muted);
    font-size: 14px;
}

.mz-regcard__section+.mz-regcard__section {
    margin-top: 28px;
}

.mz-regcard__foot {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.mz-regcard__login {
    margin: 0;
    color: var(--mz-muted);
    font-size: 14px;
    text-align: center;
}

.mz-regcard__login a {
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 991px) {
    .mz-hero {
        padding: 96px 0 32px;
    }

    .mz-hero__bg,
    .mz-hero__shade {
        height: 460px;
    }

    .mz-hero__shade {
        background: linear-gradient(180deg, rgba(36, 10, 22, .35) 0%, rgba(36, 10, 22, .78) 70%, var(--mz-bg) 100%);
    }

    .mz-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .mz-hero__copy {
        position: static;
        max-width: none;
        padding-top: 0;
        text-align: center;
    }

    .mz-trust {
        justify-content: center;
    }

    .mz-hero__form {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .mz-hero__inner {
        padding: 0 12px;
    }

    .mz-lead {
        font-size: 15px;
    }

    .mz-trust {
        gap: 8px 16px;
        margin-top: 18px;
        font-size: 13px;
    }

    .mz-regcard {
        padding: 24px 18px;
    }

    .mz-regcard__title {
        font-size: 26px;
    }
}

/* Content sections below the hero */
.mz-section {
    padding: 72px 0;
}

.mz-section--tight {
    padding-top: 24px;
}

.mz-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.mz-section__title {
    margin: 0;
    color: var(--mz-ink);
    font-family: var(--mz-serif);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
}

.mz-section__sub {
    margin: 6px 0 0;
    color: var(--mz-muted);
}

.mz-arrows {
    display: flex;
    gap: 8px;
}

.mz-arrows .mz-btn {
    width: 44px;
    min-height: 44px;
    padding: 0;
}

/* Horizontal, swipeable strip of success stories */
.mz-strip {
    display: grid;
    grid-auto-columns: calc((100% - 3 * 20px) / 4);
    grid-auto-flow: column;
    gap: 20px;
    padding-bottom: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.mz-strip::-webkit-scrollbar {
    display: none;
}

.mz-story {
    scroll-snap-align: start;
    overflow: hidden;
}

.mz-story img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.mz-story p {
    margin: 0;
    padding: 14px 16px;
    color: var(--mz-ink);
    font-family: var(--mz-serif);
    font-size: 17px;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 991px) {
    .mz-strip {
        grid-auto-columns: 42%;
    }
}

@media (max-width: 575px) {
    .mz-section {
        padding: 48px 0;
    }

    .mz-strip {
        grid-auto-columns: 68%;
        gap: 14px;
    }
}

/* Feature cards */
.mz-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mz-feature {
    padding: 28px;
}

.mz-feature__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: var(--mz-soft);
    color: var(--mz-primary);
    font-size: 22px;
}

.mz-feature h3 {
    margin: 0 0 8px;
    color: var(--mz-ink);
    font-size: 18px;
    font-weight: 700;
}

.mz-feature p {
    margin: 0;
    color: var(--mz-muted);
    font-size: 14px;
}

@media (max-width: 991px) {
    .mz-features {
        grid-template-columns: minmax(0, 1fr);
    }
}

.mz-footer {
    padding: 28px 0;
    border-top: 1px solid var(--mz-line);
    color: var(--mz-muted);
    font-size: 13px;
    text-align: center;
}

/* ==========================================================================
   Profile form steps (master.blade.php + header.blade.php)
   Laid out to fit a laptop screen with little or no scrolling.
   ========================================================================== */

/* Top navigation (header.blade.php, shared, so styled from here only). */
.mz-page .navbar-mobile {
    position: sticky;
    top: 0;
    z-index: 1030;
    align-items: center;
    min-height: 56px;
    padding: 4px clamp(16px, 4vw, 48px) !important;
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 1px 0 var(--mz-line);
}

.mz-page .navbar-mobile .matrimony-logo-image {
    width: calc(140px * var(--mz-logo-scale, 1));
    height: calc(44px * var(--mz-logo-scale, 1));
}

.mz-page .navbar-mobile .navmenu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mz-page .button-pill {
    margin: 0;
    padding: 6px 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--mz-text);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    transition: background-color .15s ease, color .15s ease;
}

.mz-page .button-pill:hover {
    background: var(--mz-soft);
    color: var(--mz-primary);
}

.mz-page .toggle-menu {
    display: none;
    cursor: pointer;
}

.mz-page .toggle-menu-image {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .mz-page .toggle-menu {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border: 1px solid var(--mz-line);
        border-radius: 10px;
        background: #fff;
    }

    .mz-page .navbar-mobile .navmenu {
        position: absolute;
        top: calc(100% + 6px);
        right: 12px;
        left: 12px;
        flex-direction: column;
        align-items: stretch;
        padding: 8px;
        border: 1px solid var(--mz-line);
        border-radius: 16px;
        background: #fff;
        box-shadow: var(--mz-shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: opacity .15s ease, transform .15s ease, visibility .15s;
    }

    .mz-page .navbar-mobile.is-open .navmenu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .mz-page .navbar-mobile .button-pill {
        padding: 12px 14px;
        border-radius: 10px;
        text-align: left;
    }
}

/* Step tabs */
.mz-page #tab {
    top: 0;
    gap: 6px;
    margin: 10px auto 0;
    padding: 2px 12px 4px;
    counter-reset: mz-step;
    scrollbar-width: none;
}

.mz-page #tab::-webkit-scrollbar {
    display: none;
}

.mz-page #tab .tablinks {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px 4px 4px;
    border: 1px solid var(--mz-line);
    border-radius: 999px;
    background: #fff !important;
    color: var(--mz-text);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    counter-increment: mz-step;
    transition: border-color .15s ease, color .15s ease;
}

.mz-page #tab .tablinks::before {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--mz-soft);
    color: var(--mz-primary);
    font-size: 10px;
    font-weight: 700;
    content: counter(mz-step);
}

.mz-page #tab .tablinks:hover {
    border-color: var(--mz-primary);
    color: var(--mz-primary);
}

/* scripts.js paints the current tab with an inline background, hence !important. */
.mz-page #tab .tablinks.is-active {
    border-color: transparent;
    background: var(--mz-grad) !important;
    color: #fff;
    box-shadow: 0 6px 14px -8px rgba(194, 24, 91, .7);
}

.mz-page #tab .tablinks.is-active::before {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

/* Page shell: banner aside + form card */
.mz-shell {
    padding: 10px 0 24px;
}

.mz-stepcard {
    display: grid;
    /* Banners are 400x520 and are shown whole, never cropped. */
    grid-template-columns: 300px minmax(0, 1fr);
    border-radius: 16px;
    /* clip, not hidden: hidden would make the card the sticky container for the banner. */
    overflow: clip;
}

.mz-stepcard__aside {
    position: relative;
    background: var(--mz-soft);
}

/* header-banner.blade.php is shared by every step; restyle it here.
   On desktop the banner keeps its own proportions (never cropped) and stays
   in view while the form scrolls. */
.mz-page .mz-stepcard__aside .reg-banner {
    position: sticky;
    top: 56px;
    width: 100%;
    padding: 0;
}

.mz-page .mz-stepcard__aside .banner-img {
    background-image: none;
}

.mz-page .mz-stepcard__aside .banner-img img {
    width: 100%;
    height: auto;
}

.mz-page .mz-stepcard__aside .banner-img img[src=""] {
    display: none !important;
}

.mz-page .mz-stepcard__aside .banner-text {
    margin: 0;
    font-family: var(--mz-serif);
    font-weight: 600;
    line-height: 1.3;
}

/* Desktop: tagline sits under the photo instead of covering it. */
@media (min-width: 992px) {
    .mz-page .mz-stepcard__aside .banner-text {
        position: static;
        width: auto;
        padding: 18px 20px !important;
        border-radius: 0;
        background: none;
        color: var(--mz-ink);
        font-size: 20px;
        text-align: center;
        transform: none;
    }

    .mz-page .mz-stepcard__aside.is-fallback .reg-banner {
        height: 100%;
        max-height: calc(100vh - 56px);
    }

    .mz-page .mz-stepcard__aside.is-fallback .banner-img {
        height: 100%;
        align-content: center;
    }

    .mz-page .mz-stepcard__aside.is-fallback .banner-text {
        background: none;
        color: #fff;
    }
}

/* No banner image (missing or not loadable): branded gradient panel, see modern.js. */
.mz-stepcard__aside.is-fallback {
    background: var(--mz-grad);
}

.mz-page .mz-stepcard__aside.is-fallback img {
    display: none !important;
}

.mz-page .mz-stepcard__aside.is-fallback .banner-img {
    display: grid;
    place-items: center;
    min-height: 140px;
}

.mz-page .mz-stepcard__aside.is-fallback .banner-img::before {
    width: 80px;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' fill-opacity='.2' d='M12 21s-7.5-4.6-10-9.3C.4 8.5 2.3 4.5 6.2 4.5c2.2 0 3.6 1.2 4.4 2.5h2.8c.8-1.3 2.2-2.5 4.4-2.5 3.9 0 5.8 4 4.2 7.2C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
    content: "";
}

.mz-page .mz-stepcard__aside.is-fallback .banner-text {
    background: rgba(255, 255, 255, .14);
}

.mz-stepcard__main {
    padding: 16px 28px 0;
}

/* Step pill, title and "required" legend share one line. */
.mz-formhead {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    margin-bottom: 6px;
}

.mz-steppill {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--mz-soft);
    color: var(--mz-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.mz-title {
    margin: 0;
    color: var(--mz-ink);
    font-family: var(--mz-serif);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

.mz-subtitle {
    margin: 0 0 0 auto;
    color: var(--mz-muted);
    font-size: 12px;
}

.mz-formsection {
    padding: 12px 0 14px;
    border-top: 1px solid var(--mz-line);
}

.mz-formsection__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.mz-formsection__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: var(--mz-soft);
    color: var(--mz-primary);
    font-size: 11px;
}

.mz-formsection__title {
    margin: 0;
    color: var(--mz-ink);
    font-size: 14px;
    font-weight: 700;
}

/* A note in the section head sits beside the title instead of on its own row. */
.mz-formsection__head .mz-note {
    flex: 1;
    margin-left: 8px;
}

/* Terms checkbox: a plain row above the submit bar. */
.mz-terms {
    padding: 10px 0 12px;
    border-top: 1px solid var(--mz-line);
}

/* Submit bar: sticks to the bottom of the screen while scrolling the form. */
.mz-actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: flex;
    justify-content: flex-end;
    margin: 0 -28px;
    padding: 10px 28px;
    border-top: 1px solid var(--mz-line);
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.mz-actions .mz-btn {
    min-width: 200px;
}

/* Wide screens: labels sit left of their inputs (like the original layout),
   two fields per row. */
@media (min-width: 1400px) {
    .mz-stepcard {
        grid-template-columns: 380px minmax(0, 1fr);
    }
}

@media (min-width: 1200px) {
    .mz-stepcard .mz-field {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        align-items: center;
        gap: 2px 12px;
    }

    .mz-stepcard .mz-field>:not(.mz-label) {
        grid-column: 2;
    }

    .mz-stepcard .mz-label {
        line-height: 1.25;
    }

    /* Opt out of label-beside-input for wide content (long texts, widgets). */
    .mz-stepcard .mz-field.mz-field--stack {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 991px) {
    .mz-stepcard {
        grid-template-columns: minmax(0, 1fr);
    }

    .mz-page .mz-stepcard__aside .reg-banner {
        position: relative;
        top: 0;
        height: auto;
    }

    .mz-page .mz-stepcard__aside .banner-img img {
        height: 96px;
    }

    .mz-page .mz-stepcard__aside .banner-text {
        bottom: 8px;
        width: calc(100% - 24px);
        padding: 6px 10px !important;
        border-radius: 10px;
        background: rgba(36, 10, 22, .55);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        font-size: 14px;
    }

    .mz-page .mz-stepcard__aside .banner-img img {
        object-fit: cover;
    }

    .mz-page .mz-stepcard__aside.is-fallback .banner-img {
        min-height: 72px;
    }

    .mz-page .mz-stepcard__aside.is-fallback .banner-img::before {
        display: none;
    }

    .mz-page .mz-stepcard__aside.is-fallback .banner-text {
        position: static;
        transform: none;
    }

    .mz-stepcard__main {
        padding: 14px 20px 0;
    }

    .mz-actions {
        margin: 0 -20px;
        padding: 10px 20px;
    }
}

@media (max-width: 575px) {
    .mz-page #tab {
        margin-top: 8px;
    }

    .mz-shell {
        padding: 8px 0 0;
    }

    .mz-shell>.container {
        padding: 0;
    }

    .mz-stepcard {
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .mz-stepcard__main {
        padding: 12px 14px 0;
    }

    .mz-title {
        font-size: 21px;
    }

    .mz-subtitle {
        margin-left: 0;
        width: 100%;
    }

    .mz-formsection__head {
        flex-wrap: wrap;
    }

    .mz-formsection__head .mz-note {
        flex-basis: 100%;
        margin-left: 0;
    }

    .mz-actions {
        margin: 0 -14px;
        padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
    }

    /* All buttons in the bar share the row (Prev / Add more / Save & continue). */
    .mz-actions {
        flex-wrap: wrap;
    }

    .mz-actions .mz-btn {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0 16px;
    }

    .mz-actions__start {
        flex: 1 1 auto;
        margin-right: 0;
    }
}

/* ==========================================================================
   Member area (login, verify, dashboards, /user/profile, /user/matches)
   ========================================================================== */

/* Page container for member pages */
.mz-page .mz-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 16px 40px;
}

/* --------------------------------------------------------------------------
   Auth pages (login, verify): one centred card
   -------------------------------------------------------------------------- */

.mz-page .mz-auth {
    display: grid;
    place-items: center;
    /* Leaves room for the top bar and, for members, the step tabs. */
    min-height: calc(100vh - 140px);
    padding: 24px 16px 40px;
}

.mz-page .mz-auth__card {
    width: 100%;
    max-width: 420px;
    padding: 28px 28px 24px;
}

.mz-page .mz-auth__card--wide {
    max-width: 480px;
}

.mz-page .mz-auth__head {
    margin-bottom: 18px;
    text-align: center;
}

.mz-page .mz-auth__icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    border-radius: 14px;
    background: var(--mz-soft);
    color: var(--mz-primary);
    font-size: 20px;
}

.mz-page .mz-auth__head .mz-title {
    margin: 0 0 4px;
}

.mz-page .mz-auth__head .mz-subtitle {
    margin: 0;
}

.mz-page .mz-auth form .mz-grid {
    margin-bottom: 18px;
}

@media (max-width: 575px) {
    .mz-page .mz-auth {
        place-items: start center;
        padding-top: 16px;
    }

    .mz-page .mz-auth__card {
        padding: 22px 18px 18px;
    }
}

/* Login modal on the welcome page: user id form, switchable to mobile OTP. */
.mz-page .mz-loginmodal .modal-dialog {
    max-width: 420px;
}

.mz-page .mz-loginmodal .modal-body {
    padding: 20px;
}

.mz-page .mz-loginmodal .mz-grid {
    margin-bottom: 18px;
}

.mz-page .mz-loginmodal #login_otp_verify {
    margin-top: 8px;
}

.mz-page .mz-loginmodal__switch {
    margin: 14px 0 0;
    font-size: 14px;
    text-align: center;
}

.mz-page .mz-loginmodal__switch a {
    font-weight: 600;
    text-decoration: none;
}

/* Firebase's invisible reCAPTCHA badge container needs no space of its own. */
.mz-page #recaptchaVerifier:empty {
    display: none;
}

/* --------------------------------------------------------------------------
   /user/dashboard account section: profiles table, add-profile form, side panel
   -------------------------------------------------------------------------- */

.mz-page .mz-dash {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
    align-items: start;
}

.mz-page .mz-dash__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    min-width: 0;
}

.mz-page .mz-dash__side {
    position: sticky;
    top: 72px;
}

.mz-page .mz-panel__title {
    margin: 0 0 12px;
    color: var(--mz-ink);
    font-family: var(--mz-serif);
    font-size: 20px;
    font-weight: 600;
}

.mz-page .mz-side-links {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mz-page .mz-side-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--mz-text);
    font-weight: 600;
    text-decoration: none;
}

.mz-page .mz-side-links a:hover {
    background: var(--mz-soft);
    color: var(--mz-primary);
}

.mz-page .mz-side-links i {
    color: var(--mz-primary);
}

.mz-page a.mz-badge {
    text-decoration: none;
}

.mz-page .mz-empty {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px dashed #d9c6ce;
    border-radius: var(--mz-radius);
    background: var(--mz-bg);
    color: var(--mz-muted);
}

.mz-page .mz-empty i {
    color: var(--mz-primary);
    font-size: 18px;
}

@media (max-width: 991px) {
    .mz-page .mz-dash {
        grid-template-columns: minmax(0, 1fr);
    }

    .mz-page .mz-dash__side {
        position: static;
    }
}

/* --------------------------------------------------------------------------
   /user/dashboard: member card + stat tiles (above the account section)
   -------------------------------------------------------------------------- */

.mz-page .mz-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.mz-page .mz-subnav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid var(--mz-line);
    border-radius: 999px;
    background: #fff;
    color: var(--mz-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.mz-page .mz-subnav a:hover {
    border-color: var(--mz-primary);
    color: var(--mz-primary);
}

.mz-page .mz-subnav a.is-active {
    border-color: transparent;
    background: var(--mz-grad);
    color: #fff;
}

/* Profile view / Form view switch (profile-view-switch.blade.php) above the step tabs. */
.mz-page .container > .mz-viewswitch {
    margin: 12px 0 0;
}

.mz-page .mz-udash {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 260px;
    gap: 20px;
    align-items: start;
}

.mz-page .mz-member {
    padding: 22px 18px;
    text-align: center;
}

.mz-page .mz-member__photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
    padding: 3px;
    border-radius: 50%;
    background: var(--mz-grad);
}

.mz-page .mz-member__photo img {
    width: 100%;
    height: 100%;
    border: 3px solid #fff;
    border-radius: 50%;
    object-fit: cover;
}

.mz-page .mz-member__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--mz-soft);
    color: var(--mz-primary);
    font-size: 44px;
}

.mz-page .mz-member__name {
    margin: 0 0 8px;
    color: var(--mz-ink);
    font-family: var(--mz-serif);
    font-size: 20px;
    font-weight: 600;
}

.mz-page .mz-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.mz-page .mz-stat {
    padding: 16px 14px;
    text-align: center;
}

.mz-page .mz-stat__number {
    color: var(--mz-primary);
    font-family: var(--mz-serif);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.1;
}

.mz-page .mz-stat__label {
    margin-top: 4px;
    color: var(--mz-muted);
    font-size: 13px;
}

.mz-page .mz-udash + .mz-udash__account {
    margin-top: 20px;
}

.mz-page .mz-promo img {
    display: block;
    width: 100%;
    border-radius: var(--mz-radius-lg);
}

@media (max-width: 1199px) {
    .mz-page .mz-udash {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .mz-page .mz-udash__promo {
        grid-column: 1 / -1;
    }

    .mz-page .mz-promo img {
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .mz-page .mz-udash {
        grid-template-columns: minmax(0, 1fr);
    }

    .mz-page .mz-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Three-part names: first name on its own row on phones. */
@media (max-width: 575px) {
    .mz-page .mz-dash .mz-split--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mz-page .mz-dash .mz-split--3> :first-child {
        grid-column: 1 / -1;
    }
}

/* ==========================================================================
   Admin panel (admin/master.blade.php, body.mz-admin)
   ========================================================================== */

.mz-admin {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.mz-admin h1,
.mz-admin h2,
.mz-admin h3,
.mz-admin h4,
.mz-admin h5,
.mz-admin h6 {
    color: var(--mz-ink);
}

/* --------------------------------------------------------------------------
   Top bar (#headerNav)
   -------------------------------------------------------------------------- */

.mz-admin #headerNav {
    height: 60px;
    padding: 0 20px;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 1px 0 var(--mz-line);
}

.mz-admin .sidebar-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--mz-line);
    border-radius: 10px;
    background: #fff;
    color: var(--mz-text);
}

.mz-admin .sidebar-toggle:hover {
    background: var(--mz-soft);
    color: var(--mz-primary);
    transform: none;
}

.mz-admin .brand-section {
    gap: 10px;
}

.mz-admin .brand-logo {
    width: 112px;
    height: 36px;
    border-radius: 0;
    object-fit: contain;
    object-position: left center;
}

.mz-admin .brand-text {
    padding-left: 10px;
    border-left: 1px solid var(--mz-line);
    line-height: 1.15;
}

.mz-admin .brand-text h4 {
    color: var(--mz-ink);
    font-family: var(--mz-serif);
    font-size: 17px;
    font-weight: 600;
}

.mz-admin .brand-text small {
    color: var(--mz-muted);
    font-size: 11px;
}

.mz-admin .search-icon {
    left: 14px;
    color: var(--mz-muted);
}

.mz-admin .search-input {
    height: 38px;
    padding-left: 40px;
    border: 1.5px solid var(--mz-line);
    border-radius: 999px;
    background: var(--mz-bg);
    color: var(--mz-ink);
}

.mz-admin .search-input:focus {
    border-color: var(--mz-primary);
    background: #fff;
    box-shadow: var(--mz-ring);
}

.mz-admin .nav-right {
    gap: 4px;
}

.mz-admin .nav-item {
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--mz-text);
}

.mz-admin .nav-item:hover {
    background: var(--mz-soft);
    color: var(--mz-primary);
    transform: none;
}

.mz-admin .nav-item i {
    color: var(--mz-primary);
    font-size: 14px;
}

.mz-admin .nav-text {
    font-size: 13px;
    font-weight: 600;
}

.mz-admin .nav-subtext {
    color: var(--mz-muted);
}

.mz-admin #headerNav .dropdown-menu {
    padding: 6px;
    border: 1px solid var(--mz-line);
    border-radius: 12px;
    box-shadow: var(--mz-shadow);
}

.mz-admin #headerNav .dropdown-item {
    padding: 9px 12px;
    border: 0;
    border-radius: 8px;
    color: var(--mz-text);
    font-size: 13px;
    font-weight: 500;
}

.mz-admin #headerNav .dropdown-item i {
    width: 16px;
    color: var(--mz-muted);
}

.mz-admin #headerNav .dropdown-item:hover {
    background: var(--mz-soft);
    color: var(--mz-primary);
}

/* --------------------------------------------------------------------------
   Sidebar (#headerSidebar)
   -------------------------------------------------------------------------- */

.mz-admin .sidebar {
    width: 248px;
    border-right: 1px solid var(--mz-line);
    background: #fff;
    scrollbar-color: #e3d3da transparent;
}

.mz-admin .sidebar-content {
    padding: 12px 0 16px;
}

.mz-admin .sidebar-section {
    margin-bottom: 12px;
}

.mz-admin .sidebar-header {
    gap: 8px;
    margin-bottom: 4px;
    padding: 8px 20px 6px;
    border-bottom: 0;
    color: var(--mz-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.mz-admin .sidebar-item {
    gap: 12px;
    margin: 1px 10px;
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--mz-text);
}

.mz-admin .sidebar-item i {
    width: 18px;
    color: var(--mz-muted);
    font-size: 14px;
}

.mz-admin .sidebar-text {
    font-size: 13px;
    font-weight: 600;
}

.mz-admin .sidebar-item:hover {
    background: var(--mz-soft);
    color: var(--mz-primary);
    transform: none;
}

.mz-admin .sidebar-item:hover i {
    color: var(--mz-primary);
}

.mz-admin .sidebar-item.active,
.mz-admin .sidebar-item.active:hover {
    background: var(--mz-grad);
    color: #fff;
    box-shadow: 0 8px 18px -10px rgba(194, 24, 91, .7);
    transform: none;
}

.mz-admin .sidebar-item.active i {
    color: #fff;
}

/* The item labels are always visible, so the hover tooltips only repeat them. */
.mz-admin .sidebar-tooltip {
    display: none;
}

.mz-admin .sidebar-footer {
    padding-top: 8px;
    border-top: 1px solid var(--mz-line);
}

.mz-admin .logout-item,
.mz-admin .logout-item i {
    color: #c82333;
}

.mz-admin .logout-item:hover {
    background: #fdecee;
    color: #c82333;
}

/* --------------------------------------------------------------------------
   Content area
   -------------------------------------------------------------------------- */

.mz-admin .main-content {
    margin-left: 248px;
    padding: 20px 24px 32px;
    background: var(--mz-bg);
}

@media (max-width: 768px) {
    .mz-admin .sidebar {
        width: 100%;
        max-width: 300px;
        box-shadow: var(--mz-shadow);
    }

    .mz-admin .main-content {
        margin-left: 0;
        padding: 14px 12px 24px;
    }

    .mz-admin .brand-text {
        display: none;
    }

    .mz-admin .brand-logo {
        width: 96px;
    }
}

/* A page inside .main-content. --narrow is for single forms. */
.mz-admin-page {
    width: 100%;
}

.mz-admin-page--narrow {
    max-width: 760px;
}

.mz-admin .mz-card {
    border-radius: 16px;
}

.mz-admin .mz-pagehead {
    margin-bottom: 14px;
}

.mz-admin .mz-title {
    font-size: 24px;
}

.mz-admin .mz-subtitle {
    margin: 2px 0 0;
}

.mz-pagehead__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.mz-admin .mz-panel+.mz-panel,
.mz-admin .mz-card+.mz-card {
    margin-top: 16px;
}

/* Buttons at the end of an add / edit form. */
.mz-admin-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--mz-line);
}

/* Session messages with their follow-up links ("List …", "Add …"). */
.mz-admin .alert {
    margin-bottom: 14px;
    padding: 10px 14px;
    border: 0;
    border-radius: var(--mz-radius);
    font-size: 13px;
    font-weight: 500;
}

.mz-admin .alert-success {
    background: #e7f6ee;
    color: #1e7b4c;
}

.mz-admin .alert-danger {
    background: #fdecee;
    color: #b02a37;
}

.mz-admin .alert-warning {
    background: #fff4e0;
    color: #8a5300;
}

.mz-admin .alert-info {
    background: #e8f1fd;
    color: #1d5fb8;
}

.mz-admin-flash {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 16px;
}

.mz-admin-flash__links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.mz-admin-flash__links a {
    color: inherit;
    font-weight: 700;
}

/* Status filter pills (profile list: Active / Engaged / Suspended / Deleted). */
.mz-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.mz-admin .mz-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 14px;
    border: 1px solid var(--mz-line);
    border-radius: 999px;
    background: #fff;
    color: var(--mz-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}

.mz-admin .mz-filter:hover {
    border-color: var(--mz-primary);
    color: var(--mz-primary);
}

.mz-filter__count {
    min-width: 26px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--mz-bg);
    color: var(--mz-muted);
    font-size: 12px;
    text-align: center;
}

.mz-admin .mz-filter.is-active {
    border-color: transparent;
    background: var(--mz-grad);
    color: #fff;
    box-shadow: 0 8px 18px -10px rgba(194, 24, 91, .7);
}

.mz-filter.is-active .mz-filter__count {
    background: rgba(255, 255, 255, .25);
    color: #fff;
}

.mz-filter--end {
    margin-left: auto;
}

@media (max-width: 575px) {
    .mz-filter--end {
        margin-left: 0;
    }
}

/* --------------------------------------------------------------------------
   Bootstrap pieces inside the admin pages
   -------------------------------------------------------------------------- */

.mz-admin label {
    color: var(--mz-ink);
    font-weight: 600;
}

.mz-admin .form-label {
    margin-bottom: 4px;
    font-size: 13px;
}

.mz-admin .form-control,
.mz-admin .form-select {
    min-height: 40px;
    border: 1.5px solid var(--mz-line);
    border-radius: var(--mz-radius);
    color: var(--mz-ink);
    font-size: 14px;
}

.mz-admin .form-control-sm,
.mz-admin .form-select-sm {
    min-height: 32px;
    border-radius: 8px;
    font-size: 13px;
}

.mz-admin .form-control:focus,
.mz-admin .form-select:focus {
    border-color: var(--mz-primary);
    box-shadow: var(--mz-ring);
}

.mz-admin .form-check-input {
    border-color: #cdbac2;
}

.mz-admin .form-check-input:checked {
    border-color: var(--mz-primary);
    background-color: var(--mz-primary);
}

.mz-admin .form-check-input:focus {
    border-color: var(--mz-primary);
    box-shadow: var(--mz-ring);
}

.mz-admin .input-group-text {
    border: 1.5px solid var(--mz-line);
    background: var(--mz-bg);
    color: var(--mz-muted);
}

.mz-admin .input-group>.form-control:not(:last-child),
.mz-admin .input-group>.form-select:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.mz-admin .btn {
    border-radius: 10px;
    font-weight: 600;
}

.mz-admin .btn-sm {
    border-radius: 8px;
    font-size: 12px;
}

.mz-admin .btn-primary {
    border-color: transparent;
    background: var(--mz-grad);
    color: #fff;
}

.mz-admin .btn-primary:hover,
.mz-admin .btn-primary:focus {
    border-color: transparent;
    background: linear-gradient(135deg, var(--mz-primary-dark) 0%, #d42b44 100%);
    color: #fff;
}

.mz-admin .btn-primary:disabled {
    background: var(--mz-grad);
    opacity: .6;
}

.mz-admin .btn-secondary {
    border-color: var(--mz-line);
    background: #fff;
    color: var(--mz-text);
}

.mz-admin .btn-secondary:hover {
    border-color: var(--mz-primary);
    background: #fff;
    color: var(--mz-primary);
}

.mz-admin .btn-outline-primary {
    border-color: #f0c5d6;
    color: var(--mz-primary);
}

.mz-admin .btn-outline-primary:hover,
.mz-admin .btn-check:checked+.btn-outline-primary {
    border-color: var(--mz-primary);
    background: var(--mz-primary);
    color: #fff;
}

.mz-admin .btn-outline-secondary {
    border-color: var(--mz-line);
    color: var(--mz-text);
}

.mz-admin .btn-outline-secondary:hover {
    border-color: var(--mz-primary);
    background: var(--mz-soft);
    color: var(--mz-primary);
}

/* Toggle groups such as "Whole word / Part of word". */
.mz-admin .btn-check:checked+.btn-outline-secondary {
    border-color: var(--mz-primary);
    background: var(--mz-soft);
    color: var(--mz-primary);
}

.mz-admin .btn-outline-success {
    border-color: #bfe5cf;
    color: #1e7b4c;
}

.mz-admin .btn-outline-success:hover {
    border-color: #1e7b4c;
    background: #1e7b4c;
    color: #fff;
}

.mz-admin .btn-outline-danger {
    border-color: #f1c4ca;
    color: #c82333;
}

.mz-admin .btn-outline-danger:hover {
    border-color: #dc3545;
    background: #dc3545;
    color: #fff;
}

.mz-admin .badge {
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 600;
}

.mz-admin .badge.bg-secondary {
    background: #eee5e9 !important;
    color: var(--mz-text);
}

.mz-admin .badge.bg-success {
    background: #e7f6ee !important;
    color: #1e7b4c;
}

.mz-admin .badge.bg-danger {
    background: #fdecee !important;
    color: #c82333;
}

.mz-admin .badge.bg-primary {
    background: var(--mz-soft) !important;
    color: var(--mz-primary);
}

.mz-admin .badge.bg-warning {
    background: #fff4e0 !important;
    color: #8a5300 !important;
}

.mz-admin .badge.bg-info {
    background: #e8f1fd !important;
    color: #1d5fb8;
}

.mz-admin .badge.bg-light {
    background: rgba(255, 255, 255, .85) !important;
}

/* Verify / Verified links in the profile list are badges. */
.mz-admin a.badge:hover {
    filter: brightness(.95);
}

/* Tabs (Active / Deleted) become pills. */
.mz-admin .nav-tabs {
    gap: 6px;
    margin-bottom: 12px !important;
    border-bottom: 0;
}

.mz-admin .nav-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--mz-line);
    border-radius: 999px;
    background: #fff;
    color: var(--mz-text);
    font-size: 13px;
    font-weight: 600;
}

.mz-admin .nav-tabs .nav-link:hover {
    border-color: var(--mz-primary);
    color: var(--mz-primary);
}

.mz-admin .nav-tabs .nav-link.active {
    border-color: transparent;
    background: var(--mz-grad);
    color: #fff;
}

.mz-admin .nav-tabs .nav-link.active .badge {
    background: rgba(255, 255, 255, .25) !important;
    color: #fff;
}

.mz-admin .text-primary {
    color: var(--mz-primary) !important;
}

.mz-admin a {
    color: var(--mz-primary);
}

.mz-admin .text-muted {
    color: var(--mz-muted) !important;
}

.mz-admin .list-group-item {
    border-color: var(--mz-line);
}

.mz-admin .list-group-item:first-child {
    border-top-left-radius: var(--mz-radius);
    border-top-right-radius: var(--mz-radius);
}

.mz-admin .list-group-item:last-child {
    border-bottom-left-radius: var(--mz-radius);
    border-bottom-right-radius: var(--mz-radius);
}

.mz-admin .modal-body {
    padding: 16px 20px;
}

.mz-admin .table {
    --bs-table-hover-bg: #fffafc;
    color: var(--mz-text);
    font-size: 13px;
}

.mz-admin .table>:not(caption)>*>* {
    padding: 8px 10px;
    border-bottom-color: var(--mz-line);
}

.mz-admin .table thead th,
.mz-admin .table-light th {
    background: var(--mz-bg) !important;
    color: var(--mz-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}

/* Bootstrap dropdowns inside pages (e.g. "Search in" columns menu). */
.mz-admin .main-content .dropdown-menu {
    border: 1px solid var(--mz-line);
    border-radius: 12px;
    box-shadow: var(--mz-shadow);
}

/* Legacy fieldsets that are still on a few pages. */
.mz-admin fieldset {
    width: 100% !important;
}

.mz-admin legend {
    color: var(--mz-ink);
    font-size: 15px;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   DataTables
   -------------------------------------------------------------------------- */

/* Lists scroll sideways inside their card instead of widening the page. */
.mz-admin .overflow-scroll,
.mz-admin .table-responsive {
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

.mz-admin .dataTables_wrapper {
    color: var(--mz-text);
    font-size: 13px;
}

.mz-admin .dataTables_wrapper .dataTables_length,
.mz-admin .dataTables_wrapper .dataTables_filter {
    margin-bottom: 10px;
    color: var(--mz-muted);
    font-weight: 600;
}

.mz-admin .dataTables_wrapper .dataTables_length label,
.mz-admin .dataTables_wrapper .dataTables_filter label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--mz-muted);
    font-weight: 600;
}

.mz-admin .dataTables_wrapper .dataTables_length select,
.mz-admin .dataTables_wrapper .dataTables_filter input {
    height: 34px;
    padding: 0 10px;
    border: 1.5px solid var(--mz-line);
    border-radius: 8px;
    background-color: #fff;
    color: var(--mz-ink);
    font-size: 13px;
}

.mz-admin .dataTables_wrapper .dataTables_filter input {
    min-width: 200px;
    margin-left: 0;
}

.mz-admin .dataTables_wrapper .dataTables_length select:focus,
.mz-admin .dataTables_wrapper .dataTables_filter input:focus {
    outline: none;
    border-color: var(--mz-primary);
    box-shadow: var(--mz-ring);
}

.mz-admin table.dataTable {
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.mz-admin table.dataTable thead th,
.mz-admin table.dataTable thead td {
    padding: 10px 26px 10px 10px;
    border-bottom: 1px solid var(--mz-line);
    background-color: var(--mz-bg);
    color: var(--mz-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    line-height: 1.3;
    text-transform: uppercase;
    white-space: nowrap;
}

.mz-admin table.dataTable thead th:first-child {
    border-top-left-radius: 10px;
}

.mz-admin table.dataTable thead th:last-child {
    border-top-right-radius: 10px;
}

.mz-admin table.dataTable tbody td {
    padding: 8px 10px;
    border-top: 0;
    border-bottom: 1px solid var(--mz-line);
    color: var(--mz-text);
    vertical-align: middle;
}

.mz-admin table.dataTable.no-footer {
    border-bottom: 0;
}

.mz-admin table.dataTable.display tbody tr.odd,
.mz-admin table.dataTable.display tbody tr.even,
.mz-admin table.dataTable.display tbody tr.odd>.sorting_1,
.mz-admin table.dataTable.display tbody tr.even>.sorting_1,
.mz-admin table.dataTable.display tbody tr>.sorting_1 {
    background-color: #fff;
    box-shadow: none;
}

.mz-admin table.dataTable.display tbody tr:hover>td,
.mz-admin table.dataTable.display tbody tr:hover>.sorting_1 {
    background-color: #fffafc;
    box-shadow: none;
}

.mz-admin table.dataTable tbody td a:not(.btn):not(.badge) {
    text-decoration: none;
}

/* Edit (pencil) and delete (trash) links in table rows. */
.mz-admin table.dataTable tbody td .fa-pencil,
.mz-admin table.dataTable tbody td .fa-pencil-alt {
    color: var(--mz-primary);
}

.mz-admin table.dataTable tbody td .btn:not(.btn-sm) {
    padding: 4px 8px;
}

.mz-admin .dataTables_wrapper .dataTables_info {
    padding-top: 12px;
    color: var(--mz-muted);
    font-size: 12px;
}

.mz-admin .dataTables_wrapper .dataTables_paginate {
    padding-top: 8px;
}

.mz-admin .dataTables_wrapper .dataTables_paginate .paginate_button {
    min-width: 32px;
    margin: 0 2px;
    padding: 5px 10px;
    border: 1px solid transparent !important;
    border-radius: 8px;
    background: transparent !important;
    color: var(--mz-text) !important;
    font-size: 12px;
    font-weight: 600;
}

.mz-admin .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    border-color: var(--mz-line) !important;
    background: var(--mz-soft) !important;
    color: var(--mz-primary) !important;
}

.mz-admin .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.mz-admin .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    border-color: transparent !important;
    background: var(--mz-grad) !important;
    color: #fff !important;
}

.mz-admin .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.mz-admin .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    background: transparent !important;
    color: #c9b9c0 !important;
}

.mz-admin .dt-buttons .dt-button {
    border: 1px solid var(--mz-line);
    border-radius: 8px;
    background: #fff;
    color: var(--mz-text);
    font-size: 12px;
    font-weight: 600;
}

.mz-admin .dt-buttons .dt-button:hover:not(.disabled) {
    border-color: var(--mz-primary);
    background: var(--mz-soft);
    color: var(--mz-primary);
}

@media (max-width: 575px) {

    .mz-admin .dataTables_wrapper .dataTables_length,
    .mz-admin .dataTables_wrapper .dataTables_filter {
        float: none;
        text-align: left;
    }

    .mz-admin .dataTables_wrapper .dataTables_filter input {
        min-width: 0;
        width: 100%;
    }
}

/* Compact select/input for toolbars (e.g. "Sort by"). */
.mz-admin .mz-input--sm {
    width: auto;
    height: 38px;
    font-size: 13px;
}

/* Row status dropdown in the profile list. */
.mz-admin .profile-status-select {
    min-width: 116px;
    font-weight: 600;
}

/* "Select category / industry" filter above a list. */
.mz-admin-filterbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--mz-line);
}

.mz-admin-filterbar .mz-input {
    min-width: 260px;
    max-width: 100%;
}

/* Bootstrap cards (deleted streams grouped by category). */
.mz-admin .card {
    border: 1px solid var(--mz-line);
    border-radius: var(--mz-radius);
    overflow: hidden;
}

.mz-admin .card-header {
    border-bottom: 1px solid var(--mz-line);
    background: var(--mz-bg);
}

/* Dashboard shortcut tiles. */
.mz-admin-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.mz-admin .mz-admin-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    color: var(--mz-text);
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}

.mz-admin .mz-admin-tile:hover {
    border-color: var(--mz-primary);
    color: var(--mz-text);
    transform: translateY(-1px);
}

.mz-admin-tile strong {
    display: block;
    color: var(--mz-ink);
    font-size: 15px;
}

.mz-admin-tile small {
    color: var(--mz-muted);
    font-size: 12px;
}

.mz-admin-tile__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--mz-soft);
    color: var(--mz-primary);
    font-size: 18px;
}

.mz-admin-tile__go {
    margin-left: auto;
    color: var(--mz-muted);
    font-size: 12px;
}

/* Current banner beside its upload zone. A missing or unloadable image is hidden. */
.mz-admin-banner-preview {
    max-width: 100%;
    max-height: 180px;
    margin-top: 8px;
    border: 1px solid var(--mz-line);
    border-radius: var(--mz-radius);
    object-fit: contain;
    align-self: flex-start;
}

/* Logo & Favicon settings (admin/settings-branding.blade.php) */
.mz-admin-brand-preview {
    max-height: 90px;
    padding: 10px;
    background: #fff;
}

/* Logo size slider: the logo at its header size, scaled as the slider moves. */
.mz-admin-logo-size {
    margin-top: 20px;
}

.mz-admin-logo-size__row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mz-admin-logo-size__row input[type=range] {
    flex: 1;
    accent-color: var(--mz-primary, #b3261e);
}

.mz-admin-logo-size__value {
    min-width: 3.5em;
    font-weight: 600;
    text-align: right;
}

.mz-admin-logo-size__stage {
    display: flex;
    align-items: center;
    min-height: 80px;
    margin-top: 10px;
    padding: 12px 16px;
    overflow: hidden;
    border: 1px dashed var(--mz-line);
    border-radius: var(--mz-radius);
    background: #fff;
}

.mz-admin-logo-size__stage img {
    width: calc(170px * var(--mz-logo-scale, 1));
    height: calc(52px * var(--mz-logo-scale, 1));
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

.mz-admin-favicon-preview {
    width: 64px;
    height: 64px;
    padding: 6px;
    background: #fff;
}

.mz-admin-banner-preview[src=""] {
    display: none;
}

/* Scrollable list of checkboxes (blog categories). */
.mz-admin-checklist {
    max-height: 250px;
    padding: 8px 12px;
    overflow-y: auto;
    border: 1.5px solid var(--mz-line);
    border-radius: var(--mz-radius);
}

.mz-admin-checklist .form-check {
    padding-top: 3px;
    padding-bottom: 3px;
}

.mz-admin .card-header h4,
.mz-admin .card-header h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.mz-admin .card-header {
    padding: 10px 14px;
}

.mz-admin .list-group-item-action:hover {
    background: var(--mz-soft);
    color: var(--mz-primary);
}

.mz-admin .list-group-item.active {
    z-index: 2;
    border-color: transparent;
    background: var(--mz-grad);
    color: #fff;
}

.mz-admin .input-group>.input-group-text:first-child {
    border-radius: var(--mz-radius) 0 0 var(--mz-radius);
}

.mz-admin .btn-success {
    border-color: #1e7b4c;
    background: #1e7b4c;
}

.mz-admin .btn-success:hover {
    border-color: #17643d;
    background: #17643d;
}

.mz-admin .btn-outline-warning {
    border-color: #f3d9a8;
    color: #8a5300;
}

.mz-admin .btn-outline-warning:hover {
    border-color: #a3620a;
    background: #fff4e0;
    color: #8a5300;
}

.mz-admin .badge.bg-dark {
    background: var(--mz-ink) !important;
    color: #fff;
}

.mz-admin-login {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 120px);
}

.mz-admin-login form {
    width: 100%;
    max-width: 380px;
}

.mz-admin .list-group-item-action {
    color: var(--mz-text);
}

.mz-admin .mz-admin-tiles>.mz-card {
    margin-top: 0;
}

/* admin-style.css styles .nav-item for the top bar; Bootstrap tab items share the class. */
.mz-admin .main-content .nav-item {
    padding: 0;
    color: inherit;
}

.mz-admin .main-content .nav-item:hover {
    background: none;
    transform: none;
}

/* --------------------------------------------------------------------------
   Page-by-page verification (profile-verification-bar.blade.php, header tabs)
   -------------------------------------------------------------------------- */

.mz-page #tab .tablinks .mz-tabverify {
    font-size: 12px;
}

.mz-tabverify--verified { color: #1e7b4c; }
.mz-tabverify--unverified { color: #c82333; }
.mz-tabverify--changed { color: #d48806; }
.mz-tabverify--partial { color: #0a6c8a; }

.mz-page #tab .tablinks.is-active .mz-tabverify {
    color: #fff;
}

.mz-verifybar-wrap {
    margin-top: 10px;
}

.mz-verifybar {
    --mz-vb-tone: var(--mz-muted);
    --mz-vb-soft: var(--mz-bg);
    padding: 12px 16px;
    border: 1px solid var(--mz-line);
    border-left: 4px solid var(--mz-vb-tone);
    border-radius: 12px;
    background: #fff;
    color: var(--mz-text);
    font-size: 14px;
}

.mz-verifybar--verified { --mz-vb-tone: #1e7b4c; --mz-vb-soft: #e7f6ee; }
.mz-verifybar--unverified { --mz-vb-tone: #c82333; --mz-vb-soft: #fdecee; }
.mz-verifybar--changed { --mz-vb-tone: #a3620a; --mz-vb-soft: #fff4e0; }
.mz-verifybar--partial { --mz-vb-tone: #0a6c8a; --mz-vb-soft: #e6f4f8; }

.mz-verifybar__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.mz-verifybar__icon {
    margin-top: 2px;
    color: var(--mz-vb-tone);
    font-size: 18px;
}

.mz-verifybar__text {
    flex: 1;
    min-width: 0;
}

.mz-verifybar__title {
    color: var(--mz-vb-tone);
    font-weight: 700;
}

.mz-verifybar__meta {
    margin-left: 6px;
    color: var(--mz-muted);
    font-size: 12px;
    font-weight: 500;
}

.mz-verifybar__reason {
    margin: 6px 0 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--mz-vb-soft);
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.mz-verifybar__note {
    margin: 4px 0 0;
    color: var(--mz-muted);
    font-size: 13px;
}

.mz-verifybar__overall {
    flex: none;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--mz-bg);
    color: var(--mz-muted);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.mz-verifybar__changes {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fff4e0;
    font-size: 13px;
}

.mz-verifybar__changes summary {
    color: #a3620a;
    font-weight: 600;
    cursor: pointer;
}

.mz-verifybar__changes ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.mz-verifybar__changes li + li {
    margin-top: 4px;
}

.mz-verifybar__old {
    color: #b02a37;
    text-decoration: line-through;
    white-space: pre-line;
}

.mz-verifybar__new {
    color: #146c43;
    white-space: pre-line;
}

.mz-verifybar__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.mz-verifybar__link {
    margin-left: auto;
    font-size: 13px;
}

.mz-verifybar__reject {
    margin-top: 10px;
}

.mz-page .mz-verifybar__reject-btn {
    background: #c82333;
    border-color: #c82333;
    color: #fff;
}

.mz-verifybar__flash {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
}

.mz-verifybar__flash--ok { color: #1e7b4c; }
.mz-verifybar__flash--error { color: #c82333; }

.mz-verifybar__hint {
    color: var(--mz-muted);
    font-size: 13px;
}

/* Photos / Proof: each image is verified on its own. */
.mz-verifyimgs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 8px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.mz-verifyimg {
    --mz-vi-tone: var(--mz-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 8px;
    border: 1px solid var(--mz-line);
    border-left: 3px solid var(--mz-vi-tone);
    border-radius: 10px;
    background: #fff;
}

.mz-verifyimg--verified { --mz-vi-tone: #1e7b4c; }
.mz-verifyimg--unverified { --mz-vi-tone: #c82333; }

.mz-verifyimg__thumb {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border: 1px solid var(--mz-line);
    border-radius: 8px;
    background: var(--mz-bg);
    color: #c82333;
    font-size: 26px;
}

.mz-verifyimg__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mz-verifyimg__body {
    flex: 1;
    min-width: 0;
}

.mz-verifyimg__title {
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.mz-verifyimg__status {
    color: var(--mz-vi-tone);
    font-size: 12px;
    font-weight: 600;
}

.mz-verifyimg__status .mz-verifybar__meta {
    margin-left: 4px;
}

.mz-verifyimg__reason {
    margin: 4px 0 0;
    padding: 4px 8px;
    border-radius: 6px;
    background: #fdecee;
    font-size: 12px;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.mz-verifyimg__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px;
    margin-top: 6px;
}

.mz-verifyimg__reject {
    flex: 1 1 100%;
}

.mz-verifyimg__reject summary {
    display: inline-flex;
    list-style: none;
    cursor: pointer;
}

.mz-verifyimg__reject summary::-webkit-details-marker {
    display: none;
}

/* Verify sits beside the toggle until the reason form is opened under it. */
.mz-verifyimg__actions form.m-0 + .mz-verifyimg__reject:not([open]) {
    flex: 0 1 auto;
}

@media (max-width: 575px) {
    .mz-verifybar__row {
        flex-wrap: wrap;
    }

    .mz-verifybar__overall {
        margin-left: 30px;
    }

    .mz-verifybar__link {
        margin-left: 0;
    }
}
