:root {
    /* WeddLab palette — chrome pink, actions blue */
    --primary: #1c3079;
    --primary-dark: #15245f;
    --primary-soft: #e8ecf8;
    --secondary: #243a8f;
    --pink: #ff5485;
    --pink-dark: #e63e6d;
    --pink-soft: #ffe4ec;
    --accent: #1c3079;
    --accent-soft: #e8ecf8;
    --navy: #1c3079;
    --dark: #212121;
    --text: #757575;
    --muted: #757575;
    --light: #faf9fa;
    --fill: #eeeced;
    --white: #ffffff;
    --line: rgba(33, 33, 33, 0.1);
    --success: #059669;
    --success-soft: #ecfdf5;
    --warning: #d97706;
    --warning-soft: #fffbeb;
    --danger: #dc2626;
    --shadow: 0 18px 48px rgba(28, 48, 121, 0.12);
    --shadow-sm: 0 10px 26px rgba(28, 48, 121, 0.08);
    --radius: 1.35rem;
    --radius-sm: 1rem;
    --sidebar-width: 272px;
    --header-h: 92px;
    --font: "Poppins", "Segoe UI", sans-serif;
    --mb-maroon: var(--primary);
    --mb-maroon-dark: var(--primary-dark);
    --mb-gold: var(--pink);
    --mb-gold-dark: var(--pink-dark);
    --mb-cream: var(--light);
    --mb-rose: var(--pink-soft);
    --mb-ink: var(--dark);
    --mb-muted: var(--muted);
}

html { scroll-behavior: smooth; }

html, body {
    font-family: var(--font);
    color: var(--text);
    background: var(--light);
}

h1, h2, h3, h4, h5, .brand-name, .hero h1, .footer-title, .profile-card-name {
    font-family: var(--font);
    letter-spacing: -0.03em;
    color: var(--dark);
}

img { max-width: 100%; }
a { color: var(--primary); }
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.public-body {
    background: var(--light);
    overflow-x: hidden;
}

.btn-maroon {
    background: linear-gradient(135deg, #2a4499, var(--primary));
    border: 0;
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.7rem 1.35rem;
    box-shadow: 0 12px 26px rgba(28, 48, 121, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-maroon:hover, .btn-maroon:focus {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(28, 48, 121, 0.42);
}
.btn-gold, .btn-gold:hover {
    background: linear-gradient(135deg, #2a4499, var(--primary));
    border: 0;
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 12px 26px rgba(28, 48, 121, 0.35);
}
.btn-outline-maroon {
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 999px;
    font-weight: 600;
    background: transparent;
}
.btn-outline-maroon:hover {
    background: var(--primary);
    color: #fff;
}
.btn-navy {
    background: var(--pink);
    border: 0;
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(255, 84, 133, 0.28);
}
.btn-navy:hover { color: #fff; background: var(--pink-dark); }
.btn-outline-light {
    border-radius: 999px;
    font-weight: 600;
}
.text-gold { color: var(--pink); }

.public-navbar {
    background: linear-gradient(135deg, #ff6b97 0%, var(--pink) 55%, var(--pink-dark) 100%);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 28px rgba(255, 84, 133, 0.28);
    min-height: var(--header-h);
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    z-index: 1030;
}
.public-navbar-inner {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none;
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 0.75rem;
}
.public-navbar .navbar-brand {
    font-size: inherit;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    flex: 0 1 auto;
    max-width: 32%;
    min-width: 0;
    margin-right: 0;
}
.public-navbar .navbar-toggler {
    filter: brightness(0) invert(1);
    margin-left: auto;
    position: relative;
    z-index: 2;
}
.public-navbar .navbar-collapse {
    display: flex !important;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    gap: 0.75rem;
}
.public-navbar .public-nav-links {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    margin: 0;
    gap: 0.15rem;
}
.public-navbar .nav-link {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.5rem 0.7rem !important;
    border-radius: 999px;
    white-space: nowrap;
    cursor: pointer;
    pointer-events: auto;
}
.public-navbar .nav-link:hover,
.public-navbar .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}
.public-navbar .public-nav-actions {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    gap: 0.5rem;
    margin-left: 0;
}
.public-navbar .btn-nav-primary {
    background: #fff;
    color: var(--pink);
    border: 0;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}
.public-navbar .btn-nav-primary:hover {
    background: #fff;
    color: var(--pink-dark);
}
.public-navbar .btn-nav-outline {
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    background: transparent;
    font-weight: 700;
    border-radius: 999px;
}
.public-navbar .btn-nav-outline:hover {
    background: #fff;
    color: var(--pink);
    border-color: #fff;
}
.public-navbar .btn-nav-primary,
.public-navbar .btn-nav-outline {
    padding: 0.5rem 1.05rem;
    font-size: 0.95rem;
    white-space: nowrap;
}
.public-navbar .nav-logout-form { margin: 0; }
@media (max-width: 991.98px) {
    .public-navbar-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding-left: 0.85rem;
        padding-right: 0.85rem;
        gap: 0.75rem;
    }
    .public-navbar .navbar-brand {
        flex: 1 1 0;
        min-width: 0;
        max-width: calc(100% - 3.25rem);
        margin-right: 0;
    }
    .public-navbar .navbar-toggler {
        margin-left: auto;
        flex: 0 0 auto;
        align-self: center;
        order: 2;
        display: block;
    }
    .public-navbar .navbar-collapse {
        display: none !important;
        flex-basis: 100%;
        flex-wrap: wrap;
        width: 100%;
        order: 3;
        justify-content: stretch;
    }
    .public-navbar .navbar-collapse.show {
        display: flex !important;
    }
    .public-navbar .public-nav-links {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: stretch;
        width: 100%;
        margin: 0;
        gap: 0.45rem;
        padding: 0.35rem 0 0.85rem;
    }
    .public-navbar .public-nav-actions {
        width: 100%;
        margin: 0 0 0.85rem;
        flex-direction: column;
    }
    .public-navbar .public-nav-actions .btn {
        display: block;
        width: 100%;
        text-align: center;
    }
}
.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 8px 18px rgba(28, 48, 121, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
}
.brand-name {
    font-size: 1.28rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}
.brand-tagline {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 500;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    padding: 3.4rem 0 4.2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
}
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slider,
.hero-slider .carousel-inner,
.hero-slider .carousel-item {
    height: 100%;
}
.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.hero-wash {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(55, 55, 55, 0.42) 0%, rgba(120, 120, 120, 0.18) 48%, rgba(140, 140, 140, 0.08) 100%);
}
.hero-merge {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 42%, rgba(255, 255, 255, 0.88) 78%, #fff 100%);
}
.hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-bottom: 1.5rem;
    max-width: 42rem;
    flex: 1 1 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    border-radius: 999px;
    padding: 0.38rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.hero-content h1 {
    font-size: clamp(1.85rem, 4.2vw, 2.85rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    max-width: 16ch;
}
.hero-lead {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.02rem;
    max-width: 34rem;
    margin: 0;
}
.hero-search-actions {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
    margin: 0;
}
.btn-hero-search {
    min-height: 44px;
    padding: 0.65rem 1.2rem;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(20, 20, 40, 0.18);
}

.home-filter-section {
    position: relative;
    z-index: 4;
    margin-top: -1.25rem;
    padding: 0 0 0.25rem;
}
.filter-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 1.15rem 1.25rem 1.1rem;
    box-shadow: 0 18px 44px rgba(40, 40, 40, 0.16);
}
.profiles-area { padding-top: 1.75rem; }
.filter-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(280px, 1.6fr) auto;
    gap: 0.75rem 0.75rem;
    align-items: end;
}
.filter-field .form-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5a6478;
    margin-bottom: 0.35rem;
}
.filter-card .form-select {
    border-radius: 999px;
    border: 1px solid #e2e6ee;
    background: #f4f6fb;
    min-height: 44px;
    font-weight: 500;
    color: var(--navy);
    padding-right: 2rem;
}
.filter-card .form-select:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(28, 48, 121, 0.12);
    background: #fff;
}
.filter-age-range {
    display: grid;
    grid-template-columns: minmax(108px, 1fr) auto minmax(108px, 1fr);
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}
.filter-age-select {
    min-width: 108px !important;
    width: 100%;
    min-height: 44px;
    border-radius: 999px !important;
    border: 1.5px solid rgba(28, 48, 121, 0.16) !important;
    background: linear-gradient(180deg, #eef2fb, #e8ecf8) !important;
    color: var(--navy) !important;
    font-weight: 700 !important;
    padding: 0.45rem 2rem 0.45rem 0.95rem !important;
    text-overflow: clip;
    white-space: nowrap;
}
.filter-age-select:focus {
    background: #fff !important;
    border-color: var(--navy) !important;
    box-shadow: 0 0 0 3px rgba(28, 48, 121, 0.12) !important;
}
.filter-age-sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    color: var(--navy);
    opacity: 0.55;
    font-size: 0.85rem;
}
.filter-actions {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    padding-bottom: 1px;
}
.filter-actions .btn-navy {
    min-height: 44px;
    padding: 0.6rem 1.05rem;
    box-shadow: 0 8px 16px rgba(28, 48, 121, 0.28);
}
.btn-reset {
    min-height: 44px;
    border-radius: 999px;
    border: 1.5px solid var(--navy);
    color: var(--navy);
    background: #fff;
    font-weight: 600;
    padding: 0.6rem 1rem;
}
.btn-reset:hover { background: var(--navy); color: #fff; }

@media (max-width: 1199.98px) {
    .filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .filter-field-age { grid-column: span 2; }
    .filter-actions { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
    .hero { min-height: 460px; padding: 2.2rem 0 3.2rem; }
    .hero-content {
        padding-top: 4rem;
    }
    .hero-content h1 { max-width: none; }
    .hero-search-actions {
        top: 0.75rem;
        right: 0.75rem;
        left: auto;
        width: auto;
        max-width: calc(100% - 1.5rem);
        order: 0;
        margin-bottom: 0;
    }
    .home-filter-section { margin-top: 0; }
    .filter-grid { grid-template-columns: 1fr 1fr; }
    .filter-field-age, .filter-actions { grid-column: 1 / -1; }
}

.section-heading { margin-bottom: 1.75rem; }
.section-heading h2 {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.35rem;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem 0.85rem;
}
.section-count {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0;
    color: #fff;
    background: linear-gradient(135deg, #2a4499, var(--navy));
    box-shadow: 0 8px 18px rgba(28, 48, 121, 0.28);
    vertical-align: middle;
}
.section-count i { font-size: 0.9rem; opacity: 0.9; }
.section-count strong {
    font-size: 0.95rem;
    font-weight: 800;
}
.section-count span {
    font-weight: 600;
    opacity: 0.92;
}
.section-heading p { color: var(--muted); margin: 0 auto; max-width: 36rem; }
.section-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.35rem;
}
.section-flourish {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    color: var(--primary);
    margin-bottom: 0.65rem;
    font-size: 0.85rem;
}
.section-flourish-line {
    width: 42px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.profile-section,
.page-section {
    scroll-margin-top: 6rem;
}
.profile-section {
    overflow: visible;
}
.profile-section.is-loading {
    pointer-events: none;
}
.profile-section.is-loading .profile-deck-grid {
    opacity: 0.45;
    filter: saturate(0.7) blur(1px);
    transform: scale(0.985);
    transition: opacity 0.28s ease, filter 0.28s ease, transform 0.28s ease;
}
.profile-card-col {
    position: relative;
    z-index: 1;
    animation: cardRiseIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--card-i, 0) * 55ms);
}
.profile-card-col.is-animating {
    animation: cardRiseIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--card-i, 0) * 55ms);
}
.profile-section.is-swapping .profile-deck-grid {
    opacity: 0;
    transform: translateY(12px);
}
.profile-card-col:has(.is-photo-hover) { z-index: 8; }

@keyframes cardRiseIn {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.96);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Deck layout: side rails + centered grid (no overlapping arrows) */
.profile-deck {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem 1rem;
}
.profile-deck-rail {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
}
.profile-deck-grid { min-width: 0; }
.profile-deck-arrow {
    position: relative;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
    background: var(--pink);
    border: 0;
    box-shadow: 0 8px 18px rgba(255, 84, 133, 0.28);
    transition: transform 0.25s ease, background 0.2s ease;
}
.profile-deck-arrow i { position: relative; z-index: 1; }
.profile-deck-arrow:hover:not(.is-disabled) {
    transform: scale(1.06);
    background: var(--pink-dark);
    color: #fff;
}
.profile-deck-arrow:active:not(.is-disabled) {
    transform: scale(0.94);
}
.profile-deck-arrow.is-disabled {
    background: #ececec;
    color: #b0b0b0;
    box-shadow: none;
    pointer-events: none;
}

.profile-page-numbers {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
}
.profile-page-track {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(28, 48, 121, 0.08);
    backdrop-filter: blur(10px);
}
.profile-page-pill {
    min-width: 2.55rem;
    height: 2.55rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    background: transparent;
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.28s ease,
        color 0.28s ease,
        box-shadow 0.28s ease;
}
.profile-page-pill:hover {
    background: var(--pink-soft);
    transform: translateY(-2px);
    color: var(--pink-dark);
}
.profile-page-pill.is-active {
    background: var(--pink);
    color: #fff;
    box-shadow: 0 8px 16px rgba(255, 84, 133, 0.3);
}

@media (max-width: 991.98px) {
    .profile-deck {
        position: relative;
        grid-template-columns: 1fr;
        gap: 1.1rem;
        padding: 0 0.25rem;
    }
    .profile-deck-rail {
        position: absolute;
        top: 38%;
        left: 0.15rem;
        z-index: 7;
        transform: translateY(-50%);
        pointer-events: none;
    }
    .profile-deck-rail.is-next {
        left: auto;
        right: 0.15rem;
    }
    .profile-deck-rail .profile-deck-arrow {
        pointer-events: auto;
        width: 2.9rem;
        height: 2.9rem;
        font-size: 1.2rem;
    }
    .profile-deck-grid {
        padding: 0 0.35rem;
    }
}

.profile-card {
    position: relative;
    background: #fff;
    border-radius: 1.15rem;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    box-shadow: 0 10px 28px rgba(40, 40, 40, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.profile-card:hover,
.profile-card.is-photo-hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(40, 40, 40, 0.12);
}
.profile-card.is-photo-hover {
    z-index: 2;
}
.profile-card-link { color: inherit; text-decoration: none; display: block; position: relative; z-index: 1; }
.profile-card-photo {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
    z-index: 1;
}
.profile-card-photo img,
.profile-photo,
.detail-photo,
.table-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    transition: transform 0.5s ease;
}
.profile-card:hover .profile-card-photo img,
.profile-card.is-photo-hover .profile-card-photo img {
    transform: none;
}
.profile-card-photo .carousel,
.profile-card-photo .carousel-inner,
.profile-card-photo .carousel-item,
.profile-card-photo .carousel-item a { height: 100%; }
.profile-card-photo .carousel-item a { display: block; }
.profile-card-photo .carousel-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.profile-card-photo .carousel-control-prev,
.profile-card-photo .carousel-control-next {
    width: 2.75rem;
    height: 2.75rem;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    opacity: 1;
    z-index: 6;
    background: none;
    border: 0;
    pointer-events: auto;
}
.profile-card-photo .carousel-control-prev { left: 0.55rem; }
.profile-card-photo .carousel-control-next { right: 0.55rem; }
.profile-photo-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(28, 48, 121, 0.82);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 6px 16px rgba(20, 20, 20, 0.28);
}
.profile-card-photo .carousel-control-prev:hover .profile-photo-nav-icon,
.profile-card-photo .carousel-control-next:hover .profile-photo-nav-icon,
.profile-card-photo .carousel-control-prev:focus-visible .profile-photo-nav-icon,
.profile-card-photo .carousel-control-next:focus-visible .profile-photo-nav-icon {
    background: var(--pink);
    color: #fff;
}
.profile-card-photo .carousel-indicators {
    margin-bottom: 0.75rem;
    z-index: 4;
}
.profile-card-photo .carousel-indicators [data-bs-target] {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.7);
}
.profile-card-photo .carousel-indicators .active {
    background: var(--pink);
}
.profile-card-body {
    padding: 1rem 1.05rem 1.15rem;
    text-align: center;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}
.profile-card-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2b2b2b;
    margin: 0;
}
.profile-card-meta {
    color: #7a7a7a;
    font-size: 0.86rem;
    font-weight: 500;
    margin: 0 0 0.45rem !important;
}
.profile-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.62rem 1rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    color: #fff;
    background: var(--pink);
    box-shadow: 0 8px 16px rgba(255, 84, 133, 0.28);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.profile-card:hover .profile-card-cta {
    background: var(--pink-dark);
    box-shadow: 0 10px 20px rgba(230, 62, 109, 0.32);
}

.profile-card-locked {
    cursor: default;
}
.profile-card-locked:hover,
.profile-card-locked.is-photo-hover {
    transform: none;
    box-shadow: 0 10px 28px rgba(40, 40, 40, 0.08);
}
.profile-card-locked:hover .profile-card-photo img {
    transform: none;
}
.profile-lock-overlay {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(21, 36, 95, 0.45);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    padding: 0.75rem;
}
.profile-lock-overlay i {
    font-size: 1.35rem;
}
.profile-card-locked .profile-card-cta {
    background: #e5e7eb;
    color: #6b7280;
    box-shadow: none;
}
.pending-access-banner {
    border-radius: 1rem;
    background: #fff8e8;
    border: 1px solid #f5d78e !important;
}
.match-badge {
    --match-color: #eab308;
    --match-color-soft: #fef9c3;
    --match-glow: rgba(234, 179, 8, 0.38);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--match-color);
}
.match-badge-high {
    --match-color: #16a34a;
    --match-color-soft: #dcfce7;
    --match-glow: rgba(22, 163, 74, 0.42);
}
.match-badge-mid {
    --match-color: #ca8a04;
    --match-color-soft: #fef9c3;
    --match-glow: rgba(202, 138, 4, 0.4);
}
.match-badge-zero {
    --match-color: #dc2626;
    --match-color-soft: #fee2e2;
    --match-glow: rgba(220, 38, 38, 0.42);
}
.match-ring {
    position: relative;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
}
.match-ring svg {
    width: 100%;
    height: 100%;
    display: block;
}
.match-ring-track {
    stroke: rgba(15, 23, 42, 0.1);
    stroke-width: 3.2;
}
.match-ring-fill {
    stroke: var(--match-color);
    stroke-width: 3.2;
    stroke-linecap: round;
    transition: stroke-dasharray 0.45s ease;
}
.match-ring-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
}
.match-badge.is-overlay {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 3.7rem;
    height: 3.7rem;
    padding: 0.18rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.28), 0 0 0 3px var(--match-glow);
    z-index: 6;
}
.match-badge.is-overlay .match-ring {
    width: 100%;
    height: 100%;
}
.match-badge.is-overlay .match-badge-copy {
    display: none;
}
.match-badge.is-overlay .match-ring-center strong {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--match-color);
}
.match-badge.is-overlay .match-ring-center.is-long strong {
    font-size: 0.68rem;
}
.match-badge.is-overlay .match-ring-center em {
    font-size: 0.58rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--match-color);
    opacity: 0.9;
}
.match-badge.is-inline,
.match-badge.is-detail {
    position: relative;
    padding: 0.28rem 0.75rem 0.28rem 0.28rem;
    border-radius: 999px;
    background: var(--match-color-soft);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 6px 14px var(--match-glow);
}
.match-badge.is-inline.match-badge-high,
.match-badge.is-detail.match-badge-high {
    border-color: #86efac;
}
.match-badge.is-inline.match-badge-mid,
.match-badge.is-detail.match-badge-mid {
    border-color: #facc15;
}
.match-badge.is-inline.match-badge-zero,
.match-badge.is-detail.match-badge-zero {
    border-color: #fca5a5;
}
.match-badge.is-inline .match-ring,
.match-badge.is-detail .match-ring {
    width: 1.7rem;
    height: 1.7rem;
}
.match-badge.is-inline .match-ring-center,
.match-badge.is-detail .match-ring-center {
    font-size: 0.78rem;
}
.match-badge.is-detail {
    padding: 0.38rem 0.95rem 0.38rem 0.38rem;
}
.match-badge.is-detail .match-ring {
    width: 2.15rem;
    height: 2.15rem;
}
.match-badge.is-detail .match-ring-center {
    font-size: 0.95rem;
}
.match-badge-copy {
    display: inline-flex;
    align-items: baseline;
    gap: 0.28rem;
    line-height: 1;
}
.match-badge-copy strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--match-color);
}
.match-badge-copy span {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--match-color);
    opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
    .profile-card-col,
    .profile-card,
    .profile-deck-arrow,
    .profile-page-pill {
        animation: none !important;
        transition: none !important;
    }
}

.photo-thumb img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 18%;
    border-radius: 0.75rem;
}
.profile-gallery .carousel-item img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: center 18%;
}

.public-footer {
    background: linear-gradient(180deg, #ff6b97, var(--pink) 40%, var(--pink-dark));
    color: #fff;
    margin-top: 3.5rem;
}
.footer-title { color: #fff; font-weight: 800; }
.footer-link, .public-footer a { color: rgba(255, 255, 255, 0.9); text-decoration: none; }
.footer-link:hover { color: #fff; }
.letter-spacing { letter-spacing: 0.08em; }
.footer-col h3 { color: rgba(255, 255, 255, 0.78); font-size: 0.78rem; font-weight: 700; }

.detail-page {
    background: linear-gradient(180deg, #fff, var(--light));
    padding: 1.5rem 0 3.25rem;
}
.detail-stack {
    max-width: 1140px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
}
.detail-section { width: 100%; min-width: 0; }
.detail-section.info-card { height: 100%; }
@media (max-width: 767.98px) {
    .detail-stack { grid-template-columns: 1fr; }
}
.detail-photo-wrap {
    border-radius: 1.35rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #f0f0f0;
}
.detail-photo-wrap, .photo-preview, .detail-photo { border-radius: 1.35rem; overflow: hidden; }
.detail-photo, .photo-preview img { width: 100%; max-height: 520px; object-fit: cover; }
.detail-photo-wrap .profile-gallery,
.detail-photo-wrap .detail-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: none;
    height: auto;
    display: block;
}
.detail-photo-wrap .carousel,
.detail-photo-wrap .carousel-inner,
.detail-photo-wrap .carousel-item {
    height: 100%;
}
.detail-photo-wrap .carousel-item img,
.detail-photo-wrap img.detail-photo {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center 18%;
}
.detail-identity {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-sm);
    padding: 1.5rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    text-align: left;
    height: 100%;
}
.detail-head {
    width: 100%;
    text-align: left;
}
.detail-name {
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 0.4rem;
    line-height: 1.15;
}
.detail-meta {
    color: var(--muted);
    font-size: 1.02rem;
    font-weight: 500;
    margin: 0;
}
.detail-actions {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.85rem;
    width: 100%;
    margin-top: 1.75rem;
    min-height: 10rem;
}
.detail-actions .pay-status,
.detail-actions .btn {
    min-width: 16.5rem;
    justify-content: center;
    text-align: center;
    font-size: 1.05rem;
    padding: 0.72rem 1.35rem;
    line-height: 1.2;
    border-radius: 999px;
    font-weight: 700;
}
.detail-actions .pay-status i,
.detail-actions .btn i {
    font-size: 1.2rem;
}
.pay-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: default;
    pointer-events: none;
    user-select: none;
    border: 0;
}
.pay-status.is-paid {
    background: #059669;
    color: #fff;
    box-shadow: 0 10px 18px rgba(5, 150, 105, 0.28);
}
.pay-status.is-pending {
    background: #d97706;
    color: #fff;
    box-shadow: 0 10px 18px rgba(217, 119, 6, 0.28);
}
.btn-whatsapp {
    background: #25d366;
    border: 0;
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.42rem 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 8px 16px rgba(37, 211, 102, 0.28);
}
.btn-whatsapp:hover,
.btn-whatsapp:focus {
    color: #fff;
    background: #1ebe57;
}
.btn-whatsapp.is-disabled {
    opacity: 0.55;
    pointer-events: none;
    box-shadow: none;
}
.btn-whatsapp.is-sharing {
    pointer-events: none;
}
.detail-list dt { color: var(--muted); font-weight: 600; }
.detail-list dd { margin-bottom: 0.75rem; font-weight: 600; color: var(--dark); }
.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.info-card-head {
    padding: 1rem 1.25rem;
    font-weight: 800;
    color: var(--navy);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #fff, #f4f6fc);
}
.info-row {
    display: flex;
    gap: 0.85rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
}
.info-row:last-child { border-bottom: 0; }
.info-row i { color: var(--secondary); margin-top: 0.15rem; }
.info-row .label { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.info-row .value { font-weight: 700; color: var(--dark); }
.pay-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-weight: 700;
    font-size: 0.85rem;
}
.pay-badge.is-paid { background: var(--success-soft); color: var(--success); }
.pay-badge.is-pending { background: var(--warning-soft); color: var(--warning); }

.empty-state .empty-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.8rem;
}

.guest-body {
    min-height: 100vh;
    margin: 0;
    background: #fff;
}
.guest-wrap { width: 100%; min-height: 100vh; }
.login-split { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 0.95fr; }
.login-brand {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 4.2rem 3.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at 92% 88%, transparent 92px, rgba(255, 255, 255, 0.16) 93px, transparent 95px),
        radial-gradient(circle at 92% 88%, transparent 128px, rgba(255, 255, 255, 0.07) 129px, transparent 131px),
        linear-gradient(155deg, #ff7a9e 0%, var(--pink) 48%, var(--pink-dark) 100%);
}
.login-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.15px, transparent 1.35px);
    background-size: 22px 22px;
    opacity: 0.7;
}
.login-brand::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -160px;
    top: -140px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    box-shadow:
        0 0 0 36px rgba(255, 255, 255, 0.06),
        0 0 0 72px rgba(255, 255, 255, 0.04);
    pointer-events: none;
}
.login-brand > * { position: relative; z-index: 1; }
.login-brand h1 {
    color: #fff;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
}
.login-brand-text { color: rgba(255, 255, 255, 0.9); max-width: 28rem; }
.login-brand .hero-kicker {
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.7rem;
}
.login-panel {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
}
.login-card-modern { width: min(440px, 100%); }
.login-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--pink);
    margin-bottom: 0.35rem;
}
.btn-login {
    background: var(--pink);
    border: 0;
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(255, 84, 133, 0.3);
}
.btn-login:hover,
.btn-login:focus {
    background: var(--pink-dark);
    color: #fff;
}
.login-card-modern .form-control {
    background: #f6f6f6;
    border-color: #e6e6e6;
}
.login-card-modern .form-control:focus {
    background: #fff;
    border-color: var(--pink);
    box-shadow: 0 0 0 4px rgba(255, 84, 133, 0.16);
}
.password-wrap { position: relative; }
.password-wrap .form-control { padding-right: 2.8rem; }
.password-toggle {
    position: absolute;
    right: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: none;
    color: var(--muted);
}
.form-control, .form-select {
    border-radius: 0.85rem;
    min-height: 46px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.badge {
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 999px;
    padding: 0.4em 0.75em;
}
.badge.bg-success { background: var(--success-soft) !important; color: var(--success) !important; }
.badge.bg-secondary { background: #f3f4f6 !important; color: #4b5563 !important; }
.badge.bg-primary { background: var(--primary-soft) !important; color: var(--primary-dark) !important; }
.badge.bg-dark { background: #fee2e2 !important; color: #b91c1c !important; }
.badge.bg-warning { background: var(--warning-soft) !important; color: var(--warning) !important; }

.table-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.pagination { --bs-pagination-color: var(--primary); --bs-pagination-active-bg: var(--primary); --bs-pagination-active-border-color: var(--primary); }
.page-link { border-radius: 0.65rem !important; margin: 0 0.15rem; }

.profile-scroll-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 4.5rem;
    padding: 1.5rem 1rem 0.35rem;
    color: #7a2948;
    font-size: 0.9rem;
    font-weight: 600;
}
.page-section { padding: 4rem 0; }
.soft-card {
    background: #fff;
    border-radius: 1.35rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.soft-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.upload-drop {
    border: 1.5px dashed rgba(28, 48, 121, 0.28);
    background: var(--primary-soft);
    border-radius: 1.1rem;
    padding: 1.4rem 1rem;
    text-align: center;
    color: var(--muted);
}
.upload-drop i { font-size: 1.8rem; color: var(--primary); display: block; margin-bottom: 0.4rem; }

.alert { border: 0; border-radius: 1rem; }
.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    color: var(--navy);
}
.form-section-num {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
}

.icon-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.65rem;
}

.ai-match-why {
    max-width: 28rem;
}
.ai-match-why summary {
    cursor: pointer;
    color: #7a2948;
    font-size: 0.9rem;
    font-weight: 600;
}
.ai-match-why-list {
    list-style: none;
    margin: 0.55rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}
.ai-match-why-list li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    color: #4a4a4a;
}
.ai-match-why-list i { color: #2e7d32; }
.ai-match-why-list li.is-miss i { color: #c62828; }
.match-details-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5a6478;
    margin: 0;
}
.search-criteria-panel {
    background: #fff;
    border: 1px solid #efe7ea;
    border-radius: 1.15rem;
    padding: 1rem 1.15rem;
    box-shadow: var(--shadow-sm);
}
.search-criteria-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5a6478;
}
.search-criteria-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.search-criteria-chip {
    background: var(--primary-soft);
    color: var(--navy);
    font-weight: 600;
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
}
.search-criteria-chip strong { font-weight: 800; }

.advanced-filter-modal {
    border: 0;
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(28, 48, 121, 0.2);
    display: flex;
    flex-direction: column;
    max-height: 100%;
}
.advanced-filter-modal .modal-header {
    border-bottom: 1px solid #f0e6ea;
    background: linear-gradient(180deg, #fff8fa, #fff);
    padding: 1.25rem 1.4rem 1rem;
    align-items: flex-start;
    flex-shrink: 0;
}
.advanced-filter-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pink);
}
.advanced-filter-modal .modal-title {
    font-weight: 800;
    color: var(--navy);
}
.advanced-filter-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}
.advanced-filter-modal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.advanced-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.9rem;
}
.advanced-filter-modal .form-select {
    border-radius: 999px;
    border: 1px solid #e2e6ee;
    background: #f4f6fb;
    min-height: 46px;
    font-weight: 500;
    color: var(--navy);
}
.advanced-filter-modal .form-select:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(28, 48, 121, 0.12);
    background: #fff;
}
.advanced-filter-footer {
    border-top: 1px solid #f0e6ea;
    padding: 1rem 1.4rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
    background: #fff;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 2;
}
.advanced-filter-footer .btn {
    min-height: 44px;
    min-width: 8.5rem;
}

@media (max-width: 575.98px) {
    #advancedFiltersModal {
        padding: 0;
        overflow: hidden;
    }
    #advancedFiltersModal .modal-dialog {
        margin: 0.45rem;
        max-width: calc(100% - 0.9rem);
        height: calc(100vh - 0.9rem);
        max-height: calc(100vh - 0.9rem);
        height: calc(100svh - 0.9rem);
        max-height: calc(100svh - 0.9rem);
    }
    #advancedFiltersModal .modal-content,
    .advanced-filter-modal {
        height: 100%;
        max-height: 100%;
        border-radius: 1.1rem;
    }
    .advanced-filter-modal .modal-header {
        padding: 0.85rem 1rem 0.75rem;
    }
    .advanced-filter-modal .modal-header .text-muted {
        font-size: 0.75rem;
    }
    .advanced-filter-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .advanced-filter-grid .filter-field:not(.filter-field-age) {
        grid-column: 1 / -1;
    }
    .advanced-filter-footer {
        justify-content: stretch;
        padding: 0.75rem 1rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
    }
    .advanced-filter-footer .btn { width: 100%; flex: 1 1 calc(50% - 0.3rem); }
}

.error-page { min-height: 100vh; }

/* Heart loader — matrimonial pulse overlay */
.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 249, 251, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}
.global-loader.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    cursor: wait;
    overscroll-behavior: none;
    touch-action: none;
}
body.is-heart-loading {
    overflow: hidden;
}
.heart-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 10rem;
    padding: 0 1rem;
}
.heart-loader-pulse {
    width: 6.4rem;
    height: 6.1rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transform-origin: center bottom;
    will-change: transform;
    backface-visibility: hidden;
    filter: drop-shadow(0 10px 16px rgba(255, 84, 133, 0.28));
}
.global-loader.active .heart-loader-pulse {
    animation: heart-loader-beat 1.45s ease-in-out infinite;
}
.heart-loader-shape {
    --heart-size: 3.4rem;
    width: var(--heart-size);
    height: var(--heart-size);
    position: relative;
    background: linear-gradient(155deg, #ff9bb8 0%, var(--pink) 48%, var(--pink-dark) 100%);
    transform: rotate(-45deg);
    border-radius: 0.28rem;
    margin-top: calc(var(--heart-size) * 0.42);
}
.heart-loader-shape::before,
.heart-loader-shape::after {
    content: "";
    position: absolute;
    width: var(--heart-size);
    height: var(--heart-size);
    background: inherit;
    border-radius: 50%;
}
.heart-loader-shape::before {
    top: calc(var(--heart-size) / -2);
    left: 0;
}
.heart-loader-shape::after {
    top: 0;
    left: calc(var(--heart-size) / 2);
}
.heart-loader-shadow {
    width: 3.85rem;
    height: 0.62rem;
    margin-top: 0.95rem;
    border-radius: 50%;
    background: rgba(33, 33, 33, 0.2);
    filter: blur(6px);
    transform-origin: center;
    will-change: transform, opacity;
}
.global-loader.active .heart-loader-shadow {
    animation: heart-loader-shadow 1.45s ease-in-out infinite;
}
.heart-loader-caption {
    margin: 1.1rem 0 0;
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--pink-dark);
    text-align: center;
}

@keyframes heart-loader-beat {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    20% { transform: translate3d(0, -0.22rem, 0) scale(1.08); }
    40% { transform: translate3d(0, -0.48rem, 0) scale(1.16); }
    60% { transform: translate3d(0, -0.22rem, 0) scale(1.08); }
    80% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes heart-loader-shadow {
    0% { transform: scaleX(1); opacity: 0.72; }
    20% { transform: scaleX(0.86); opacity: 0.48; }
    40% { transform: scaleX(0.68); opacity: 0.28; }
    60% { transform: scaleX(0.86); opacity: 0.48; }
    80% { transform: scaleX(1); opacity: 0.72; }
    100% { transform: scaleX(1); opacity: 0.72; }
}

@media (max-width: 575.98px) {
    .heart-loader-pulse {
        width: 5rem;
        height: 4.8rem;
    }
    .heart-loader-shape { --heart-size: 2.65rem; }
    .heart-loader-shadow {
        width: 2.85rem;
        height: 0.42rem;
        margin-top: 0.72rem;
    }
    .heart-loader-caption { font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .global-loader.active .heart-loader-pulse,
    .global-loader.active .heart-loader-shadow {
        animation: none;
    }
}

@media (max-width: 991.98px) {
    .login-split { grid-template-columns: 1fr; }
    .login-brand { min-height: 280px; padding: 2rem 1.5rem; }
}

@media (max-width: 575.98px) {
    .filter-card { padding: 1.1rem; }
}
