/* ==========================================================================
   INAIVOM - Main Stylesheet
   File: app/static/css/style.css
   Premium Matrimony Platform
   Theme: Maroon #800020 | Gold #D4AF37 | White

   IMPORTANT:
   This file contains application-wide visual styles.
   Component-specific rules remain in their respective CSS files:
   variables.css, reset.css, typography.css, layout.css, buttons.css,
   forms.css, cards.css, modal.css, navbar.css, footer.css, alerts.css,
   animations.css, admin.css and responsive.css.
   ========================================================================== */


/* ==========================================================================
   1. ROOT FALLBACKS
   ========================================================================== */

:root {
    --inaivom-primary: #800020;
    --inaivom-primary-dark: #650019;
    --inaivom-primary-deep: #4d0013;
    --inaivom-primary-light: #9b1738;

    --inaivom-gold: #d4af37;
    --inaivom-gold-dark: #aa881f;
    --inaivom-gold-light: #ead77f;
    --inaivom-gold-soft: #fff8df;

    --inaivom-white: #ffffff;
    --inaivom-background: #ffffff;
    --inaivom-background-soft: #fdfafb;
    --inaivom-background-muted: #f8f5f6;

    --inaivom-text: #2e292c;
    --inaivom-text-soft: #554d51;
    --inaivom-muted: #7b7277;
    --inaivom-light-muted: #a59ca1;

    --inaivom-border: #ebe4e7;
    --inaivom-border-light: #f2edef;

    --inaivom-success: #198754;
    --inaivom-danger: #dc3545;
    --inaivom-warning: #c48700;
    --inaivom-info: #2878a5;

    --inaivom-radius-sm: 8px;
    --inaivom-radius: 12px;
    --inaivom-radius-lg: 18px;
    --inaivom-radius-xl: 24px;

    --inaivom-shadow-sm:
        0 3px 12px rgba(45, 24, 33, 0.05);

    --inaivom-shadow:
        0 10px 30px rgba(45, 24, 33, 0.08);

    --inaivom-shadow-lg:
        0 20px 55px rgba(45, 24, 33, 0.12);

    --inaivom-transition:
        200ms cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==========================================================================
   2. BODY
   ========================================================================== */

body {
    background: var(--inaivom-background);
    color: var(--inaivom-text);
}

body.no-scroll,
body.modal-open,
body.menu-open {
    overflow: hidden;
}


/* ==========================================================================
   3. APPLICATION ROOT
   ========================================================================== */

#app,
.app,
.site-wrapper {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    min-height: 100vh;
}

main,
.main-content {
    min-width: 0;

    flex: 1 0 auto;
}


/* ==========================================================================
   4. GLOBAL LINKS
   ========================================================================== */

a {
    color: var(--inaivom-primary);

    transition:
        color var(--inaivom-transition),
        opacity var(--inaivom-transition);
}

a:hover {
    color: var(--inaivom-primary-dark);
}

.link-gold {
    color: #876b11;
}

.link-gold:hover {
    color: #654e08;
}

.link-muted {
    color: var(--inaivom-muted);
}

.link-muted:hover {
    color: var(--inaivom-primary);
}


/* ==========================================================================
   5. PAGE BACKGROUNDS
   ========================================================================== */

.page-bg {
    background: var(--inaivom-background);
}

.page-bg-soft {
    background: var(--inaivom-background-soft);
}

.page-bg-muted {
    background: var(--inaivom-background-muted);
}

.page-bg-maroon {
    background:
        linear-gradient(
            135deg,
            var(--inaivom-primary-deep),
            var(--inaivom-primary)
        );

    color: #ffffff;
}


/* ==========================================================================
   6. PAGE HEADER
   ========================================================================== */

.page-header {
    position: relative;

    margin-bottom: 2rem;
}

.page-header-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 1.5rem;
}

.page-title {
    margin: 0;

    color: var(--inaivom-primary);

    font-size: clamp(1.65rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.18;

    letter-spacing: -0.025em;
}

.page-subtitle {
    max-width: 720px;

    margin-top: 0.5rem;

    color: var(--inaivom-muted);

    font-size: 0.9rem;
    line-height: 1.65;
}

.page-header-actions {
    display: flex;
    align-items: center;

    gap: 0.6rem;

    flex: 0 0 auto;
}


/* ==========================================================================
   7. SECTION HEADER
   ========================================================================== */

.section-header {
    max-width: 760px;

    margin: 0 auto 2.5rem;

    text-align: center;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 0.4rem;

    margin-bottom: 0.65rem;

    color: var(--inaivom-primary);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.section-eyebrow::before,
.section-eyebrow::after {
    width: 24px;
    height: 1px;

    background: var(--inaivom-gold);

    content: "";
}

.section-title {
    margin: 0;

    color: var(--inaivom-primary);

    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: -0.025em;
}

.section-description {
    margin-top: 0.75rem;

    color: var(--inaivom-muted);

    font-size: 0.9rem;
    line-height: 1.7;
}


/* ==========================================================================
   8. GOLD DIVIDER
   ========================================================================== */

.gold-divider {
    display: block;

    width: 56px;
    height: 3px;

    margin: 0.8rem 0;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--inaivom-primary),
            var(--inaivom-gold)
        );
}

.gold-divider.center {
    margin-right: auto;
    margin-left: auto;
}


/* ==========================================================================
   9. HERO SECTION
   ========================================================================== */

.hero-section,
.home-hero {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 620px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(212, 175, 55, 0.12),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 20%,
            rgba(128, 0, 32, 0.08),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #fffdfd 0%,
            #fdf8fa 48%,
            #fffaf1 100%
        );
}

.hero-section::before,
.home-hero::before {
    position: absolute;
    top: -130px;
    right: -130px;

    width: 420px;
    height: 420px;

    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 50%;

    content: "";

    pointer-events: none;
}

.hero-section::after,
.home-hero::after {
    position: absolute;
    bottom: -180px;
    left: -160px;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background: rgba(128, 0, 32, 0.025);

    content: "";

    pointer-events: none;
}

.hero-grid,
.hero-layout {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(340px, 0.95fr);

    align-items: center;

    gap: 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;

    gap: 0.45rem;

    margin-bottom: 1rem;
    padding: 0.4rem 0.75rem;

    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.8);
    color: #765b09;

    box-shadow: var(--inaivom-shadow-sm);

    font-size: 0.68rem;
    font-weight: 700;
}

.hero-title {
    max-width: 720px;

    margin: 0;

    color: var(--inaivom-primary-deep);

    font-size: clamp(2.25rem, 5vw, 4.25rem);
    font-weight: 750;
    line-height: 1.05;

    letter-spacing: -0.045em;
}

.hero-title-accent {
    color: var(--inaivom-primary);
}

.hero-title-gold {
    color: #a07c16;
}

.hero-description,
.hero-subtitle {
    max-width: 650px;

    margin-top: 1.2rem;

    color: var(--inaivom-text-soft);

    font-size: 1rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 0.75rem;

    margin-top: 1.6rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 1rem;

    margin-top: 1.5rem;

    color: var(--inaivom-muted);

    font-size: 0.7rem;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;

    gap: 0.35rem;
}

.hero-trust-item i,
.hero-trust-item svg {
    color: var(--inaivom-primary);
}


/* ==========================================================================
   10. HERO MEDIA
   ========================================================================== */

.hero-media {
    position: relative;

    width: 100%;
}

.hero-image-wrapper {
    position: relative;

    max-width: 500px;

    margin-left: auto;
}

.hero-image-wrapper::before {
    position: absolute;
    inset: 7% -5% -5% 8%;

    border-radius: 36px;

    background:
        linear-gradient(
            145deg,
            rgba(128, 0, 32, 0.12),
            rgba(212, 175, 55, 0.18)
        );

    content: "";
}

.hero-image {
    position: relative;

    width: 100%;

    overflow: hidden;

    border: 5px solid rgba(255, 255, 255, 0.92);
    border-radius: 32px;

    background: #eee8ea;

    box-shadow:
        0 30px 70px rgba(66, 27, 42, 0.18);
}

.hero-image img {
    width: 100%;
    height: auto;

    object-fit: cover;
}


/* ==========================================================================
   11. FLOATING HERO CARD
   ========================================================================== */

.hero-floating-card {
    position: absolute;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 0.65rem;

    padding: 0.75rem 0.9rem;

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.93);

    box-shadow: var(--inaivom-shadow);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-floating-card.top {
    top: 12%;
    left: -7%;
}

.hero-floating-card.bottom {
    right: -4%;
    bottom: 10%;
}

.hero-floating-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: rgba(128, 0, 32, 0.07);
    color: var(--inaivom-primary);
}

.hero-floating-title {
    color: var(--inaivom-text);

    font-size: 0.72rem;
    font-weight: 700;
}

.hero-floating-text {
    margin-top: 0.1rem;

    color: var(--inaivom-muted);

    font-size: 0.6rem;
}


/* ==========================================================================
   12. TRUST STRIP
   ========================================================================== */

.trust-strip {
    border-top: 1px solid var(--inaivom-border-light);
    border-bottom: 1px solid var(--inaivom-border-light);

    background: #ffffff;
}

.trust-strip-inner {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 1px;

    background: var(--inaivom-border-light);
}

.trust-stat {
    padding: 1.4rem 1rem;

    background: #ffffff;

    text-align: center;
}

.trust-stat-value {
    color: var(--inaivom-primary);

    font-size: 1.35rem;
    font-weight: 750;
}

.trust-stat-label {
    margin-top: 0.25rem;

    color: var(--inaivom-muted);

    font-size: 0.68rem;
}


/* ==========================================================================
   13. FEATURE CARD
   ========================================================================== */

.feature-card {
    position: relative;

    height: 100%;

    padding: 1.5rem;

    overflow: hidden;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-lg);

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-sm);

    transition:
        transform var(--inaivom-transition),
        border-color var(--inaivom-transition),
        box-shadow var(--inaivom-transition);
}

.feature-card:hover {
    border-color: rgba(128, 0, 32, 0.16);

    box-shadow: var(--inaivom-shadow);

    transform: translateY(-4px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin-bottom: 1rem;

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(128, 0, 32, 0.08),
            rgba(212, 175, 55, 0.12)
        );

    color: var(--inaivom-primary);

    font-size: 1.15rem;
}

.feature-title {
    margin: 0;

    color: var(--inaivom-text);

    font-size: 0.95rem;
    font-weight: 700;
}

.feature-description {
    margin-top: 0.55rem;

    color: var(--inaivom-muted);

    font-size: 0.78rem;
    line-height: 1.65;
}


/* ==========================================================================
   14. PROFILE GRID
   ========================================================================== */

.profile-grid,
.profiles-grid,
.matches-grid,
.recommendations-grid,
.shortlists-grid,
.favourites-grid,
.visitors-grid,
.blocklist-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 1.25rem;
}


/* ==========================================================================
   15. PROFILE CARD ENHANCEMENTS
   ========================================================================== */

.profile-card,
.match-card,
.recommendation-card,
.shortlist-card,
.favourite-card,
.visitor-card {
    position: relative;

    min-width: 0;

    overflow: hidden;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-lg);

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-sm);

    transition:
        transform var(--inaivom-transition),
        box-shadow var(--inaivom-transition),
        border-color var(--inaivom-transition);
}

.profile-card:hover,
.match-card:hover,
.recommendation-card:hover,
.shortlist-card:hover,
.favourite-card:hover,
.visitor-card:hover {
    border-color: rgba(128, 0, 32, 0.14);

    box-shadow: var(--inaivom-shadow);

    transform: translateY(-4px);
}

.profile-card-image,
.match-card-image {
    position: relative;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #eee8ea,
            #f7f3f4
        );
}

.profile-card-image img,
.match-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 450ms ease;
}

.profile-card:hover .profile-card-image img,
.match-card:hover .match-card-image img {
    transform: scale(1.025);
}

.profile-card-overlay {
    position: absolute;
    inset: auto 0 0;

    height: 45%;

    background:
        linear-gradient(
            to top,
            rgba(26, 11, 17, 0.65),
            transparent
        );

    pointer-events: none;
}


/* ==========================================================================
   16. PROFILE BADGES
   ========================================================================== */

.profile-badges {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    z-index: 2;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 0.35rem;
}

.profile-badge {
    display: inline-flex;
    align-items: center;

    gap: 0.25rem;

    min-height: 24px;

    padding: 0.25rem 0.45rem;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.9);
    color: var(--inaivom-text);

    box-shadow:
        0 3px 10px rgba(30, 14, 20, 0.08);

    font-size: 0.56rem;
    font-weight: 700;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.profile-badge.verified {
    color: var(--inaivom-primary);
}

.profile-badge.premium {
    border-color: rgba(212, 175, 55, 0.4);

    background: rgba(255, 250, 228, 0.94);
    color: #765b09;
}


/* ==========================================================================
   17. PROFILE CARD CONTENT
   ========================================================================== */

.profile-card-body,
.match-card-body {
    padding: 1rem;
}

.profile-card-name,
.match-card-name {
    display: flex;
    align-items: center;

    gap: 0.3rem;

    margin: 0;

    color: var(--inaivom-text);

    font-size: 0.9rem;
    font-weight: 700;
}

.profile-card-meta,
.match-card-meta {
    margin-top: 0.35rem;

    color: var(--inaivom-muted);

    font-size: 0.68rem;
    line-height: 1.55;
}

.profile-card-location {
    display: flex;
    align-items: center;

    gap: 0.3rem;

    margin-top: 0.4rem;

    color: var(--inaivom-muted);

    font-size: 0.65rem;
}

.profile-card-actions,
.match-card-actions {
    display: flex;
    align-items: center;

    gap: 0.45rem;

    margin-top: 0.85rem;
}


/* ==========================================================================
   18. VERIFIED ICON
   ========================================================================== */

.verified-icon,
.verified-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 17px;
    height: 17px;

    flex: 0 0 17px;

    border-radius: 50%;

    background: var(--inaivom-primary);
    color: #ffffff;

    font-size: 0.5rem;
}


/* ==========================================================================
   19. ONLINE STATUS
   ========================================================================== */

.online-status {
    display: inline-flex;
    align-items: center;

    gap: 0.3rem;

    color: var(--inaivom-success);

    font-size: 0.6rem;
    font-weight: 600;
}

.online-status::before {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: currentColor;

    content: "";
}

.offline-status {
    color: var(--inaivom-muted);
}


/* ==========================================================================
   20. MATCH SCORE
   ========================================================================== */

.match-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 46px;
    height: 26px;

    padding: 0 0.45rem;

    border: 1px solid rgba(128, 0, 32, 0.12);
    border-radius: 999px;

    background: rgba(128, 0, 32, 0.055);
    color: var(--inaivom-primary);

    font-size: 0.62rem;
    font-weight: 750;
}


/* ==========================================================================
   21. PROFILE VIEW
   ========================================================================== */

.profile-view-header {
    display: grid;
    grid-template-columns:
        minmax(260px, 360px)
        minmax(0, 1fr);

    gap: 2rem;

    align-items: start;
}

.profile-view-photo {
    position: relative;

    overflow: hidden;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-xl);

    background: #eee8ea;

    box-shadow: var(--inaivom-shadow);
}

.profile-view-photo img {
    width: 100%;
    height: auto;

    object-fit: cover;
}

.profile-view-content {
    min-width: 0;
}

.profile-view-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 0.45rem;

    color: var(--inaivom-primary);

    font-size: clamp(1.5rem, 3vw, 2.15rem);
    font-weight: 750;

    letter-spacing: -0.025em;
}

.profile-view-meta {
    margin-top: 0.5rem;

    color: var(--inaivom-muted);

    font-size: 0.8rem;
}

.profile-view-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 0.55rem;

    margin-top: 1.25rem;
}


/* ==========================================================================
   22. INFORMATION GRID
   ========================================================================== */

.info-grid,
.profile-info-grid,
.profile-detail-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 0;
}

.info-item {
    display: flex;
    align-items: flex-start;

    gap: 0.7rem;

    min-width: 0;

    padding: 0.9rem 0;

    border-bottom: 1px solid var(--inaivom-border-light);
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    border-radius: 10px;

    background: rgba(128, 0, 32, 0.055);
    color: var(--inaivom-primary);
}

.info-label {
    color: var(--inaivom-muted);

    font-size: 0.62rem;
}

.info-value {
    margin-top: 0.15rem;

    color: var(--inaivom-text);

    font-size: 0.75rem;
    font-weight: 600;

    overflow-wrap: anywhere;
}


/* ==========================================================================
   23. PROFILE SECTION CARD
   ========================================================================== */

.profile-section {
    margin-top: 1.25rem;
    padding: 1.35rem;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-lg);

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-sm);
}

.profile-section-title {
    display: flex;
    align-items: center;

    gap: 0.5rem;

    margin-bottom: 1rem;

    color: var(--inaivom-primary);

    font-size: 0.9rem;
    font-weight: 700;
}


/* ==========================================================================
   24. DASHBOARD
   ========================================================================== */

.dashboard-page {
    min-height: 100vh;

    background: #faf8f9;
}

.dashboard-header {
    margin-bottom: 1.5rem;
}

.dashboard-title {
    color: var(--inaivom-primary);

    font-size: 1.45rem;
    font-weight: 750;

    letter-spacing: -0.02em;
}

.dashboard-subtitle {
    margin-top: 0.3rem;

    color: var(--inaivom-muted);

    font-size: 0.75rem;
}


/* ==========================================================================
   25. DASHBOARD STATS
   ========================================================================== */

.dashboard-stats,
.stats-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 1rem;
}

.stat-card {
    position: relative;

    min-width: 0;

    padding: 1.15rem;

    overflow: hidden;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-lg);

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-sm);
}

.stat-card::after {
    position: absolute;
    top: -35px;
    right: -35px;

    width: 90px;
    height: 90px;

    border-radius: 50%;

    background: rgba(128, 0, 32, 0.025);

    content: "";
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    margin-bottom: 0.8rem;

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            rgba(128, 0, 32, 0.075),
            rgba(212, 175, 55, 0.1)
        );

    color: var(--inaivom-primary);
}

.stat-value {
    color: var(--inaivom-text);

    font-size: 1.35rem;
    font-weight: 750;
}

.stat-label {
    margin-top: 0.15rem;

    color: var(--inaivom-muted);

    font-size: 0.65rem;
}


/* ==========================================================================
   26. DASHBOARD CARD
   ========================================================================== */

.dashboard-card {
    min-width: 0;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-lg);

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-sm);
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;

    padding: 1rem 1.15rem;

    border-bottom: 1px solid var(--inaivom-border-light);
}

.dashboard-card-title {
    color: var(--inaivom-text);

    font-size: 0.85rem;
    font-weight: 700;
}

.dashboard-card-body {
    padding: 1.15rem;
}


/* ==========================================================================
   27. PROFILE COMPLETION
   ========================================================================== */

.profile-completion {
    padding: 1rem;

    border: 1px solid rgba(128, 0, 32, 0.1);
    border-radius: var(--inaivom-radius-lg);

    background:
        linear-gradient(
            135deg,
            rgba(128, 0, 32, 0.045),
            rgba(212, 175, 55, 0.07)
        );
}

.profile-completion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;
}

.profile-completion-title {
    color: var(--inaivom-primary);

    font-size: 0.8rem;
    font-weight: 700;
}

.profile-completion-value {
    color: var(--inaivom-primary);

    font-size: 0.72rem;
    font-weight: 750;
}

.progress {
    width: 100%;
    height: 7px;

    margin-top: 0.7rem;

    overflow: hidden;

    border-radius: 999px;

    background: #eadfe3;
}

.progress-bar {
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--inaivom-primary),
            var(--inaivom-gold)
        );

    transition:
        width 400ms ease;
}


/* ==========================================================================
   28. SEARCH PAGE
   ========================================================================== */

.search-layout {
    display: grid;
    grid-template-columns:
        280px minmax(0, 1fr);

    gap: 1.5rem;

    align-items: start;
}

.search-sidebar {
    position: sticky;
    top: 90px;

    padding: 1.1rem;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-lg);

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-sm);
}

.search-sidebar-title {
    margin-bottom: 1rem;

    color: var(--inaivom-primary);

    font-size: 0.9rem;
    font-weight: 700;
}

.search-filter-section {
    padding: 1rem 0;

    border-bottom: 1px solid var(--inaivom-border-light);
}

.search-filter-section:first-of-type {
    padding-top: 0;
}

.search-filter-section:last-child {
    border-bottom: 0;
}

.search-results-header,
.search-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;

    margin-bottom: 1rem;
}

.search-results-count {
    color: var(--inaivom-muted);

    font-size: 0.72rem;
}


/* ==========================================================================
   29. EMPTY STATE
   ========================================================================== */

.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    min-height: 300px;

    padding: 3rem 1.5rem;

    text-align: center;
}

.empty-state-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;

    margin-bottom: 1rem;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            rgba(128, 0, 32, 0.07),
            rgba(212, 175, 55, 0.11)
        );

    color: var(--inaivom-primary);

    font-size: 1.5rem;
}

.empty-state-title {
    color: var(--inaivom-text);

    font-size: 1.05rem;
    font-weight: 700;
}

.empty-state-text {
    max-width: 440px;

    margin-top: 0.45rem;

    color: var(--inaivom-muted);

    font-size: 0.75rem;
    line-height: 1.65;
}

.empty-state-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 0.6rem;

    margin-top: 1rem;
}


/* ==========================================================================
   30. LOADING STATE
   ========================================================================== */

.loading-state {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 220px;
}

.loading-spinner {
    width: 38px;
    height: 38px;

    border: 3px solid rgba(128, 0, 32, 0.12);
    border-top-color: var(--inaivom-primary);
    border-radius: 50%;

    animation: inaivom-spin 700ms linear infinite;
}

@keyframes inaivom-spin {
    to {
        transform: rotate(360deg);
    }
}


/* ==========================================================================
   31. SKELETON
   ========================================================================== */

.skeleton {
    position: relative;

    overflow: hidden;

    border-radius: 6px;

    background: #eee9eb;
}

.skeleton::after {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.7),
            transparent
        );

    content: "";

    transform: translateX(-100%);

    animation: inaivom-skeleton 1.4s infinite;
}

@keyframes inaivom-skeleton {
    100% {
        transform: translateX(100%);
    }
}

.skeleton-text {
    height: 12px;
}

.skeleton-title {
    width: 65%;
    height: 18px;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;

    border-radius: 50%;
}


/* ==========================================================================
   32. BADGES
   ========================================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 0.25rem;

    min-height: 24px;

    padding: 0.25rem 0.5rem;

    border-radius: 999px;

    font-size: 0.58rem;
    font-weight: 700;

    line-height: 1;
}

.badge-primary {
    background: rgba(128, 0, 32, 0.08);
    color: var(--inaivom-primary);
}

.badge-gold {
    background: rgba(212, 175, 55, 0.15);
    color: #765b09;
}

.badge-success {
    background: rgba(25, 135, 84, 0.09);
    color: var(--inaivom-success);
}

.badge-danger {
    background: rgba(220, 53, 69, 0.08);
    color: #b12634;
}

.badge-warning {
    background: rgba(196, 135, 0, 0.1);
    color: #8d6100;
}

.badge-info {
    background: rgba(40, 120, 165, 0.09);
    color: #236d96;
}

.badge-neutral {
    background: #f0ecee;
    color: var(--inaivom-text-soft);
}


/* ==========================================================================
   33. STATUS PILLS
   ========================================================================== */

.status-pill {
    display: inline-flex;
    align-items: center;

    gap: 0.35rem;

    padding: 0.3rem 0.55rem;

    border-radius: 999px;

    background: #f3eff1;
    color: var(--inaivom-text-soft);

    font-size: 0.6rem;
    font-weight: 650;
}

.status-pill::before {
    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    border-radius: 50%;

    background: currentColor;

    content: "";
}

.status-active,
.status-success {
    background: rgba(25, 135, 84, 0.08);
    color: var(--inaivom-success);
}

.status-pending,
.status-warning {
    background: rgba(196, 135, 0, 0.09);
    color: #986900;
}

.status-failed,
.status-danger,
.status-blocked {
    background: rgba(220, 53, 69, 0.08);
    color: #bd2b39;
}


/* ==========================================================================
   34. AVATARS
   ========================================================================== */

.avatar {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    overflow: hidden;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #eee8ea,
            #f6f2f3
        );

    color: var(--inaivom-primary);

    font-weight: 700;
}

.avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.avatar-xs {
    width: 28px;
    height: 28px;

    font-size: 0.6rem;
}

.avatar-sm {
    width: 36px;
    height: 36px;

    font-size: 0.7rem;
}

.avatar-md {
    width: 48px;
    height: 48px;

    font-size: 0.85rem;
}

.avatar-lg {
    width: 64px;
    height: 64px;

    font-size: 1rem;
}

.avatar-xl {
    width: 96px;
    height: 96px;

    font-size: 1.3rem;
}


/* ==========================================================================
   35. AVATAR STATUS
   ========================================================================== */

.avatar-status {
    position: absolute;
    right: 1px;
    bottom: 1px;

    width: 11px;
    height: 11px;

    border: 2px solid #ffffff;
    border-radius: 50%;

    background: var(--inaivom-muted);
}

.avatar-status.online {
    background: var(--inaivom-success);
}


/* ==========================================================================
   36. CHIPS
   ========================================================================== */

.chip-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 0.4rem;
}

.chip {
    display: inline-flex;
    align-items: center;

    gap: 0.3rem;

    min-height: 30px;

    padding: 0.35rem 0.6rem;

    border: 1px solid var(--inaivom-border);
    border-radius: 999px;

    background: #ffffff;
    color: var(--inaivom-text-soft);

    font-size: 0.63rem;
    font-weight: 600;
}

.chip.active {
    border-color: rgba(128, 0, 32, 0.2);

    background: rgba(128, 0, 32, 0.06);
    color: var(--inaivom-primary);
}


/* ==========================================================================
   37. TABS
   ========================================================================== */

.tabs,
.profile-tabs,
.dashboard-tabs {
    display: flex;
    align-items: center;

    gap: 0.3rem;

    padding: 0.3rem;

    border: 1px solid var(--inaivom-border);
    border-radius: 12px;

    background: #f9f6f7;
}

.tab-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding: 0.45rem 0.8rem;

    border-radius: 8px;

    color: var(--inaivom-muted);

    font-size: 0.68rem;
    font-weight: 650;

    white-space: nowrap;
}

.tab-link:hover {
    color: var(--inaivom-primary);
}

.tab-link.active {
    background: #ffffff;
    color: var(--inaivom-primary);

    box-shadow:
        0 2px 8px rgba(44, 24, 32, 0.06);
}


/* ==========================================================================
   38. BREADCRUMB
   ========================================================================== */

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 0.4rem;

    margin-bottom: 1rem;

    color: var(--inaivom-muted);

    font-size: 0.65rem;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;

    gap: 0.4rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #b5acb0;

    content: "/";
}

.breadcrumb-item a {
    color: var(--inaivom-muted);
}

.breadcrumb-item a:hover {
    color: var(--inaivom-primary);
}

.breadcrumb-item.active {
    color: var(--inaivom-text);
}


/* ==========================================================================
   39. PAGINATION
   ========================================================================== */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 0.3rem;

    margin-top: 1.5rem;
}

.page-item {
    display: inline-flex;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;

    padding: 0 0.5rem;

    border: 1px solid var(--inaivom-border);
    border-radius: 9px;

    background: #ffffff;
    color: var(--inaivom-text-soft);

    font-size: 0.68rem;
    font-weight: 650;

    transition:
        border-color var(--inaivom-transition),
        background var(--inaivom-transition),
        color var(--inaivom-transition);
}

.page-link:hover {
    border-color: rgba(128, 0, 32, 0.25);

    background: rgba(128, 0, 32, 0.04);
    color: var(--inaivom-primary);
}

.page-item.active .page-link {
    border-color: var(--inaivom-primary);

    background: var(--inaivom-primary);
    color: #ffffff;
}

.page-item.disabled .page-link {
    opacity: 0.45;

    pointer-events: none;
}


/* ==========================================================================
   40. TOOLBAR
   ========================================================================== */

.toolbar,
.dashboard-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;

    margin-bottom: 1rem;
}

.toolbar-left,
.toolbar-right,
.toolbar-actions {
    display: flex;
    align-items: center;

    gap: 0.5rem;
}


/* ==========================================================================
   41. FILTER BAR
   ========================================================================== */

.filter-bar,
.filters-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 0.6rem;

    margin-bottom: 1rem;
    padding: 0.75rem;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius);

    background: #ffffff;
}

.filter-item {
    min-width: 0;
}


/* ==========================================================================
   42. DROPDOWN PANEL
   ========================================================================== */

.dropdown-panel {
    position: absolute;
    z-index: 1050;

    min-width: 220px;

    padding: 0.45rem;

    border: 1px solid var(--inaivom-border);
    border-radius: 14px;

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-lg);
}


/* ==========================================================================
   43. CHAT LAYOUT
   ========================================================================== */

.chat-layout {
    display: grid;
    grid-template-columns:
        300px minmax(0, 1fr) 260px;

    min-height: calc(100vh - 72px);

    overflow: hidden;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-lg);

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-sm);
}

.chat-sidebar {
    min-width: 0;

    border-right: 1px solid var(--inaivom-border);
}

.chat-main {
    display: flex;
    flex-direction: column;

    min-width: 0;

    background: #fcfafb;
}

.chat-profile-panel {
    min-width: 0;

    border-left: 1px solid var(--inaivom-border);
}


/* ==========================================================================
   44. CHAT HEADER
   ========================================================================== */

.chat-header {
    display: flex;
    align-items: center;

    gap: 0.7rem;

    min-height: 68px;

    padding: 0.8rem 1rem;

    border-bottom: 1px solid var(--inaivom-border);

    background: #ffffff;
}

.chat-header-info {
    min-width: 0;

    flex: 1;
}

.chat-header-name {
    overflow: hidden;

    color: var(--inaivom-text);

    font-size: 0.78rem;
    font-weight: 700;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.chat-header-status {
    margin-top: 0.1rem;

    color: var(--inaivom-muted);

    font-size: 0.6rem;
}


/* ==========================================================================
   45. CHAT MESSAGES
   ========================================================================== */

.chat-messages,
.messages-container {
    flex: 1 1 auto;

    min-height: 0;

    overflow-y: auto;

    padding: 1rem;
}

.message-row {
    display: flex;

    margin-bottom: 0.65rem;
}

.message-row.sent {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 72%;

    padding: 0.65rem 0.8rem;

    border-radius: 14px 14px 14px 4px;

    background: #ffffff;
    color: var(--inaivom-text);

    box-shadow:
        0 2px 8px rgba(43, 24, 31, 0.055);

    font-size: 0.72rem;
    line-height: 1.55;

    overflow-wrap: anywhere;
}

.message-row.sent .message-bubble {
    border-radius: 14px 14px 4px 14px;

    background:
        linear-gradient(
            135deg,
            var(--inaivom-primary),
            var(--inaivom-primary-dark)
        );

    color: #ffffff;
}

.message-time {
    display: block;

    margin-top: 0.3rem;

    opacity: 0.65;

    font-size: 0.55rem;
}


/* ==========================================================================
   46. CHAT COMPOSER
   ========================================================================== */

.chat-composer,
.message-composer {
    display: flex;
    align-items: flex-end;

    gap: 0.5rem;

    padding: 0.75rem;

    border-top: 1px solid var(--inaivom-border);

    background: #ffffff;
}

.chat-composer-field {
    min-width: 0;

    flex: 1;
}


/* ==========================================================================
   47. NOTIFICATION LIST
   ========================================================================== */

.notification-list {
    overflow: hidden;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-lg);

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-sm);
}

.notification-item {
    display: flex;
    align-items: flex-start;

    gap: 0.75rem;

    padding: 1rem;

    border-bottom: 1px solid var(--inaivom-border-light);

    transition:
        background var(--inaivom-transition);
}

.notification-item:last-child {
    border-bottom: 0;
}

.notification-item:hover {
    background: #fdfafb;
}

.notification-item.unread {
    background: rgba(128, 0, 32, 0.025);
}

.notification-content {
    min-width: 0;

    flex: 1;
}

.notification-title {
    color: var(--inaivom-text);

    font-size: 0.75rem;
    font-weight: 650;
}

.notification-text {
    margin-top: 0.2rem;

    color: var(--inaivom-muted);

    font-size: 0.68rem;
    line-height: 1.5;
}

.notification-time {
    margin-top: 0.3rem;

    color: var(--inaivom-light-muted);

    font-size: 0.58rem;
}


/* ==========================================================================
   48. PRICING / MEMBERSHIP
   ========================================================================== */

.pricing-grid,
.membership-grid,
.plans-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 1.25rem;

    align-items: stretch;
}

.pricing-card,
.membership-card,
.plan-card {
    position: relative;

    height: 100%;

    padding: 1.5rem;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-xl);

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-sm);
}

.pricing-card.featured,
.membership-card.featured,
.plan-card.featured {
    border-color: rgba(212, 175, 55, 0.7);

    box-shadow:
        0 18px 45px rgba(88, 60, 17, 0.12);

    transform: translateY(-6px);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;

    padding: 0.35rem 0.75rem;

    transform: translateX(-50%);

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            var(--inaivom-gold),
            #b58d20
        );

    color: #ffffff;

    box-shadow:
        0 5px 14px rgba(150, 112, 17, 0.2);

    font-size: 0.6rem;
    font-weight: 750;

    white-space: nowrap;
}

.plan-name {
    color: var(--inaivom-primary);

    font-size: 1rem;
    font-weight: 750;
}

.plan-price {
    margin-top: 0.8rem;

    color: var(--inaivom-text);

    font-size: 2rem;
    font-weight: 750;

    letter-spacing: -0.04em;
}

.plan-price-period {
    color: var(--inaivom-muted);

    font-size: 0.65rem;
    font-weight: 500;
}

.plan-features {
    margin: 1.25rem 0;
}

.plan-feature {
    display: flex;
    align-items: flex-start;

    gap: 0.55rem;

    padding: 0.45rem 0;

    color: var(--inaivom-text-soft);

    font-size: 0.7rem;
}

.plan-feature-icon {
    color: var(--inaivom-success);
}


/* ==========================================================================
   49. PAYMENT / CHECKOUT
   ========================================================================== */

.payment-layout,
.checkout-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) 360px;

    gap: 1.5rem;

    align-items: start;
}

.payment-summary,
.order-summary {
    position: sticky;
    top: 90px;

    padding: 1.25rem;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-lg);

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-sm);
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;

    padding: 0.6rem 0;

    color: var(--inaivom-text-soft);

    font-size: 0.7rem;
}

.summary-total {
    margin-top: 0.5rem;
    padding-top: 0.85rem;

    border-top: 1px solid var(--inaivom-border);

    color: var(--inaivom-primary);

    font-size: 0.85rem;
    font-weight: 750;
}


/* ==========================================================================
   50. VERIFICATION
   ========================================================================== */

.verification-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 1rem;
}

.verification-card,
.verification-service-card,
.verification-status-card {
    padding: 1.25rem;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-lg);

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-sm);
}

.verification-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin-bottom: 0.8rem;

    border-radius: 13px;

    background: rgba(128, 0, 32, 0.06);
    color: var(--inaivom-primary);
}

.verification-title {
    color: var(--inaivom-text);

    font-size: 0.85rem;
    font-weight: 700;
}

.verification-description {
    margin-top: 0.4rem;

    color: var(--inaivom-muted);

    font-size: 0.68rem;
    line-height: 1.6;
}


/* ==========================================================================
   51. TIMELINE
   ========================================================================== */

.timeline {
    position: relative;

    padding-left: 1.6rem;
}

.timeline::before {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 6px;

    width: 2px;

    background: var(--inaivom-border);

    content: "";
}

.timeline-item {
    position: relative;

    padding: 0 0 1.2rem 0.6rem;
}

.timeline-item::before {
    position: absolute;
    top: 4px;
    left: -1.45rem;

    width: 12px;
    height: 12px;

    border: 3px solid #ffffff;
    border-radius: 50%;

    background: var(--inaivom-primary);

    box-shadow:
        0 0 0 1px rgba(128, 0, 32, 0.18);

    content: "";
}

.timeline-title {
    color: var(--inaivom-text);

    font-size: 0.72rem;
    font-weight: 700;
}

.timeline-text {
    margin-top: 0.25rem;

    color: var(--inaivom-muted);

    font-size: 0.65rem;
    line-height: 1.55;
}

.timeline-time {
    margin-top: 0.25rem;

    color: var(--inaivom-light-muted);

    font-size: 0.56rem;
}


/* ==========================================================================
   52. BLOG
   ========================================================================== */

.blog-grid,
.article-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 1.25rem;
}

.blog-card {
    overflow: hidden;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-lg);

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-sm);

    transition:
        transform var(--inaivom-transition),
        box-shadow var(--inaivom-transition);
}

.blog-card:hover {
    box-shadow: var(--inaivom-shadow);

    transform: translateY(-4px);
}

.blog-card-image {
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #eee8ea;
}

.blog-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 450ms ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.03);
}

.blog-card-body {
    padding: 1rem;
}

.blog-card-meta {
    color: var(--inaivom-muted);

    font-size: 0.6rem;
}

.blog-card-title {
    margin-top: 0.45rem;

    color: var(--inaivom-text);

    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
}

.blog-card-excerpt {
    margin-top: 0.45rem;

    color: var(--inaivom-muted);

    font-size: 0.68rem;
    line-height: 1.6;
}


/* ==========================================================================
   53. BLOG ARTICLE
   ========================================================================== */

.blog-article {
    max-width: 820px;

    margin-right: auto;
    margin-left: auto;

    color: var(--inaivom-text-soft);

    font-size: 0.92rem;
    line-height: 1.8;
}

.blog-article h2,
.blog-article h3,
.blog-article h4 {
    margin-top: 1.8rem;
    margin-bottom: 0.7rem;

    color: var(--inaivom-primary);

    font-weight: 700;
}

.blog-article p {
    margin-bottom: 1rem;
}

.blog-article ul,
.blog-article ol {
    margin: 1rem 0;
    padding-left: 1.25rem;
}

.blog-article ul {
    list-style: disc;
}

.blog-article ol {
    list-style: decimal;
}

.blog-article img {
    margin: 1.5rem 0;

    border-radius: var(--inaivom-radius-lg);
}


/* ==========================================================================
   54. SUCCESS STORIES
   ========================================================================== */

.success-stories-grid,
.stories-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 1.25rem;
}

.success-story-card {
    overflow: hidden;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-xl);

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-sm);
}

.success-story-image {
    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #eee8ea;
}

.success-story-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.success-story-content {
    padding: 1.15rem;
}

.success-story-title {
    color: var(--inaivom-primary);

    font-size: 0.95rem;
    font-weight: 700;
}

.success-story-text {
    margin-top: 0.45rem;

    color: var(--inaivom-muted);

    font-size: 0.7rem;
    line-height: 1.65;
}


/* ==========================================================================
   55. TESTIMONIALS
   ========================================================================== */

.testimonials-grid,
.testimonial-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 1.25rem;
}

.testimonial-card {
    position: relative;

    padding: 1.35rem;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-lg);

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-sm);
}

.testimonial-quote {
    color: var(--inaivom-text-soft);

    font-size: 0.75rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;

    gap: 0.65rem;

    margin-top: 1rem;
}

.testimonial-name {
    color: var(--inaivom-text);

    font-size: 0.72rem;
    font-weight: 700;
}

.testimonial-meta {
    margin-top: 0.1rem;

    color: var(--inaivom-muted);

    font-size: 0.58rem;
}

.testimonial-rating {
    display: flex;

    gap: 0.15rem;

    margin-top: 0.5rem;

    color: var(--inaivom-gold);

    font-size: 0.7rem;
}


/* ==========================================================================
   56. CONTACT
   ========================================================================== */

.contact-layout,
.contact-grid {
    display: grid;
    grid-template-columns:
        minmax(280px, 0.8fr)
        minmax(0, 1.2fr);

    gap: 2rem;
}

.contact-info-card {
    padding: 1.35rem;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-lg);

    background:
        linear-gradient(
            145deg,
            var(--inaivom-primary-deep),
            var(--inaivom-primary)
        );

    color: #ffffff;

    box-shadow: var(--inaivom-shadow);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;

    gap: 0.7rem;

    padding: 0.8rem 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-info-item:last-child {
    border-bottom: 0;
}


/* ==========================================================================
   57. FAQ
   ========================================================================== */

.faq-list {
    max-width: 850px;

    margin-right: auto;
    margin-left: auto;
}

.faq-item {
    margin-bottom: 0.7rem;

    overflow: hidden;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius);

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-sm);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;

    width: 100%;

    padding: 1rem;

    color: var(--inaivom-text);

    font-size: 0.78rem;
    font-weight: 700;

    text-align: left;
}

.faq-question:hover {
    color: var(--inaivom-primary);
}

.faq-answer {
    padding: 0 1rem 1rem;

    color: var(--inaivom-muted);

    font-size: 0.7rem;
    line-height: 1.7;
}


/* ==========================================================================
   58. PHOTO GALLERY
   ========================================================================== */

.gallery-grid,
.photo-grid,
.photos-grid,
.profile-photos-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 0.75rem;
}

.gallery-item,
.photo-item {
    position: relative;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: 14px;

    background: #eee8ea;
}

.gallery-item img,
.photo-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 350ms ease;
}

.gallery-item:hover img,
.photo-item:hover img {
    transform: scale(1.035);
}


/* ==========================================================================
   59. DOCUMENT LIST
   ========================================================================== */

.document-list {
    overflow: hidden;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-lg);

    background: #ffffff;
}

.document-item {
    display: flex;
    align-items: center;

    gap: 0.8rem;

    padding: 0.9rem 1rem;

    border-bottom: 1px solid var(--inaivom-border-light);
}

.document-item:last-child {
    border-bottom: 0;
}

.document-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    border-radius: 11px;

    background: rgba(128, 0, 32, 0.06);
    color: var(--inaivom-primary);
}

.document-info {
    min-width: 0;

    flex: 1;
}

.document-name {
    overflow: hidden;

    color: var(--inaivom-text);

    font-size: 0.72rem;
    font-weight: 650;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.document-meta {
    margin-top: 0.15rem;

    color: var(--inaivom-muted);

    font-size: 0.58rem;
}

.document-actions {
    display: flex;
    align-items: center;

    gap: 0.35rem;
}


/* ==========================================================================
   60. SETTINGS
   ========================================================================== */

.settings-layout {
    display: grid;
    grid-template-columns:
        240px minmax(0, 1fr);

    gap: 1.5rem;

    align-items: start;
}

.settings-nav {
    padding: 0.5rem;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-lg);

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-sm);
}

.settings-nav-link {
    display: flex;
    align-items: center;

    gap: 0.55rem;

    min-height: 42px;

    padding: 0.55rem 0.7rem;

    border-radius: 9px;

    color: var(--inaivom-text-soft);

    font-size: 0.68rem;
    font-weight: 600;
}

.settings-nav-link:hover,
.settings-nav-link.active {
    background: rgba(128, 0, 32, 0.055);
    color: var(--inaivom-primary);
}

.settings-content {
    min-width: 0;
}


/* ==========================================================================
   61. INVOICE
   ========================================================================== */

.invoice {
    max-width: 1000px;

    margin: 0 auto;
    padding: 2rem;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-lg);

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-sm);
}

.invoice-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 2rem;

    padding-bottom: 1.5rem;

    border-bottom: 1px solid var(--inaivom-border);
}

.invoice-title {
    color: var(--inaivom-primary);

    font-size: 1.6rem;
    font-weight: 750;
}

.invoice-number {
    margin-top: 0.25rem;

    color: var(--inaivom-muted);

    font-size: 0.68rem;
}

.invoice-summary {
    display: flex;
    justify-content: flex-end;

    margin-top: 1.5rem;
}

.invoice-total-box {
    width: min(100%, 340px);

    padding: 1rem;

    border-radius: var(--inaivom-radius);

    background: var(--inaivom-background-soft);
}


/* ==========================================================================
   62. COOKIE CONSENT
   ========================================================================== */

.cookie-banner,
.cookie-consent {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;

    width: min(420px, calc(100vw - 2rem));

    padding: 1rem;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-lg);

    background: rgba(255, 255, 255, 0.97);

    box-shadow: var(--inaivom-shadow-lg);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.cookie-title {
    color: var(--inaivom-primary);

    font-size: 0.82rem;
    font-weight: 700;
}

.cookie-text {
    margin-top: 0.35rem;

    color: var(--inaivom-muted);

    font-size: 0.65rem;
    line-height: 1.55;
}

.cookie-actions {
    display: flex;
    align-items: center;

    gap: 0.5rem;

    margin-top: 0.75rem;
}


/* ==========================================================================
   63. CTA SECTION
   ========================================================================== */

.cta-section {
    position: relative;

    overflow: hidden;

    border-radius: var(--inaivom-radius-xl);

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(212, 175, 55, 0.18),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            var(--inaivom-primary-deep),
            var(--inaivom-primary)
        );

    color: #ffffff;
}

.cta-inner {
    position: relative;
    z-index: 1;

    max-width: 760px;

    margin: 0 auto;
    padding: 3.5rem 1.5rem;

    text-align: center;
}

.cta-title {
    color: #ffffff;

    font-size: clamp(1.55rem, 3vw, 2.25rem);
    font-weight: 750;
}

.cta-text {
    margin-top: 0.7rem;

    color: rgba(255, 255, 255, 0.78);

    font-size: 0.82rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 0.65rem;

    margin-top: 1.25rem;
}


/* ==========================================================================
   64. ERROR PAGES
   ========================================================================== */

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    min-height: 65vh;

    padding: 3rem 1rem;

    text-align: center;
}

.error-code {
    margin: 0;

    background:
        linear-gradient(
            135deg,
            var(--inaivom-primary),
            var(--inaivom-gold)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    font-size: clamp(5rem, 15vw, 9rem);
    font-weight: 800;
    line-height: 0.95;

    letter-spacing: -0.07em;
}

.error-title {
    margin-top: 1rem;

    color: var(--inaivom-text);

    font-size: 1.25rem;
    font-weight: 700;
}

.error-text {
    max-width: 500px;

    margin-top: 0.5rem;

    color: var(--inaivom-muted);

    font-size: 0.75rem;
    line-height: 1.65;
}

.error-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 0.6rem;

    margin-top: 1.25rem;
}


/* ==========================================================================
   65. BACK TO TOP
   ========================================================================== */

.back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1000;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border: 1px solid rgba(128, 0, 32, 0.12);
    border-radius: 50%;

    background: #ffffff;
    color: var(--inaivom-primary);

    box-shadow: var(--inaivom-shadow);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity var(--inaivom-transition),
        visibility var(--inaivom-transition),
        transform var(--inaivom-transition),
        background var(--inaivom-transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--inaivom-primary);
    color: #ffffff;
}


/* ==========================================================================
   66. DIVIDERS
   ========================================================================== */

.divider {
    width: 100%;
    height: 1px;

    margin: 1rem 0;

    border: 0;

    background: var(--inaivom-border);
}

.divider-soft {
    background: var(--inaivom-border-light);
}


/* ==========================================================================
   67. SURFACES
   ========================================================================== */

.surface {
    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-lg);

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-sm);
}

.surface-soft {
    border-radius: var(--inaivom-radius-lg);

    background: var(--inaivom-background-soft);
}


/* ==========================================================================
   68. ICON CIRCLES
   ========================================================================== */

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    border-radius: 50%;

    background: rgba(128, 0, 32, 0.06);
    color: var(--inaivom-primary);
}

.icon-circle-gold {
    background: rgba(212, 175, 55, 0.13);
    color: #80630d;
}

.icon-circle-success {
    background: rgba(25, 135, 84, 0.08);
    color: var(--inaivom-success);
}

.icon-circle-danger {
    background: rgba(220, 53, 69, 0.08);
    color: var(--inaivom-danger);
}


/* ==========================================================================
   69. PREMIUM LABEL
   ========================================================================== */

.premium-label {
    display: inline-flex;
    align-items: center;

    gap: 0.3rem;

    padding: 0.3rem 0.55rem;

    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #fffaf0,
            #fff2c5
        );

    color: #735708;

    font-size: 0.58rem;
    font-weight: 750;
}


/* ==========================================================================
   70. PRIVACY PHOTO OVERLAY
   ========================================================================== */

.private-photo {
    position: relative;

    overflow: hidden;
}

.private-photo img {
    filter: blur(14px);

    transform: scale(1.08);
}

.private-photo-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 0.4rem;

    background: rgba(39, 20, 27, 0.32);
    color: #ffffff;

    text-align: center;
}

.private-photo-overlay i,
.private-photo-overlay svg {
    font-size: 1.25rem;
}

.private-photo-text {
    font-size: 0.62rem;
    font-weight: 650;
}


/* ==========================================================================
   71. LOCKED CONTENT
   ========================================================================== */

.locked-content {
    position: relative;

    overflow: hidden;
}

.locked-content-body {
    filter: blur(5px);

    user-select: none;

    pointer-events: none;
}

.locked-content-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    padding: 1rem;

    background: rgba(255, 255, 255, 0.78);

    text-align: center;

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}


/* ==========================================================================
   72. TABLE ENHANCEMENTS
   ========================================================================== */

.data-table {
    width: 100%;

    border-collapse: separate;
    border-spacing: 0;

    background: #ffffff;
}

.data-table th {
    padding: 0.75rem;

    border-bottom: 1px solid var(--inaivom-border);

    background: #faf8f9;
    color: var(--inaivom-text-soft);

    font-size: 0.62rem;
    font-weight: 700;

    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.data-table td {
    padding: 0.8rem 0.75rem;

    border-bottom: 1px solid var(--inaivom-border-light);

    color: var(--inaivom-text-soft);

    font-size: 0.68rem;

    vertical-align: middle;
}

.data-table tbody tr:last-child td {
    border-bottom: 0;
}

.data-table tbody tr {
    transition:
        background var(--inaivom-transition);
}

.data-table tbody tr:hover {
    background: #fdfafb;
}

.data-table .text-center,
.data-table th.text-center,
.data-table td.text-center {
    text-align: center;
}


/* ==========================================================================
   73. TABLE ACTIONS
   ========================================================================== */

.table-actions {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 0.3rem;
}

.table-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border: 1px solid var(--inaivom-border);
    border-radius: 8px;

    background: #ffffff;
    color: var(--inaivom-muted);

    transition:
        border-color var(--inaivom-transition),
        background var(--inaivom-transition),
        color var(--inaivom-transition);
}

.table-action-btn:hover {
    border-color: rgba(128, 0, 32, 0.2);

    background: rgba(128, 0, 32, 0.045);
    color: var(--inaivom-primary);
}


/* ==========================================================================
   74. ADMIN / USER LIST AVATAR
   ========================================================================== */

.user-cell {
    display: flex;
    align-items: center;

    gap: 0.6rem;

    min-width: 0;
}

.user-cell-info {
    min-width: 0;
}

.user-cell-name {
    overflow: hidden;

    color: var(--inaivom-text);

    font-size: 0.7rem;
    font-weight: 650;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.user-cell-meta {
    margin-top: 0.1rem;

    overflow: hidden;

    color: var(--inaivom-muted);

    font-size: 0.57rem;

    white-space: nowrap;
    text-overflow: ellipsis;
}


/* ==========================================================================
   75. SEARCH INPUT WRAPPER
   ========================================================================== */

.search-box {
    position: relative;

    width: 100%;
}

.search-box-icon {
    position: absolute;
    top: 50%;
    left: 0.85rem;

    display: inline-flex;

    transform: translateY(-50%);

    color: var(--inaivom-muted);

    pointer-events: none;
}

.search-box .form-control {
    padding-left: 2.5rem;
}


/* ==========================================================================
   76. CHARACTER COUNTER
   ========================================================================== */

.character-counter {
    margin-top: 0.25rem;

    color: var(--inaivom-muted);

    font-size: 0.58rem;

    text-align: right;
}

.character-counter.warning {
    color: var(--inaivom-warning);
}

.character-counter.danger {
    color: var(--inaivom-danger);
}


/* ==========================================================================
   77. UPLOAD AREA
   ========================================================================== */

.upload-area,
.dropzone {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    min-height: 180px;

    padding: 1.5rem;

    border: 1.5px dashed #d8cdd2;
    border-radius: var(--inaivom-radius-lg);

    background: #fdfbfc;

    color: var(--inaivom-muted);

    text-align: center;

    cursor: pointer;

    transition:
        border-color var(--inaivom-transition),
        background var(--inaivom-transition);
}

.upload-area:hover,
.dropzone:hover,
.upload-area.dragover,
.dropzone.dragover {
    border-color: var(--inaivom-primary);

    background: rgba(128, 0, 32, 0.025);
}

.upload-area-icon {
    margin-bottom: 0.65rem;

    color: var(--inaivom-primary);

    font-size: 1.6rem;
}

.upload-area-title {
    color: var(--inaivom-text);

    font-size: 0.75rem;
    font-weight: 700;
}

.upload-area-text {
    margin-top: 0.25rem;

    font-size: 0.62rem;
}


/* ==========================================================================
   78. IMAGE PREVIEW
   ========================================================================== */

.image-preview {
    position: relative;

    overflow: hidden;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius);

    background: #eee8ea;
}

.image-preview img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.image-preview-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;

    display: flex;

    gap: 0.3rem;
}


/* ==========================================================================
   79. PASSWORD STRENGTH
   ========================================================================== */

.password-strength {
    margin-top: 0.45rem;
}

.password-strength-bar {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 0.25rem;
}

.password-strength-segment {
    height: 4px;

    border-radius: 999px;

    background: #e7e0e3;
}

.password-strength-text {
    margin-top: 0.3rem;

    color: var(--inaivom-muted);

    font-size: 0.58rem;
}


/* ==========================================================================
   80. SUPPORT / HELP CARD
   ========================================================================== */

.help-card,
.support-card {
    display: flex;
    align-items: flex-start;

    gap: 0.8rem;

    padding: 1.15rem;

    border: 1px solid var(--inaivom-border);
    border-radius: var(--inaivom-radius-lg);

    background: #ffffff;

    box-shadow: var(--inaivom-shadow-sm);
}

.help-card-icon,
.support-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    border-radius: 12px;

    background: rgba(128, 0, 32, 0.06);
    color: var(--inaivom-primary);
}


/* ==========================================================================
   81. LEGAL / STATIC CONTENT
   ========================================================================== */

.static-content,
.legal-content {
    max-width: 900px;

    margin-right: auto;
    margin-left: auto;

    color: var(--inaivom-text-soft);

    font-size: 0.82rem;
    line-height: 1.8;
}

.static-content h1,
.static-content h2,
.static-content h3,
.legal-content h1,
.legal-content h2,
.legal-content h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.65rem;

    color: var(--inaivom-primary);

    font-weight: 700;
}

.static-content p,
.legal-content p {
    margin-bottom: 0.9rem;
}

.static-content ul,
.static-content ol,
.legal-content ul,
.legal-content ol {
    margin: 0.8rem 0 1rem;
    padding-left: 1.25rem;
}

.static-content ul,
.legal-content ul {
    list-style: disc;
}

.static-content ol,
.legal-content ol {
    list-style: decimal;
}


/* ==========================================================================
   82. PREMIUM DECORATION
   ========================================================================== */

.premium-border {
    position: relative;
}

.premium-border::before {
    position: absolute;
    inset: 0;

    padding: 1px;

    border-radius: inherit;

    background:
        linear-gradient(
            135deg,
            rgba(212, 175, 55, 0.8),
            rgba(128, 0, 32, 0.35),
            rgba(212, 175, 55, 0.8)
        );

    content: "";

    pointer-events: none;

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;
}


/* ==========================================================================
   83. GRADIENT TEXT
   ========================================================================== */

.gradient-text {
    background:
        linear-gradient(
            135deg,
            var(--inaivom-primary),
            #a42043 55%,
            #a47c10
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


/* ==========================================================================
   84. GLASS PANEL
   ========================================================================== */

.glass-panel {
    border: 1px solid rgba(255, 255, 255, 0.65);

    background: rgba(255, 255, 255, 0.78);

    box-shadow: var(--inaivom-shadow);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


/* ==========================================================================
   85. ACCESSIBILITY
   ========================================================================== */

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 9999;

    padding: 0.65rem 1rem;

    border-radius: 0 0 8px 8px;

    background: var(--inaivom-primary);
    color: #ffffff;

    font-size: 0.72rem;
    font-weight: 700;
}

.skip-link:focus {
    top: 0;
}

[aria-busy="true"] {
    cursor: progress;
}

[aria-disabled="true"] {
    cursor: not-allowed;
}


/* ==========================================================================
   86. TEXT HELPERS
   ========================================================================== */

.text-primary {
    color: var(--inaivom-primary) !important;
}

.text-gold {
    color: #8b6b0d !important;
}

.text-success {
    color: var(--inaivom-success) !important;
}

.text-danger {
    color: var(--inaivom-danger) !important;
}

.text-warning {
    color: var(--inaivom-warning) !important;
}

.text-muted {
    color: var(--inaivom-muted) !important;
}

.text-dark {
    color: var(--inaivom-text) !important;
}

.text-white {
    color: #ffffff !important;
}


/* ==========================================================================
   87. BACKGROUND HELPERS
   ========================================================================== */

.bg-primary {
    background: var(--inaivom-primary) !important;
}

.bg-gold {
    background: var(--inaivom-gold) !important;
}

.bg-white {
    background: #ffffff !important;
}

.bg-soft {
    background: var(--inaivom-background-soft) !important;
}

.bg-muted {
    background: var(--inaivom-background-muted) !important;
}


/* ==========================================================================
   88. BORDER HELPERS
   ========================================================================== */

.border {
    border: 1px solid var(--inaivom-border) !important;
}

.border-top {
    border-top: 1px solid var(--inaivom-border) !important;
}

.border-bottom {
    border-bottom: 1px solid var(--inaivom-border) !important;
}

.border-primary {
    border-color: var(--inaivom-primary) !important;
}

.border-gold {
    border-color: var(--inaivom-gold) !important;
}


/* ==========================================================================
   89. SHADOW HELPERS
   ========================================================================== */

.shadow-sm {
    box-shadow: var(--inaivom-shadow-sm) !important;
}

.shadow {
    box-shadow: var(--inaivom-shadow) !important;
}

.shadow-lg {
    box-shadow: var(--inaivom-shadow-lg) !important;
}

.shadow-none {
    box-shadow: none !important;
}


/* ==========================================================================
   90. RADIUS HELPERS
   ========================================================================== */

.rounded-sm {
    border-radius: var(--inaivom-radius-sm) !important;
}

.rounded {
    border-radius: var(--inaivom-radius) !important;
}

.rounded-lg {
    border-radius: var(--inaivom-radius-lg) !important;
}

.rounded-xl {
    border-radius: var(--inaivom-radius-xl) !important;
}

.rounded-circle {
    border-radius: 50% !important;
}

.rounded-pill {
    border-radius: 999px !important;
}


/* ==========================================================================
   91. DISPLAY HELPERS
   ========================================================================== */

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-inline-block {
    display: inline-block !important;
}

.d-flex {
    display: flex !important;
}

.d-inline-flex {
    display: inline-flex !important;
}

.d-grid {
    display: grid !important;
}


/* ==========================================================================
   92. FLEX HELPERS
   ========================================================================== */

.flex-column {
    flex-direction: column !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.flex-grow-1 {
    flex-grow: 1 !important;
}

.align-items-center {
    align-items: center !important;
}

.align-items-start {
    align-items: flex-start !important;
}

.align-items-end {
    align-items: flex-end !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}


/* ==========================================================================
   93. WIDTH HELPERS
   ========================================================================== */

.w-100 {
    width: 100% !important;
}

.h-100 {
    height: 100% !important;
}

.mw-100 {
    max-width: 100% !important;
}


/* ==========================================================================
   94. TEXT ALIGNMENT
   ========================================================================== */

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}


/* ==========================================================================
   95. TEXT OVERFLOW
   ========================================================================== */

.text-truncate {
    overflow: hidden;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.break-word {
    overflow-wrap: anywhere;
    word-break: break-word;
}


/* ==========================================================================
   96. VISIBILITY
   ========================================================================== */

.invisible {
    visibility: hidden !important;
}

.visible {
    visibility: visible !important;
}


/* ==========================================================================
   97. CURSOR HELPERS
   ========================================================================== */

.cursor-pointer {
    cursor: pointer !important;
}

.cursor-default {
    cursor: default !important;
}

.cursor-not-allowed {
    cursor: not-allowed !important;
}


/* ==========================================================================
   98. SELECTION / USER SELECT
   ========================================================================== */

.user-select-none {
    user-select: none !important;
}

.user-select-text {
    user-select: text !important;
}


/* ==========================================================================
   99. PRINT HELPERS
   ========================================================================== */

.print-only {
    display: none !important;
}

@media print {

    .no-print {
        display: none !important;
    }

    .print-only {
        display: block !important;
    }

    .invoice {
        max-width: none;

        padding: 0;

        border: 0;

        box-shadow: none;
    }

    .profile-card,
    .dashboard-card,
    .surface {
        break-inside: avoid;

        box-shadow: none;
    }
}


/* ==========================================================================
   100. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    .loading-spinner {
        animation-duration: 1.5s;
    }

    .skeleton::after {
        animation: none;
    }

    .profile-card:hover,
    .match-card:hover,
    .recommendation-card:hover,
    .shortlist-card:hover,
    .favourite-card:hover,
    .visitor-card:hover,
    .feature-card:hover,
    .blog-card:hover {
        transform: none;
    }
}


/* ==========================================================================
   101. HIGH CONTRAST
   ========================================================================== */

@media (prefers-contrast: more) {

    .profile-card,
    .match-card,
    .feature-card,
    .dashboard-card,
    .pricing-card,
    .membership-card,
    .plan-card,
    .verification-card,
    .testimonial-card,
    .faq-item {
        border-color: #8f858a;
    }

    .text-muted,
    .page-subtitle,
    .section-description {
        color: #595156 !important;
    }
}


/* ==========================================================================
   102. FORCED COLORS
   ========================================================================== */

@media (forced-colors: active) {

    .badge,
    .status-pill,
    .profile-badge,
    .chip,
    .premium-label {
        border: 1px solid CanvasText;
    }

    .progress-bar,
    .loading-spinner {
        forced-color-adjust: auto;
    }
}


/* ==========================================================================
   103. RESPONSIVE FALLBACKS
   ========================================================================== */

@media (max-width: 1199.98px) {

    .profile-grid,
    .profiles-grid,
    .matches-grid,
    .recommendations-grid,
    .shortlists-grid,
    .favourites-grid,
    .visitors-grid,
    .blocklist-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .chat-layout {
        grid-template-columns:
            280px minmax(0, 1fr);
    }

    .chat-profile-panel {
        display: none;
    }
}

@media (max-width: 991.98px) {

    .hero-grid,
    .hero-layout {
        grid-template-columns: 1fr;

        gap: 2.5rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description,
    .hero-subtitle {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-actions,
    .hero-trust {
        justify-content: center;
    }

    .hero-image-wrapper {
        max-width: 560px;

        margin-right: auto;
        margin-left: auto;
    }

    .trust-strip-inner {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .profile-grid,
    .profiles-grid,
    .matches-grid,
    .recommendations-grid,
    .shortlists-grid,
    .favourites-grid,
    .visitors-grid,
    .blocklist-grid,
    .blog-grid,
    .article-grid,
    .success-stories-grid,
    .stories-grid,
    .testimonials-grid,
    .testimonial-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .dashboard-stats,
    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .search-layout,
    .settings-layout,
    .payment-layout,
    .checkout-layout,
    .contact-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .search-sidebar,
    .payment-summary,
    .order-summary {
        position: static;
    }

    .pricing-grid,
    .membership-grid,
    .plans-grid,
    .verification-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {

    .page-header-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-header-actions {
        width: 100%;
    }

    .profile-view-header {
        grid-template-columns: 1fr;
    }

    .info-grid,
    .profile-info-grid,
    .profile-detail-grid {
        grid-template-columns: 1fr;
    }

    .chat-layout {
        display: block;

        min-height: auto;
    }

    .chat-sidebar {
        border-right: 0;
        border-bottom: 1px solid var(--inaivom-border);
    }

    .message-bubble {
        max-width: 84%;
    }

    .gallery-grid,
    .photo-grid,
    .photos-grid,
    .profile-photos-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {

    .profile-grid,
    .profiles-grid,
    .matches-grid,
    .recommendations-grid,
    .shortlists-grid,
    .favourites-grid,
    .visitors-grid,
    .blocklist-grid,
    .blog-grid,
    .article-grid,
    .success-stories-grid,
    .stories-grid,
    .testimonials-grid,
    .testimonial-grid,
    .pricing-grid,
    .membership-grid,
    .plans-grid,
    .verification-grid,
    .dashboard-stats,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-section,
    .home-hero {
        min-height: auto;

        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .hero-floating-card {
        display: none;
    }

    .trust-strip-inner {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .page-header-actions,
    .hero-actions,
    .empty-state-actions,
    .error-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .page-header-actions > *,
    .hero-actions > *,
    .empty-state-actions > *,
    .error-actions > * {
        width: 100%;
    }

    .pricing-card.featured,
    .membership-card.featured,
    .plan-card.featured {
        transform: none;
    }

    .invoice {
        padding: 1rem;
    }

    .invoice-header {
        flex-direction: column;
    }

    .message-bubble {
        max-width: 90%;
    }
}


/* ==========================================================================
   104. TOUCH OPTIMIZATION
   ========================================================================== */

@media (hover: none) and (pointer: coarse) {

    .profile-card:hover,
    .match-card:hover,
    .recommendation-card:hover,
    .shortlist-card:hover,
    .favourite-card:hover,
    .visitor-card:hover,
    .feature-card:hover,
    .blog-card:hover {
        transform: none;
    }

    .profile-card-image img,
    .match-card-image img,
    .gallery-item img,
    .photo-item img {
        transform: none !important;
    }

    .page-link,
    .table-action-btn,
    .tab-link,
    .settings-nav-link {
        min-height: 44px;
    }
}


/* ==========================================================================
   105. FINAL PRODUCTION SAFETY
   ========================================================================== */

iframe,
video,
img,
svg,
canvas {
    max-width: 100%;
}

input,
textarea,
select {
    min-width: 0;
}

button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}

[hidden] {
    display: none !important;
}

.clearfix::after {
    display: table;
    clear: both;

    content: "";
}