@import url('https://fonts.bunny.net/css?family=inter:400,500,600,700,800');

:root {
    --app-primary: #2e5dff;
    --app-primary-hover: #244ae0;
    --app-primary-soft: #8ea7ff;
    --app-surface: #eef3ff;
    --app-surface-2: #f8fbff;
    --app-border: rgba(15, 23, 42, 0.10);
    --app-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    --auth-hero-cover-image: url('/images/landing-hero.png');
}

html {
    scroll-behavior: smooth;
}

body.site-shell {
    --site-main-offset: 88px;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at top right, rgba(46, 93, 255, 0.16), transparent 26%),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.10), transparent 24%),
        linear-gradient(180deg, #f7faff 0%, #eef3ff 100%);
    color: #0f172a;
    min-height: 100vh;
}

.site-navbar {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-logo {
    height: 20px;
    width: auto;
    display: block;
}

.site-main {
    padding-top: var(--site-main-offset);
    min-height: calc(100vh - var(--site-main-offset));
}

.site-footer {
    background: rgba(15, 23, 42, 0.88);
}

.landing-page {
    overflow: hidden;
    margin-top: calc(-1 * var(--site-main-offset));
}

.landing-hero {
    position: relative;
    padding: 2rem 0 1rem;
}

.landing-hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 18, 39, 0.30) 0%, rgba(7, 18, 39, 0.16) 28%, rgba(255, 255, 255, 0.10) 56%, rgba(238, 243, 255, 1) 100%),
        url('/images/landing-hero.png') center top / cover no-repeat;
    pointer-events: none;
}

.landing-hero-shell {
    position: relative;
    border-radius: 2.25rem;
    padding: 4.5rem 1.25rem 1.5rem;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-brand-row {
    display: flex;
    align-items: center;
}

.landing-brand-logo {
    height: 30px;
    width: auto;
    display: block;
    filter: drop-shadow(0 10px 22px rgba(16, 24, 40, 0.08));
}

.landing-title {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #0f172a;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.landing-lead {
    max-width: 36rem;
    font-size: 1.15rem;
    line-height: 1.6;
    color: #334155;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.landing-hero-copy {
    max-width: 62rem;
    padding: 2rem 0;
}

.landing-mini-stats {
    margin-top: 1rem;
}

.mini-stat {
    min-width: 120px;
    padding: 0.9rem 1rem;
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    text-align: center;
}

.mini-stat-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748b;
}

.mini-stat-value {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.96rem;
    font-weight: 700;
    color: #0f172a;
}

.landing-hero-visual {
    position: relative;
    min-height: 420px;
    border-radius: 2rem;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(245, 249, 255, 0.32) 24%, rgba(220, 231, 249, 0.55)),
        linear-gradient(135deg, #dde9fa 0%, #e9eef9 52%, #d9e3f2 100%);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.10);
}

.landing-hero-visual::before,
.landing-hero-visual::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    pointer-events: none;
}

.landing-hero-visual::before {
    height: 44%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.38) 72%, rgba(255, 255, 255, 0.9)),
        linear-gradient(135deg, rgba(83, 107, 162, 0.10), rgba(83, 107, 162, 0.02) 34%, transparent 58%);
    clip-path: polygon(0 58%, 10% 42%, 20% 50%, 31% 30%, 44% 39%, 54% 25%, 66% 37%, 77% 26%, 87% 40%, 100% 28%, 100% 100%, 0 100%);
}

.landing-hero-visual::after {
    height: 30%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.72));
    clip-path: polygon(0 66%, 10% 52%, 18% 60%, 30% 44%, 43% 56%, 58% 35%, 71% 48%, 84% 32%, 100% 46%, 100% 100%, 0 100%);
    opacity: 0.9;
}

.sky-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(36px);
}

.sky-glow-a {
    width: 18rem;
    height: 18rem;
    top: -5rem;
    left: -2rem;
    background: rgba(255, 255, 255, 0.88);
}

.sky-glow-b {
    width: 16rem;
    height: 16rem;
    top: 4rem;
    right: 2rem;
    background: rgba(46, 93, 255, 0.14);
}

.mountain-layer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.mountain-layer-a {
    height: 38%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(145, 171, 208, 0.10));
    clip-path: polygon(0 88%, 8% 72%, 18% 70%, 30% 52%, 45% 60%, 57% 48%, 66% 58%, 76% 36%, 88% 46%, 100% 28%, 100% 100%, 0 100%);
}

.mountain-layer-b {
    height: 30%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(112, 142, 186, 0.13));
    clip-path: polygon(0 100%, 0 82%, 10% 68%, 20% 74%, 30% 57%, 42% 66%, 53% 50%, 64% 58%, 76% 44%, 89% 54%, 100% 38%, 100% 100%);
}

.mountain-layer-c {
    height: 22%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(184, 205, 236, 0.20));
    clip-path: polygon(0 100%, 0 80%, 8% 88%, 16% 76%, 28% 84%, 40% 70%, 52% 78%, 64% 62%, 76% 76%, 88% 66%, 100% 74%, 100% 100%);
}

.drone-scene {
    position: absolute;
    top: 7%;
    right: 7%;
    width: clamp(240px, 42vw, 480px);
    aspect-ratio: 1.18;
    filter: drop-shadow(0 22px 30px rgba(15, 23, 42, 0.20));
    transform: translateX(8%) translateY(0);
}

.drone-body {
    position: absolute;
    left: 50%;
    top: 42%;
    width: 20%;
    height: 18%;
    transform: translate(-50%, -50%);
    border-radius: 1rem;
    background: linear-gradient(180deg, #2a2f39 0%, #111827 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.drone-body::before {
    content: '';
    position: absolute;
    inset: 24% 22%;
    border-radius: 999px;
    background: radial-gradient(circle at 40% 40%, rgba(127, 158, 255, 0.9), rgba(127, 158, 255, 0.25) 55%, rgba(15, 23, 42, 0.0) 68%);
}

.drone-camera {
    position: absolute;
    left: 50%;
    top: 54%;
    width: 13%;
    height: 18%;
    transform: translate(-50%, -50%);
    border-radius: 1rem;
    background: linear-gradient(180deg, #4b5563, #111827);
}

.drone-camera::before {
    content: '';
    position: absolute;
    inset: 18%;
    border-radius: 999px;
    background: radial-gradient(circle, #0f172a 32%, #60a5fa 34%, #0f172a 62%);
}

.drone-arm {
    position: absolute;
    left: 50%;
    top: 42%;
    width: 34%;
    height: 1.05%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.90), rgba(15, 23, 42, 0.65));
    border-radius: 999px;
    transform-origin: center;
}

.drone-arm::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16%;
    height: 16%;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.92);
}

.drone-arm::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 22%;
    height: 90%;
    transform: translateY(-50%);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
}

.drone-arm-nw {
    transform: translate(-50%, -50%) rotate(26deg);
}

.drone-arm-nw::after {
    left: -8%;
}

.drone-arm-ne {
    transform: translate(-50%, -50%) rotate(-26deg);
}

.drone-arm-ne::after {
    right: -8%;
}

.drone-arm-sw {
    transform: translate(-50%, -50%) rotate(-154deg);
}

.drone-arm-sw::after {
    right: -8%;
}

.drone-arm-se {
    transform: translate(-50%, -50%) rotate(154deg);
}

.drone-arm-se::after {
    left: -8%;
}

.drone-prop {
    position: absolute;
    width: 18%;
    aspect-ratio: 1;
    border-radius: 999px;
    border: 2px solid rgba(15, 23, 42, 0.72);
    background: radial-gradient(circle, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.08) 50%, transparent 62%);
}

.drone-prop::before,
.drone-prop::after {
    content: '';
    position: absolute;
    inset: 18%;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.16);
}

.drone-prop::after {
    inset: 30%;
    opacity: 0.6;
}

.drone-prop-nw {
    top: 18%;
    left: 18%;
}

.drone-prop-ne {
    top: 18%;
    right: 18%;
}

.drone-prop-sw {
    bottom: 16%;
    left: 16%;
}

.drone-prop-se {
    bottom: 16%;
    right: 16%;
}

.landing-section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.landing-section-divider {
    width: 44px;
    height: 4px;
    border-radius: 999px;
    background: var(--app-primary);
}

.landing-section-copy {
    max-width: 46rem;
    color: #475569;
    font-size: 1.04rem;
}

.landing-role-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.landing-role-card {
    position: relative;
    height: 100%;
    min-height: 100%;
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.landing-role-card:hover {
    transform: translateY(-4px);
    border-color: rgba(46, 93, 255, 0.26);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

.landing-role-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 1.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 93, 255, 0.12);
    color: var(--app-primary);
    font-size: 1.55rem;
}

.landing-role-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.75rem;
}

.landing-role-card p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.landing-role-arrow {
    display: inline-flex;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    color: var(--app-primary);
    background: rgba(46, 93, 255, 0.09);
}

.landing-auth-shell {
    overflow: hidden;
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
}

.landing-auth-aside {
    position: relative;
    padding: 3rem 2rem;
    color: #fff;
    background:
        radial-gradient(circle at 75% 78%, rgba(255, 255, 255, 0.08), transparent 20%),
        linear-gradient(180deg, #0f3ea8 0%, #0f4bc0 55%, #103d8f 100%);
}

.landing-auth-aside::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 0);
    background-size: 14px 14px;
    opacity: 0.24;
    pointer-events: none;
}

.landing-auth-aside > * {
    position: relative;
    z-index: 1;
}

.landing-auth-badge {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.35rem;
    background: rgba(255, 255, 255, 0.96);
    color: var(--app-primary);
    font-size: 1.15rem;
}

.landing-auth-aside h2 {
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
}

.landing-auth-aside p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.landing-auth-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 1.4rem;
}

.landing-auth-feature-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: #dce9ff;
}

.landing-auth-feature strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.landing-auth-feature p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
}

.landing-auth-form {
    padding: 3rem 2.25rem;
    background: rgba(255, 255, 255, 0.98);
}

.landing-auth-title {
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.app-auth-page,
.listing-dashboard {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #eceff6 0%, #eceff6 100%);
    margin-top: calc(-1 * var(--site-main-offset));
}

.app-auth-page .container,
.listing-dashboard .container {
    max-width: 1288px;
}

.auth-page-hero {
    position: relative;
    isolation: isolate;
    padding: var(--site-main-offset) 0 1.5rem;
}

.listing-hero {
    position: relative;
    padding: 0 0 1.5rem;
}

.auth-page-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 178px;
    background: linear-gradient(180deg, rgba(236, 239, 246, 0) 0%, rgba(236, 239, 246, 1) 82%);
    pointer-events: none;
    z-index: 1;
}

.listing-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 178px;
    background: linear-gradient(180deg, rgba(236, 239, 246, 0) 0%, rgba(236, 239, 246, 1) 82%);
    pointer-events: none;
}

.auth-page-hero-backdrop {
    position: absolute;
    inset: 0;
    background: var(--auth-hero-cover-image) center top / cover no-repeat;
    pointer-events: none;
    z-index: 0;
}

.auth-page-hero-backdrop::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 18, 39, 0.20) 0%, rgba(66, 89, 130, 0.22) 48%, rgba(236, 239, 246, 0.78) 100%);
    pointer-events: none;
}

.listing-hero-backdrop {
    position: absolute;
    inset: 0 0 auto;
    height: 420px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(236, 239, 246, 0.48) 64%, rgba(236, 239, 246, 1) 100%),
        var(--auth-hero-cover-image) center top / cover no-repeat;
    pointer-events: none;
}

.auth-page-hero-shell,
.listing-hero-shell {
    position: relative;
    min-height: 328px;
    padding: 2.45rem 0 2.6rem;
    display: flex;
    align-items: center;
    z-index: 2;
}

.auth-page-hero-copy,
.listing-hero-copy {
    max-width: 34rem;
}

.auth-page-hero-title,
.listing-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #0f172a;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.auth-page-hero-lead {
    max-width: 34rem;
    font-size: 1.1rem;
    line-height: 1.55;
    color: #334155;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}

.listing-hero-lead {
    max-width: 27rem;
    font-size: 1.1rem;
    line-height: 1.55;
    color: #334155;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}

.auth-page-hero-visual-slot,
.listing-hero-visual-slot {
    min-height: 220px;
}

.auth-page-hero .btn,
.listing-hero .btn {
    border-radius: 0.82rem;
    font-weight: 700;
    min-height: 50px;
}

.auth-page-hero-actions .btn {
    white-space: nowrap;
}

.auth-page-section {
    position: relative;
    z-index: 1;
    padding-bottom: 3rem;
}

.listing-toolbar {
    position: relative;
    z-index: 2;
}

.listing-search-shell {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #dbe3ef;
    border-radius: 1rem;
    padding: 1.05rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.listing-toolbar-field-label {
    margin-bottom: 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
}

.listing-toolbar-divider {
    position: relative;
}

@media (min-width: 992px) {
    .listing-toolbar-divider::before {
        content: '';
        position: absolute;
        left: -0.4rem;
        top: 9px;
        bottom: 9px;
        width: 1px;
        background: #e7edf5;
    }
}

.listing-search-input .input-group-text,
.listing-sort-input .input-group-text,
.listing-control {
    border-color: #d8dfec;
    background-color: #fff;
    color: #334155;
    border-radius: 0.75rem;
    min-height: 50px;
}

.listing-search-input .input-group-text {
    border-right: 0;
    padding-left: 1rem;
    padding-right: 0.9rem;
}

.listing-sort-input .input-group-text {
    border-right: 0;
    min-height: 50px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding-inline: 0.8rem;
    color: #64748b;
}

.listing-search-input .form-control {
    border-left: 0;
    border-color: #d8dfec;
    border-radius: 0.75rem;
    padding: 0.9rem 1rem 0.9rem 0;
    box-shadow: none;
    min-height: 50px;
}

.listing-search-input .form-control:focus,
.listing-control:focus {
    border-color: rgba(46, 93, 255, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(46, 93, 255, 0.14);
}

.listing-sort-input .listing-control {
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-left: 0;
}

.listing-sidebar {
    position: sticky;
    top: 96px;
    padding: 1.2rem;
    background: #fff;
    border: 1px solid #dce3ee;
    border-radius: 0.9rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.listing-sidebar-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111827;
}

.listing-sidebar-reset {
    color: var(--app-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
}

.listing-filter-group + .listing-filter-group {
    margin-top: 1.35rem;
}

.listing-filter-label {
    margin-bottom: 0.8rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.chip-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.44rem 0.95rem;
    border-radius: 999px;
    border: 1px solid #d2dce9;
    background: #fff;
    color: #475569;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    transition: transform 0.16s ease, border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.chip-filter:hover {
    transform: translateY(-1px);
    border-color: rgba(46, 93, 255, 0.35);
    color: var(--app-primary);
}

.chip-filter.active {
    background: var(--app-primary);
    border-color: var(--app-primary);
    color: #fff;
}

.listing-category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.listing-category-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0.56rem 0.75rem;
    border-radius: 0.65rem;
    background: transparent;
    border: 1px solid transparent;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.listing-category-item:hover,
.listing-category-item.active {
    background: rgba(46, 93, 255, 0.1);
    border-color: rgba(46, 93, 255, 0.18);
    color: #294de6;
    transform: none;
}

.listing-category-icon {
    color: var(--app-primary);
    width: 1rem;
    text-align: center;
}

.listing-empty-state {
    padding: 2rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #dce3ee;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.listing-card {
    display: grid;
    grid-template-columns: minmax(0, 235px) minmax(0, 1fr);
    gap: 0.95rem;
    align-items: stretch;
    padding: 0.72rem;
    border-radius: 0.9rem;
    background: #fff;
    border: 1px solid #dce3ee;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.listing-card:hover {
    transform: translateY(-1px);
    border-color: rgba(46, 93, 255, 0.22);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
}

.listing-card-media {
    position: relative;
    min-height: 188px;
    border-radius: 0.75rem;
    overflow: hidden;
    background: linear-gradient(135deg, #d8e6ff, #eff5ff);
}

.listing-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 56%, rgba(15, 23, 42, 0.18) 100%);
    pointer-events: none;
}

.listing-card-media--offer::before,
.listing-card-media--demand::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.listing-card-media--offer::before {
    background: linear-gradient(145deg, rgba(46, 93, 255, 0.06), rgba(14, 165, 233, 0.08));
}

.listing-card-media--demand::before {
    background: linear-gradient(145deg, rgba(14, 165, 233, 0.08), rgba(46, 93, 255, 0.04));
}

.listing-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
}

.listing-card-favorite {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    width: 2.1rem;
    height: 2.1rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: #253245;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
    transition: background-color 0.15s ease, transform 0.15s ease;
    z-index: 2;
}

.listing-card-favorite-form {
    margin: 0;
}

.listing-card-favorite:hover {
    background: #fff;
    transform: translateY(-1px);
}

.listing-card-favorite.is-saved {
    background: #2e5dff;
    color: #fff;
}

.listing-card-favorite.is-saved:hover {
    background: #2851dd;
}

.listing-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 188px;
    gap: 1rem;
    min-width: 0;
    padding: 0.08rem 0;
}

.listing-card-main {
    min-width: 0;
}

.listing-card-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.62rem;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.15);
    color: #16843f;
    font-size: 0.76rem;
    font-weight: 700;
}

.listing-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(46, 93, 255, 0.11);
    color: var(--app-primary);
    font-size: 0.8rem;
    font-weight: 700;
}

.listing-card-title {
    font-size: clamp(1.48rem, 2.1vw, 2rem);
    line-height: 1.12;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-card-copy {
    color: #4b5563;
    line-height: 1.54;
    margin-bottom: 0.95rem;
    font-size: 0.97rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.9rem;
    color: #667085;
    font-size: 0.85rem;
}

.listing-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.listing-meta-pill {
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.45);
    border: 1px solid rgba(203, 213, 225, 0.65);
    padding: 0.2rem 0.55rem;
}

.listing-owner {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.88rem;
}

.listing-owner-avatar,
.listing-owner-fallback {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    flex: 0 0 34px;
    object-fit: cover;
}

.listing-owner-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8099da, #b1c4ef);
    color: #fff;
    font-weight: 800;
    font-size: 0.8rem;
}

.listing-owner-name {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #111827;
    font-size: 0.96rem;
}

.listing-owner-verified {
    color: #2e5dff;
    font-size: 0.82rem;
}

.listing-card-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.95rem;
}

.listing-card-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
    min-width: 0;
}

.listing-price-block {
    text-align: right;
}

.listing-price-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--app-primary);
    line-height: 0.95;
    letter-spacing: -0.02em;
}

.listing-price-sub {
    margin-top: 0.26rem;
    color: #64748b;
    font-size: 0.8rem;
}

.listing-card-actions .btn {
    border-radius: 0.68rem;
    font-weight: 700;
    box-shadow: none;
    min-height: 38px;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    font-size: 0.9rem;
}

.listing-message-btn {
    color: var(--app-primary);
}

.app-auth-page .pagination,
.listing-dashboard .pagination {
    --bs-pagination-padding-x: 0.66rem;
    --bs-pagination-padding-y: 0.45rem;
    --bs-pagination-border-radius: 0.5rem;
    --bs-pagination-color: #334155;
    --bs-pagination-bg: #f6f8fc;
    --bs-pagination-border-color: #d8dfec;
    --bs-pagination-hover-color: var(--app-primary);
    --bs-pagination-hover-bg: rgba(46, 93, 255, 0.08);
    --bs-pagination-hover-border-color: rgba(46, 93, 255, 0.18);
    --bs-pagination-focus-box-shadow: 0 0 0 0.2rem rgba(46, 93, 255, 0.14);
    --bs-pagination-active-bg: var(--app-primary);
    --bs-pagination-active-border-color: var(--app-primary);
    --bs-pagination-disabled-bg: #f1f5f9;
    --bs-pagination-disabled-border-color: #d8dfec;
    gap: 0.45rem;
}

.listing-dashboard .pagination .page-link {
    min-width: 2rem;
    text-align: center;
    box-shadow: none;
}

.listing-detail-page {
    background: #eceff6;
    margin-top: calc(-1 * var(--site-main-offset));
}

.listing-detail-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: calc(var(--site-main-offset) + 1.45rem) 0 1.65rem;
}

.listing-detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.96rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.listing-detail-back-link:hover {
    color: #fff;
}

.listing-detail-hero-body {
    max-width: 42rem;
}

.listing-detail-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.24rem 0.66rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.listing-detail-chip--primary {
    background: #2e5dff;
    color: #fff;
}

.listing-detail-chip--dark {
    background: rgba(14, 23, 37, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #fff;
}

.listing-detail-chip--success {
    background: #7be45b;
    color: #15370f;
}

.listing-detail-hero-title {
    font-size: clamp(2rem, 4.2vw, 3.3rem);
    line-height: 1.03;
    letter-spacing: -0.03em;
    margin: 0 0 0.8rem;
    font-weight: 800;
}

.listing-detail-hero-copy {
    margin: 0;
    max-width: 42rem;
    font-size: 1.1rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.listing-detail-hero-actions {
    margin-top: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.72rem;
}

.listing-detail-hero-price {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    font-weight: 800;
}

.listing-detail-hero-price span {
    font-size: clamp(1.9rem, 3.4vw, 2.55rem);
    line-height: 1;
}

.listing-detail-hero-price small {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
}

.listing-detail-hero-btn {
    min-height: 46px;
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    padding-inline: 1.15rem;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
}

.listing-detail-save-btn {
    border-color: rgba(255, 255, 255, 0.48);
}

.listing-detail-save-btn:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.listing-detail-save-btn.is-saved {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.26);
}

.listing-detail-card,
.listing-detail-side-card {
    background: #fff;
    border-radius: 0.9rem;
    border: 1px solid #dce3ee;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.listing-detail-card {
    padding: 0.95rem;
}

.listing-detail-gallery-main-wrap {
    position: relative;
    border-radius: 0.9rem;
    overflow: hidden;
}

.listing-detail-gallery-main {
    display: block;
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.listing-detail-expand-btn {
    position: absolute;
    right: 0.75rem;
    top: 0.75rem;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    background: rgba(6, 17, 35, 0.68);
    color: #fff;
}

.listing-detail-thumb-row {
    margin-top: 0.65rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.62rem;
}

.listing-detail-thumb {
    border: 2px solid transparent;
    border-radius: 0.72rem;
    padding: 0;
    background: #e5edf9;
    overflow: hidden;
    transition: border-color 0.16s ease, transform 0.16s ease;
}

.listing-detail-thumb img {
    width: 100%;
    height: 78px;
    object-fit: cover;
    display: block;
}

.listing-detail-thumb:hover {
    transform: translateY(-1px);
}

.listing-detail-thumb.is-active {
    border-color: #2e5dff;
}

.listing-detail-meta-grid {
    margin-top: 0.85rem;
    border: 1px solid #e2e8f2;
    border-radius: 0.82rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
}

.listing-detail-meta-item {
    display: flex;
    gap: 0.68rem;
    align-items: flex-start;
    padding: 0.8rem 0.8rem;
}

.listing-detail-meta-item + .listing-detail-meta-item {
    border-left: 1px solid #e8eef7;
}

.listing-detail-meta-icon {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 0.5rem;
    background: rgba(46, 93, 255, 0.1);
    color: #2e5dff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.8rem;
}

.listing-detail-meta-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: #64748b;
}

.listing-detail-meta-value {
    margin-top: 0.08rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
}

.listing-detail-content-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e6edf6;
}

.listing-detail-content-section h2 {
    margin: 0 0 0.9rem;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.listing-detail-content-section h3 {
    margin: 1rem 0 0.55rem;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.listing-detail-content-section p {
    font-size: 1rem;
    line-height: 1.62;
    color: #334155;
    margin-bottom: 0.8rem;
}

.listing-detail-check-list,
.listing-detail-safety-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.listing-detail-check-list li,
.listing-detail-safety-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #1e293b;
}

.listing-detail-check-list i,
.listing-detail-safety-list i {
    margin-top: 0.12rem;
    color: #2e5dff;
}

.listing-detail-include-card {
    height: 100%;
    border: 1px solid #dfe7f1;
    border-radius: 0.82rem;
    padding: 0.78rem;
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    background: #fff;
}

.listing-detail-include-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.55rem;
    background: rgba(46, 93, 255, 0.1);
    color: #2e5dff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2rem;
}

.listing-detail-include-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.listing-detail-include-subtitle {
    margin-top: 0.15rem;
    font-size: 0.86rem;
    color: #64748b;
}

.listing-detail-bullet-list {
    margin-bottom: 0.9rem;
    color: #1e293b;
}

.listing-detail-bullet-list li + li {
    margin-top: 0.35rem;
}

.listing-detail-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.listing-detail-soft-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #edf2f9;
    color: #334155;
    font-size: 0.86rem;
    font-weight: 600;
    padding: 0.36rem 0.8rem;
}

.listing-detail-side-card {
    padding: 0.95rem;
}

.listing-detail-seller-card {
    text-align: left;
}

.listing-detail-seller-avatar-wrap {
    display: flex;
    justify-content: flex-start;
}

.listing-detail-seller-avatar,
.listing-detail-seller-avatar-fallback {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    object-fit: cover;
}

.listing-detail-seller-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8099da, #b1c4ef);
    color: #fff;
    font-weight: 800;
    font-size: 1.35rem;
}

.listing-detail-seller-name {
    margin-top: 0.7rem;
    display: flex;
    gap: 0.45rem;
    align-items: center;
    font-size: 1.32rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.listing-detail-seller-name i {
    color: #2e5dff;
    font-size: 0.95rem;
}

.listing-detail-seller-role {
    margin-top: 0.2rem;
    color: #64748b;
}

.listing-detail-seller-rating {
    margin-top: 0.6rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    color: #334155;
    font-weight: 600;
}

.listing-detail-seller-stars {
    color: #f5b301;
    display: inline-flex;
    gap: 0.2rem;
}

.listing-detail-seller-stats {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid #e7edf6;
    display: grid;
    gap: 0.5rem;
}

.listing-detail-seller-stat-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.93rem;
}

.listing-detail-seller-stat-row span {
    color: #64748b;
}

.listing-detail-seller-stat-row strong {
    color: #0f172a;
}

.listing-detail-side-actions {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.55rem;
}

.listing-detail-side-actions .btn {
    min-height: 45px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 0.8rem;
    text-align: center;
    white-space: nowrap;
}

.listing-detail-side-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.listing-detail-map-image {
    margin-top: 0.75rem;
    width: 100%;
    border-radius: 0.7rem;
    border: 1px solid #e6edf6;
}

.listing-detail-side-copy {
    margin-top: 0.7rem;
    color: #334155;
}

.listing-detail-related-title {
    margin: 0 0 1rem;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.listing-detail-related-link {
    display: block;
    text-decoration: none;
}

.listing-detail-related-card {
    border: 1px solid #dce3ee;
    border-radius: 0.9rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.listing-detail-related-card:hover {
    transform: translateY(-2px);
    border-color: rgba(46, 93, 255, 0.25);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

.listing-detail-related-image {
    width: 100%;
    height: 132px;
    object-fit: cover;
    display: block;
}

.listing-detail-related-body {
    padding: 0.8rem;
}

.listing-detail-related-body h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    color: #0f172a;
    font-weight: 700;
}

.listing-detail-related-body p {
    margin: 0 0 0.45rem;
    color: #64748b;
    font-size: 0.86rem;
}

.listing-detail-related-body div {
    color: #334155;
    font-weight: 700;
    font-size: 0.9rem;
}

.hero-shell {
    position: relative;
    overflow: hidden;
}

.hero-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent 40%),
        radial-gradient(circle at top left, rgba(46, 93, 255, 0.22), transparent 30%);
    pointer-events: none;
}

.hero-card,
.app-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--app-border);
    border-radius: 1.5rem;
    box-shadow: var(--app-shadow);
    backdrop-filter: blur(18px);
}

.hero-card {
    padding: 3rem;
}

.section-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--app-border);
    border-radius: 1.5rem;
    box-shadow: var(--app-shadow);
}

.app-input,
.app-form-control {
    width: 100%;
    border-radius: 0.95rem !important;
    border: 1px solid rgba(148, 163, 184, 0.35) !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    color: #0f172a !important;
    padding: 0.85rem 1rem !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.app-input:focus,
.app-form-control:focus {
    border-color: rgba(46, 93, 255, 0.60) !important;
    box-shadow: 0 0 0 0.25rem rgba(46, 93, 255, 0.14) !important;
    outline: 0;
}

.app-primary-button,
.btn-app-primary {
    --bs-btn-bg: var(--app-primary);
    --bs-btn-border-color: var(--app-primary);
    --bs-btn-hover-bg: var(--app-primary-hover);
    --bs-btn-hover-border-color: var(--app-primary-hover);
    --bs-btn-active-bg: var(--app-primary-hover);
    --bs-btn-active-border-color: var(--app-primary-hover);
    border-radius: 0.95rem;
    box-shadow: 0 14px 28px rgba(46, 93, 255, 0.16);
    font-weight: 700;
}

.app-secondary-button,
.btn-app-secondary {
    --bs-btn-color: var(--app-primary);
    --bs-btn-border-color: rgba(46, 93, 255, 0.28);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--app-primary);
    --bs-btn-hover-border-color: var(--app-primary);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--app-primary-hover);
    --bs-btn-active-border-color: var(--app-primary-hover);
    border-radius: 0.95rem;
    font-weight: 600;
}

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

.min-w-0 {
    min-width: 0;
}

.bg-app-primary {
    background-color: var(--app-primary) !important;
}

.bg-app-surface {
    background: var(--app-surface) !important;
}

.shadow-app {
    box-shadow: var(--app-shadow) !important;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--app-border);
    border-radius: 1.5rem;
    backdrop-filter: blur(18px);
}

.kb-tree-item {
    transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.kb-tree-item:hover {
    transform: translateY(-1px);
}

.doc-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--app-border);
    border-radius: 1rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.tb-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.6rem 1rem;
    background: var(--app-primary);
    color: #fff;
    border: none;
    border-radius: 0.85rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
}

.tb-btn:hover:not(:disabled) {
    background: var(--app-primary-hover);
}

.tb-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.tb-btn.secondary {
    background: #f8fafc;
    color: #334155;
    border: 1px solid rgba(148, 163, 184, 0.28);
}

.tb-divider {
    width: 1px;
    height: 1.75rem;
    background: rgba(148, 163, 184, 0.24);
    flex-shrink: 0;
}

.zoom-label,
.tb-counter {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

.modal-content {
    border: 0;
    border-radius: 1.25rem;
    box-shadow: var(--app-shadow);
}

.modal-header,
.modal-body {
    padding: 1.25rem 1.5rem;
}

.profile-hero {
    background:
        linear-gradient(135deg, rgba(46, 93, 255, 0.12), rgba(46, 93, 255, 0.02)),
        rgba(255, 255, 255, 0.9);
}

.profile-avatar {
    width: 148px;
    height: 148px;
    border-radius: 999px;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
}

.profile-avatar-fallback {
    width: 148px;
    height: 148px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--app-primary), #6b8cff);
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    box-shadow: 0 18px 38px rgba(46, 93, 255, 0.22);
}

.profile-badge {
    border: 1px solid rgba(46, 93, 255, 0.18);
    background: rgba(46, 93, 255, 0.08);
    color: var(--app-primary);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-weight: 600;
}

.profile-section {
    padding: 1.5rem;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--app-border);
    box-shadow: var(--app-shadow);
}

.profile-section h2,
.profile-section h3 {
    letter-spacing: -0.02em;
}

.trix-content {
    min-height: 180px;
}

trix-toolbar .trix-button-group {
    border-color: rgba(148, 163, 184, 0.3) !important;
    border-radius: 0.85rem !important;
    overflow: hidden;
}

trix-toolbar .trix-button {
    background: #fff !important;
}

trix-editor {
    border-radius: 0.95rem !important;
    border: 1px solid rgba(148, 163, 184, 0.35) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 0.85rem 1rem !important;
    min-height: 180px;
}

.site-user-menu .dropdown-toggle::after {
    flex-shrink: 0;
    margin-inline-start: 0.35rem;
}

.site-user-menu .dropdown-menu {
    min-width: 220px;
}

.register-role-card {
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

a:hover .register-role-card {
    border-color: rgba(46, 93, 255, 0.45) !important;
    box-shadow: var(--app-shadow);
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    body.site-shell {
        --site-main-offset: 76px;
    }

    .site-main {
        padding-top: var(--site-main-offset);
    }

    .hero-card {
        padding: 1.5rem;
    }

    .landing-hero {
        padding-top: 1rem;
    }

    .landing-hero-shell {
        padding: 1.25rem 0 0;
        min-height: 420px;
    }

    .landing-hero-copy {
        padding: 1rem 0 2rem;
    }

    .landing-auth-aside,
    .landing-auth-form {
        padding: 2rem 1.25rem;
    }

    .auth-page-hero-shell,
    .listing-hero-shell {
        min-height: 0;
        padding: 1.8rem 0 1.25rem;
    }

    .listing-hero-backdrop {
        height: 360px;
    }

    .listing-card,
    .listing-card-body {
        grid-template-columns: 1fr;
    }

    .listing-card-side {
        justify-content: flex-start;
        align-items: flex-start;
    }

    .listing-card-actions {
        min-width: 0;
        width: 100%;
    }

    .listing-price-block {
        text-align: left;
    }

    .listing-sidebar {
        position: static;
    }

    .listing-card-title {
        font-size: 1.6rem;
    }

    .listing-sidebar-title {
        font-size: 1.5rem;
    }

    .listing-detail-hero {
        padding: 1.35rem 0 1.55rem;
    }

    .listing-detail-hero-title {
        font-size: 2.1rem;
    }

    .listing-detail-hero-copy {
        font-size: 1rem;
        max-width: 36rem;
    }

    .listing-detail-hero-price span {
        font-size: 1.9rem;
    }

    .listing-detail-gallery-main {
        height: 300px;
    }

    .listing-detail-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .listing-detail-meta-item:nth-child(3),
    .listing-detail-meta-item:nth-child(4) {
        border-top: 1px solid #e8eef7;
    }

    .listing-detail-meta-item:nth-child(3) {
        border-left: 0;
    }

    .listing-detail-seller-name {
        font-size: 1.18rem;
    }

    .listing-detail-side-card {
        padding: 0.95rem;
    }

    .listing-detail-related-title {
        font-size: 1.55rem;
    }
}

@media (max-width: 575px) {
    .mini-stat {
        width: 100%;
        min-width: 0;
    }

    .landing-role-card {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .landing-auth-shell {
        border-radius: 1.35rem;
    }

    .listing-search-shell {
        padding: 0.9rem;
        border-radius: 0.95rem;
    }

    .listing-card {
        padding: 0.72rem;
    }

    .listing-card-media {
        min-height: 164px;
    }

    .listing-meta-row {
        gap: 0.5rem 0.75rem;
    }

    .listing-card-title {
        font-size: 1.32rem;
    }

    .listing-detail-back-link {
        font-size: 0.92rem;
    }

    .listing-detail-hero-title {
        font-size: 1.7rem;
    }

    .listing-detail-hero-actions {
        gap: 0.55rem;
    }

    .listing-detail-hero-btn {
        width: 100%;
    }

    .listing-detail-hero-price {
        width: 100%;
    }

    .listing-detail-card {
        padding: 0.8rem;
    }

    .listing-detail-gallery-main {
        height: 220px;
    }

    .listing-detail-thumb-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .listing-detail-thumb img {
        height: 72px;
    }

    .listing-detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .listing-detail-meta-item + .listing-detail-meta-item {
        border-left: 0;
        border-top: 1px solid #e8eef7;
    }

    .listing-detail-content-section h2 {
        font-size: 1.28rem;
    }

    .listing-detail-side-title {
        font-size: 1.18rem;
    }
}
