/* =============================================================
   Masonic Meals — Modern UI Design System
   Consolidated stylesheet built on top of Bootstrap 5.
   ============================================================= */

/* -------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------- */
:root {
    /* Palette */
    --mm-navy-950: #0b1424;
    --mm-navy-900: #0f1a2e;
    --mm-navy-800: #16243f;
    --mm-navy-700: #1e3357;
    --mm-navy-600: #274070;
    --mm-gold-500: #d4af37;
    --mm-gold-400: #e6c15c;
    --mm-gold-300: #f0d17a;
    --mm-cream-100: #fdf7e6;
    --mm-cream-50: #fffdf6;
    --mm-ink: #0e1524;
    --mm-muted: #6b7891;
    --mm-line: rgba(255, 255, 255, 0.12);
    --mm-line-strong: rgba(255, 255, 255, 0.22);
    --mm-danger: #e5484d;
    --mm-success: #2fbf71;
    --mm-warning: #f5a524;
    --mm-info: #4aa3ff;

    /* Surfaces */
    --mm-surface: rgba(255, 255, 255, 0.06);
    --mm-surface-strong: rgba(255, 255, 255, 0.10);
    --mm-surface-solid: #ffffff;
    --mm-bg-gradient: radial-gradient(1200px 800px at 10% -10%, #22406e 0%, transparent 60%),
                      radial-gradient(1000px 700px at 100% 0%, #1a2c4d 0%, transparent 55%),
                      linear-gradient(160deg, #0b1424 0%, #0f1a2e 50%, #16243f 100%);

    /* Typography */
    --mm-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --mm-font-serif: 'Playfair Display', 'Times New Roman', Georgia, serif;

    /* Radius */
    --mm-radius-sm: 8px;
    --mm-radius-md: 14px;
    --mm-radius-lg: 20px;
    --mm-radius-xl: 28px;
    --mm-radius-pill: 999px;

    /* Shadows */
    --mm-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.20), 0 1px 3px rgba(0, 0, 0, 0.12);
    --mm-shadow-md: 0 10px 25px -12px rgba(0, 0, 0, 0.45), 0 4px 10px -4px rgba(0, 0, 0, 0.25);
    --mm-shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 15px 25px -10px rgba(0, 0, 0, 0.35);
    --mm-shadow-gold: 0 10px 30px -10px rgba(212, 175, 55, 0.35);

    /* Motion */
    --mm-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------------------------------------------------
   2. Base + typography
   ------------------------------------------------------------- */
html {
    font-size: 15px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: var(--mm-font-sans);
    color: #eaf0fb;
    background: var(--mm-bg-gradient);
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.005em;
}

h1, h2, h3, .mm-display, .mm-heading {
    font-family: var(--mm-font-serif);
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #ffffff;
}

.mm-display {
    font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem);
    line-height: 1.05;
}

.mm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mm-font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mm-gold-400);
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--mm-radius-pill);
    background: rgba(212, 175, 55, 0.08);
}

.mm-lead {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(234, 240, 251, 0.82);
    max-width: 60ch;
}

.mm-muted {
    color: rgba(234, 240, 251, 0.65);
}

.mm-gold {
    color: var(--mm-gold-400) !important;
}

a {
    color: var(--mm-gold-400);
    text-decoration: none;
    transition: color 0.15s var(--mm-ease);
}

    a:hover {
        color: var(--mm-gold-300);
        text-decoration: none;
    }

/* -------------------------------------------------------------
   3. Layout container
   ------------------------------------------------------------- */
.mm-page {
    padding-block: 2rem 4rem;
}

@media (min-width: 768px) {
    .mm-page {
        padding-block: 3rem 5rem;
    }
}

.mm-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--mm-font-serif);
    color: var(--mm-gold-400);
    font-size: 1.5rem;
    font-weight: 700;
    margin-block: 0 1.25rem;
    text-align: left;
}

    .mm-section-title::before {
        content: "";
        flex: 0 0 auto;
        width: 6px;
        height: 24px;
        border-radius: 3px;
        background: linear-gradient(180deg, var(--mm-gold-300), var(--mm-gold-500));
    }

/* -------------------------------------------------------------
   4. Navbar
   ------------------------------------------------------------- */
.mm-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding-block: 0.6rem;
    background: rgba(11, 20, 36, 0.75);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--mm-line);
    box-shadow: 0 8px 30px -20px rgba(0, 0, 0, 0.6);
}

    .mm-navbar .navbar-brand {
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
        font-family: var(--mm-font-serif);
        font-weight: 700;
        font-size: 1.35rem;
        color: #ffffff !important;
        letter-spacing: 0.02em;
    }

        .mm-navbar .navbar-brand .mm-brand-mark {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--mm-gold-500), var(--mm-gold-300));
            color: var(--mm-navy-900);
            box-shadow: var(--mm-shadow-gold);
            font-size: 1.05rem;
        }

        .mm-navbar .navbar-brand:hover {
            color: var(--mm-gold-300) !important;
        }

    .mm-navbar .navbar-nav {
        gap: 0.15rem;
    }

    .mm-navbar .nav-link {
        position: relative;
        color: rgba(234, 240, 251, 0.78) !important;
        font-weight: 500;
        padding: 0.55rem 0.95rem !important;
        border-radius: var(--mm-radius-sm);
        transition: background-color 0.18s var(--mm-ease), color 0.18s var(--mm-ease);
    }

        .mm-navbar .nav-link:hover,
        .mm-navbar .nav-link:focus-visible {
            color: #ffffff !important;
            background: rgba(255, 255, 255, 0.07);
        }

        .mm-navbar .nav-link.active {
            color: var(--mm-navy-900) !important;
            background: linear-gradient(135deg, var(--mm-gold-400), var(--mm-gold-300));
            box-shadow: var(--mm-shadow-gold);
        }

    .mm-navbar .navbar-toggler {
        border: 1px solid var(--mm-line-strong);
        color: #fff;
        padding: 0.4rem 0.6rem;
        border-radius: 10px;
    }

        .mm-navbar .navbar-toggler:focus {
            box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.35);
        }

        .mm-navbar .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }

@media (max-width: 991.98px) {
    .mm-navbar .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.75rem;
        border-radius: var(--mm-radius-md);
        background: rgba(15, 26, 46, 0.85);
        border: 1px solid var(--mm-line);
    }

    .mm-navbar .navbar-nav .nav-link {
        padding: 0.75rem 0.9rem !important;
    }
}

/* -------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------- */
.btn {
    --bs-btn-font-weight: 600;
    border-radius: var(--mm-radius-sm);
    padding: 0.6rem 1.15rem;
    letter-spacing: 0.01em;
    transition: transform 0.15s var(--mm-ease), box-shadow 0.15s var(--mm-ease), background-color 0.15s var(--mm-ease), border-color 0.15s var(--mm-ease), color 0.15s var(--mm-ease);
}

    .btn:focus-visible {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.4);
    }

    .btn:not(:disabled):hover {
        transform: translateY(-1px);
    }

    .btn i {
        margin-right: 0.35rem;
    }

.btn-primary {
    background: linear-gradient(135deg, var(--mm-gold-500), var(--mm-gold-300));
    border: none;
    color: var(--mm-navy-900);
    box-shadow: var(--mm-shadow-gold);
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active {
        background: linear-gradient(135deg, var(--mm-gold-400), var(--mm-gold-500));
        color: var(--mm-navy-900);
        box-shadow: 0 14px 34px -12px rgba(212, 175, 55, 0.55);
    }

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid var(--mm-line-strong);
    backdrop-filter: blur(4px);
}

    .btn-secondary:hover,
    .btn-secondary:focus,
    .btn-secondary:active {
        background: rgba(255, 255, 255, 0.14);
        color: #fff;
        border-color: rgba(255, 255, 255, 0.35);
    }

.btn-danger {
    background: linear-gradient(135deg, #e5484d, #b7373b);
    border: none;
    color: #fff;
    box-shadow: 0 10px 25px -12px rgba(229, 72, 77, 0.55);
}

    .btn-danger:hover,
    .btn-danger:focus,
    .btn-danger:active {
        background: linear-gradient(135deg, #eb5f63, #c73f43);
        color: #fff;
    }

.btn-outline-secondary {
    color: #fff;
    border: 1px solid var(--mm-line-strong);
    background: transparent;
}

    .btn-outline-secondary:hover,
    .btn-outline-secondary:focus,
    .btn-outline-secondary:active {
        background: rgba(255, 255, 255, 0.10);
        border-color: rgba(255, 255, 255, 0.4);
        color: #fff;
    }

/* Toolbar with responsive wrapping */
.mm-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

    .mm-toolbar .btn {
        flex: 1 1 auto;
    }

@media (min-width: 576px) {
    .mm-toolbar .btn {
        flex: 0 0 auto;
    }
}

/* -------------------------------------------------------------
   6. Surfaces / cards
   ------------------------------------------------------------- */
.mm-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--mm-line);
    border-radius: var(--mm-radius-lg);
    box-shadow: var(--mm-shadow-md);
    padding: 1.75rem;
    color: #eaf0fb;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

    .mm-card + .mm-card {
        margin-top: 1.25rem;
    }

.mm-card--auth {
    max-width: 440px;
    margin-inline: auto;
    padding: 2.25rem;
    border-radius: var(--mm-radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.mm-card--form {
    max-width: 640px;
    margin-inline: auto;
}

/* Bootstrap .card overrides for a consistent glass look */
.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--mm-line);
    border-radius: var(--mm-radius-md);
    color: #eaf0fb;
    box-shadow: var(--mm-shadow-sm);
}

    .card .card-title {
        font-family: var(--mm-font-serif);
        color: #fff;
    }

    .card .card-text {
        color: rgba(234, 240, 251, 0.85);
    }

/* Info row used inside meeting/diner cards */
.mm-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem 1.25rem;
    padding: 1rem 1.1rem;
    border-radius: var(--mm-radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--mm-line);
}

@media (min-width: 576px) {
    .mm-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.mm-info-grid > div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.95rem;
}

    .mm-info-grid > div > span:first-child {
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: rgba(234, 240, 251, 0.6);
    }

    .mm-info-grid > div > span:last-child {
        color: #ffffff;
        word-break: break-word;
    }

/* Diner cards (nested inside meetings) */
.mm-diner-card {
    border-radius: var(--mm-radius-md);
    padding: 1rem 1.1rem;
    border: 1px solid var(--mm-line);
    background: rgba(255, 255, 255, 0.04);
    margin-top: 0.75rem;
}

    .mm-diner-card.is-guest {
        border-color: rgba(245, 165, 36, 0.45);
        background: rgba(245, 165, 36, 0.08);
    }

    .mm-diner-card.is-member {
        border-color: rgba(74, 163, 255, 0.35);
        background: rgba(74, 163, 255, 0.06);
    }

.mm-diner-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

    .mm-diner-card__header .mm-diner-name {
        font-weight: 600;
        color: #fff;
    }

.mm-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: var(--mm-radius-pill);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--mm-line);
    color: rgba(234, 240, 251, 0.9);
}

    .mm-badge.is-guest {
        background: rgba(245, 165, 36, 0.15);
        color: #ffd28a;
        border-color: rgba(245, 165, 36, 0.4);
    }

    .mm-badge.is-member {
        background: rgba(74, 163, 255, 0.15);
        color: #c8e0ff;
        border-color: rgba(74, 163, 255, 0.4);
    }

    .mm-badge.is-gold {
        background: rgba(212, 175, 55, 0.15);
        color: var(--mm-gold-300);
        border-color: rgba(212, 175, 55, 0.4);
    }

/* -------------------------------------------------------------
   7. Forms
   ------------------------------------------------------------- */
.form-label {
    color: rgba(234, 240, 251, 0.85);
    font-weight: 500;
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border: 1px solid var(--mm-line);
    border-radius: var(--mm-radius-sm);
    padding: 0.7rem 0.9rem;
    transition: border-color 0.15s var(--mm-ease), box-shadow 0.15s var(--mm-ease), background-color 0.15s var(--mm-ease);
}

    .form-control::placeholder {
        color: rgba(234, 240, 251, 0.45);
    }

    .form-control:focus,
    .form-select:focus {
        background: rgba(255, 255, 255, 0.10);
        border-color: var(--mm-gold-400);
        color: #ffffff;
        box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    }


    .form-select option {
        background: var(--mm-navy-900);
        color: #ffffff;
    }

.form-check-input {
    background-color: rgba(255, 255, 255, 0.10);
    border: 1px solid var(--mm-line-strong);
}

    .form-check-input:checked {
        background-color: var(--mm-gold-500);
        border-color: var(--mm-gold-500);
    }

    .form-check-input:focus {
        border-color: var(--mm-gold-400);
        box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    }

.form-check-label {
    color: rgba(234, 240, 251, 0.9);
}

.form-group + .form-group {
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 0.25rem;
}

/* Date/time picker indicator adjustments for dark inputs */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(0.9) sepia(0.4) saturate(4) hue-rotate(5deg);
    cursor: pointer;
}

/* -------------------------------------------------------------
   8. Alerts
   ------------------------------------------------------------- */
.alert {
    border-radius: var(--mm-radius-md);
    border: 1px solid var(--mm-line);
    padding: 0.9rem 1.1rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.alert-success {
    background: rgba(47, 191, 113, 0.12);
    border-color: rgba(47, 191, 113, 0.35);
    color: #c7f2d9;
}

.alert-danger {
    background: rgba(229, 72, 77, 0.12);
    border-color: rgba(229, 72, 77, 0.4);
    color: #ffd0d2;
}

.alert-warning {
    background: rgba(245, 165, 36, 0.12);
    border-color: rgba(245, 165, 36, 0.4);
    color: #ffe4b8;
}

.alert-info {
    background: rgba(74, 163, 255, 0.12);
    border-color: rgba(74, 163, 255, 0.4);
    color: #cfe4ff;
}

.alert .btn-close {
    filter: invert(1) grayscale(1);
    opacity: 0.7;
}

    .alert .btn-close:hover {
        opacity: 1;
    }

/* -------------------------------------------------------------
   9. Custom accordion (used by Meetings & DiningList)
   ------------------------------------------------------------- */
.mm-page .accordion {
    background: transparent;
    box-shadow: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mm-page .accordion-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--mm-line);
    border-radius: var(--mm-radius-md);
    overflow: hidden;
    transition: border-color 0.2s var(--mm-ease), box-shadow 0.2s var(--mm-ease), transform 0.2s var(--mm-ease);
}

    .mm-page .accordion-item:hover {
        border-color: rgba(212, 175, 55, 0.4);
        box-shadow: var(--mm-shadow-md);
    }

    .mm-page .accordion-item.active {
        border-color: rgba(212, 175, 55, 0.55);
        box-shadow: var(--mm-shadow-md);
    }

.mm-page .accordion-header {
    background: transparent;
    color: #ffffff;
    padding: 1rem 1.15rem;
    font-weight: 600;
    font-family: var(--mm-font-sans);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    transition: background-color 0.2s var(--mm-ease);
    position: relative;
}

    .mm-page .accordion-header::after {
        content: "\F282"; /* bi-chevron-down */
        font-family: "bootstrap-icons";
        font-weight: 400;
        color: var(--mm-gold-400);
        transition: transform 0.25s var(--mm-ease);
        margin-left: auto;
    }

    .mm-page .accordion-header:hover {
        background: rgba(255, 255, 255, 0.06);
    }

.mm-page .accordion-item.active .accordion-header {
    background: rgba(212, 175, 55, 0.08);
}

    .mm-page .accordion-item.active .accordion-header::after {
        transform: rotate(-180deg);
    }

.mm-page .accordion-content {
    padding: 1.25rem;
    background: rgba(11, 20, 36, 0.35);
    border-top: 1px solid var(--mm-line);
    color: #eaf0fb;
}

    .mm-page .accordion-content strong {
        color: rgba(234, 240, 251, 0.75);
        font-weight: 500;
    }

/* -------------------------------------------------------------
   10. Hero (home page)
   ------------------------------------------------------------- */
.mm-hero {
    position: relative;
    padding: 3rem 1.25rem 3.5rem;
    border-radius: var(--mm-radius-xl);
    background: linear-gradient(160deg, rgba(15, 26, 46, 0.9), rgba(22, 36, 63, 0.75));
    border: 1px solid var(--mm-line);
    box-shadow: var(--mm-shadow-lg);
    overflow: hidden;
    text-align: center;
}

    .mm-hero::before,
    .mm-hero::after {
        content: "";
        position: absolute;
        pointer-events: none;
    }

    .mm-hero::before {
        top: -120px;
        right: -100px;
        width: 320px;
        height: 320px;
        background: radial-gradient(closest-side, rgba(212, 175, 55, 0.35), transparent 70%);
    }

    .mm-hero::after {
        bottom: -140px;
        left: -80px;
        width: 320px;
        height: 320px;
        background: radial-gradient(closest-side, rgba(74, 163, 255, 0.25), transparent 70%);
    }

    .mm-hero > * {
        position: relative;
        z-index: 1;
    }

@media (min-width: 768px) {
    .mm-hero {
        padding: 4.5rem 3rem 5rem;
    }
}

.mm-hero__title {
    margin-top: 1.25rem;
    margin-bottom: 1rem;
}

.mm-hero__actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.75rem;
}

/* Feature cards */
.mm-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 576px) {
    .mm-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 992px) {
    .mm-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.mm-feature {
    padding: 1.5rem;
    border-radius: var(--mm-radius-lg);
    border: 1px solid var(--mm-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    transition: transform 0.2s var(--mm-ease), border-color 0.2s var(--mm-ease), box-shadow 0.2s var(--mm-ease);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .mm-feature:hover {
        transform: translateY(-3px);
        border-color: rgba(212, 175, 55, 0.4);
        box-shadow: var(--mm-shadow-md);
    }

.mm-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.05));
    color: var(--mm-gold-300);
    font-size: 1.15rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.mm-feature h3 {
    font-family: var(--mm-font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.mm-feature p {
    color: rgba(234, 240, 251, 0.7);
    font-size: 0.95rem;
    margin: 0;
}

/* -------------------------------------------------------------
   11. Auth (Logon)
   ------------------------------------------------------------- */
.mm-auth {
    min-height: calc(100vh - 6rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.mm-auth__title {
    font-family: var(--mm-font-serif);
    font-size: 1.75rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 0.35rem;
}

.mm-auth__subtitle {
    text-align: center;
    color: rgba(234, 240, 251, 0.65);
    margin-bottom: 1.75rem;
}

.mm-auth__brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--mm-gold-500), var(--mm-gold-300));
    color: var(--mm-navy-900);
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
    box-shadow: var(--mm-shadow-gold);
}

/* -------------------------------------------------------------
   12. Footer
   ------------------------------------------------------------- */
.mm-footer {
    margin-top: 4rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--mm-line);
    color: rgba(234, 240, 251, 0.55);
    font-size: 0.9rem;
    text-align: center;
}

    .mm-footer a {
        color: rgba(234, 240, 251, 0.75);
    }

        .mm-footer a:hover {
            color: var(--mm-gold-300);
        }

/* -------------------------------------------------------------
   13. Utility overrides / legacy compatibility
   ------------------------------------------------------------- */
.yellow-text,
.yellow-text label,
.yellow-text h2,
.yellow-text button {
    color: var(--mm-gold-400) !important;
}

.white-text {
    color: #ffffff !important;
}

.centered-container {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0.25rem;
}

.title {
    font-family: var(--mm-font-serif);
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 1.25rem;
    color: var(--mm-gold-400);
}

.bg-light-subtle {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #eaf0fb !important;
}

hr {
    border-color: var(--mm-line-strong);
    opacity: 1;
}

.mm-diner-card__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mm-diner-card__actions .btn {
    padding: 0.25rem 0.5rem;
}

/* Ensure Bootstrap .container works well on very small screens */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
    }
}
