.bg-indigo-600,
.hover\:bg-indigo-700:hover {
    background-color: #4F46E5 !important;
    background-image: linear-gradient(135deg, #4F46E5 0%, #0D9488 100%) !important;
}

.bg-indigo-600\/10 {
    background: linear-gradient(135deg, rgb(79 70 229 / 0.1) 0%, rgb(13 148 136 / 0.1) 100%) !important;
}

.brand-logo {
    align-items: center;
    color: #0D9488;
    display: inline-flex;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo-mark {
    align-items: center;
    background: linear-gradient(135deg, #4F46E5 0%, #0D9488 100%);
    border-radius: 1rem;
    box-shadow: 0 14px 30px rgb(79 70 229 / 0.22);
    color: #FFFFFF;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 900;
    height: 2.5rem;
    justify-content: center;
    letter-spacing: 0.04em;
    width: 2.5rem;
}

.brand-logo-text {
    background: linear-gradient(135deg, #6366F1 0%, #14B8A6 100%);
    background-clip: text;
    color: #0D9488;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-heading {
    background: linear-gradient(135deg, #4F46E5 0%, #0D9488 100%);
    background-clip: text;
    color: #4F46E5;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    background: rgb(255 255 255 / 0.78);
    border: 1px solid rgb(30 41 59 / 0.12);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgb(30 41 59 / 0.05);
    color: #0D9488;
    padding: 0.625rem 1rem;
    position: relative;
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-link:hover {
    background: #fff;
    border-color: rgb(79 70 229 / 0.45);
    box-shadow: 0 12px 30px rgb(30 41 59 / 0.08);
    color: #4F46E5;
    transform: translateY(-0.125rem);
}

.nav-link::after {
    background: linear-gradient(135deg, #4F46E5 0%, #0D9488 100%);
    border-radius: 999px;
    bottom: -0.45rem;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
    width: 100%;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link-badge {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
}

.mobile-nav-strip {
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-strip::-webkit-scrollbar {
    display: none;
}

.mobile-nav-link {
    flex: 0 0 auto;
    padding: 0.55rem 0.8rem;
    white-space: nowrap;
}

.nav-badge {
    align-items: center;
    background: linear-gradient(135deg, #F59E0B 0%, #4F46E5 100%);
    border-radius: 999px;
    color: #FFFFFF;
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 900;
    height: 1.2rem;
    justify-content: center;
    min-width: 1.2rem;
    padding: 0 0.35rem;
}

.hero-search-form {
    align-items: stretch;
    background: #fff;
    border: 1px solid rgb(30 41 59 / 0.12);
    border-radius: 999px;
    box-shadow: 0 24px 70px rgb(30 41 59 / 0.1);
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 0.85fr 1.45fr auto;
    max-width: 52rem;
    padding: 0.5rem;
}

.hero-search-form-prominent {
    border-color: rgb(79 70 229 / 0.18);
    box-shadow: 0 30px 90px rgb(79 70 229 / 0.16), 0 16px 44px rgb(30 41 59 / 0.08);
    grid-template-columns: 0.9fr minmax(18rem, 1.75fr) auto;
    max-width: 64rem;
    padding: 0.65rem;
}

.hero-search-city-only {
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: none;
    width: 100%;
}

.hero-search-city-only .hero-search-field {
    border-right: 1px solid rgb(30 41 59 / 0.1);
}

.hero-search-city-only .hero-search-field label {
    color: #4F46E5;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
}

.hero-search-city-only .hero-search-field select {
    color: #0D9488;
    font-size: 1.2rem;
    font-weight: 900;
}

.hero-search-city-only .hero-search-field select option {
    color: #0D9488;
}

.hero-search-form-prominent .hero-search-field {
    padding: 1rem 1.2rem;
}

.hero-search-form-prominent .hero-search-field input,
.hero-search-form-prominent .hero-search-field select {
    font-size: 1.05rem;
}

.hero-search-form-prominent .hero-search-button {
    font-size: 1.08rem;
    letter-spacing: 0.01em;
    min-height: 4.75rem;
    min-width: 15rem;
    padding: 0 3.25rem;
    box-shadow: 0 22px 48px rgb(79 70 229 / 0.24);
}

.hero-preview-card {
    opacity: 0.94;
}

.preview-step-card {
    background: #FFFFFF;
    border: 1px solid rgb(30 41 59 / 0.1);
    border-radius: 1.25rem;
    min-height: 10.5rem;
    padding: 1.25rem;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.preview-step-card:hover {
    border-color: rgb(79 70 229 / 0.28);
    box-shadow: 0 18px 38px rgb(30 41 59 / 0.08);
    transform: translateY(-0.15rem);
}

.preview-step-card-active {
    background: linear-gradient(135deg, #4F46E5 0%, #0D9488 100%);
    border-color: transparent;
    box-shadow: 0 18px 42px rgb(79 70 229 / 0.24);
    color: #FFFFFF;
}

.preview-step-icon {
    align-items: center;
    background: rgb(79 70 229 / 0.1);
    border-radius: 999px;
    color: #4F46E5;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 900;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.preview-step-icon-active {
    background: rgb(255 255 255 / 0.18);
    color: #FFFFFF;
}

.hero-search-field {
    border-right: 1px solid rgb(30 41 59 / 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 0.75rem 1rem;
}

.hero-search-keyword {
    border-right: 0;
}

.hero-search-field label {
    color: #0D9488;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.hero-search-field input,
.hero-search-field select {
    background: transparent;
    color: #0D9488;
    font-size: 0.95rem;
    font-weight: 700;
    outline: none;
    width: 100%;
}

.hero-search-field input::placeholder {
    color: rgb(30 41 59 / 0.45);
}

.hero-search-button {
    align-items: center;
    background: linear-gradient(135deg, #4F46E5 0%, #0D9488 100%);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    padding: 0 1.75rem;
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    white-space: nowrap;
}

.hero-search-button:hover {
    background: linear-gradient(135deg, #4338CA 0%, #0D9488 100%);
    box-shadow: 0 18px 40px rgb(79 70 229 / 0.25);
    transform: translateY(-0.125rem);
}

@media (max-width: 767px) {
    .brand-logo {
        gap: 0.55rem;
    }

    .brand-logo-mark {
        border-radius: 0.85rem;
        height: 2.25rem;
        width: 2.25rem;
    }

    .brand-logo-text {
        font-size: 1.08rem;
    }

    .profile-action-link .profile-link-copy small {
        display: none;
    }

    .hero-search-form {
        border-radius: 1.5rem;
        grid-template-columns: 1fr;
        padding: 0.75rem;
    }

    .hero-search-form-prominent {
        max-width: none;
    }

    .hero-search-field {
        border-right: 0;
        border-bottom: 1px solid rgb(30 41 59 / 0.1);
    }

    .hero-search-keyword {
        border-bottom: 0;
    }

    .hero-search-button {
        min-height: 3.25rem;
    }
}

.step-card {
    background: #FFFFFF;
    border: 1px solid rgb(30 41 59 / 0.12);
    border-radius: 1.5rem;
    box-shadow: 0 18px 45px rgb(30 41 59 / 0.05);
    padding: 2rem;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.step-card:hover {
    border-color: rgb(79 70 229 / 0.45);
    box-shadow: 0 24px 60px rgb(30 41 59 / 0.09);
    transform: translateY(-0.35rem);
}

.step-number {
    align-items: center;
    background: rgb(79 70 229 / 0.1);
    border-radius: 999px;
    color: #4F46E5;
    display: inline-flex;
    font-size: 0.875rem;
    font-weight: 800;
    height: 3rem;
    justify-content: center;
    width: 3rem;
}

.service-card {
    align-items: center;
    background: rgb(255 255 255 / 0.08);
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: 1.25rem;
    display: flex;
    font-weight: 700;
    min-height: 8rem;
    padding: 1.5rem;
    transition: background 180ms ease, transform 180ms ease;
}

.service-card:hover {
    background: rgb(79 70 229 / 0.22);
    transform: translateY(-0.25rem);
}

.auth-card {
    background: #FFFFFF;
    border: 1px solid rgb(30 41 59 / 0.12);
    border-radius: 2rem;
    box-shadow: 0 24px 70px rgb(30 41 59 / 0.08);
    padding: 2rem;
}

.form-label {
    color: #0D9488;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-input {
    background: #fff;
    border: 1px solid rgb(30 41 59 / 0.22);
    border-radius: 1rem;
    color: #0D9488;
    outline: none;
    padding: 0.875rem 1rem;
    transition: border-color 180ms ease, box-shadow 180ms ease;
    width: 100%;
}

.form-input:focus {
    border-color: #4F46E5;
    box-shadow: 0 0 0 4px rgb(79 70 229 / 0.12);
}

.password-field {
    position: relative;
}

.password-toggle {
    align-items: center;
    border-radius: 999px;
    color: #0D9488;
    display: inline-flex;
    height: 2.25rem;
    justify-content: center;
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: background 180ms ease, color 180ms ease;
    width: 2.25rem;
}

.password-toggle:hover {
    background: rgb(79 70 229 / 0.1);
    color: #4F46E5;
}

.required-star {
    color: #4F46E5;
}

.form-alert {
    background: rgb(254 242 242);
    border: 1px solid rgb(254 202 202);
    border-radius: 1rem;
    color: rgb(153 27 27);
    font-size: 0.875rem;
    font-weight: 700;
    margin-top: 1.5rem;
    padding: 1rem;
}

.form-success {
    background: rgb(79 70 229 / 0.08);
    border: 1px solid rgb(79 70 229 / 0.22);
    border-radius: 1rem;
    color: #0D9488;
    font-size: 0.875rem;
    font-weight: 700;
    margin-top: 1.5rem;
    padding: 1rem;
}

.primary-action {
    align-items: center;
    background: linear-gradient(135deg, #4F46E5 0%, #0D9488 100%);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    padding: 1rem 1.5rem;
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.primary-action:hover {
    background: linear-gradient(135deg, #4338CA 0%, #0D9488 100%);
    box-shadow: 0 18px 40px rgb(79 70 229 / 0.25);
    transform: translateY(-0.25rem);
}

.secondary-action {
    align-items: center;
    background: #fff;
    border: 1px solid rgb(30 41 59 / 0.16);
    border-radius: 999px;
    color: #0D9488;
    display: inline-flex;
    font-size: 0.875rem;
    font-weight: 800;
    justify-content: center;
    padding: 0.875rem 1.25rem;
    transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.secondary-action:hover {
    border-color: rgb(79 70 229 / 0.5);
    box-shadow: 0 12px 30px rgb(30 41 59 / 0.08);
    color: #4F46E5;
    transform: translateY(-0.125rem);
}

.settings-gear {
    align-items: center;
    background: linear-gradient(135deg, rgb(79 70 229 / 0.12) 0%, rgb(13 148 136 / 0.12) 100%);
    border-radius: 999px;
    color: #4F46E5;
    display: inline-flex;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.logout-icon-button {
    align-items: center;
    background: transparent;
    border: 1px solid rgb(30 41 59 / 0.08);
    border-radius: 999px;
    color: rgb(30 41 59 / 0.55);
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 700;
    height: 2.25rem;
    justify-content: center;
    position: relative;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
    width: 2.25rem;
}

.logout-icon-button:hover {
    background: rgb(30 41 59 / 0.04);
    border-color: rgb(30 41 59 / 0.16);
    color: #0D9488;
    transform: translateY(-0.125rem);
}

.logout-icon-button::after {
    background: linear-gradient(135deg, #0D9488 0%, #4F46E5 100%);
    border-radius: 999px;
    bottom: -2.25rem;
    color: #fff;
    content: attr(data-tooltip);
    font-size: 0.75rem;
    font-weight: 800;
    opacity: 0;
    padding: 0.4rem 0.7rem;
    pointer-events: none;
    position: absolute;
    right: 0;
    transform: translateY(-0.25rem);
    transition: opacity 160ms ease, transform 160ms ease;
    white-space: nowrap;
}

.logout-icon-button:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.file-upload-control {
    align-items: center;
    background: #fff;
    border: 1px dashed rgb(79 70 229 / 0.45);
    border-radius: 1rem;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 1rem;
    transition: background 180ms ease, border-color 180ms ease;
}

.file-upload-control:hover {
    background: rgb(79 70 229 / 0.06);
    border-color: #4F46E5;
}

.file-upload-control span {
    color: #4F46E5;
    font-weight: 900;
}

.file-upload-control small {
    color: rgb(30 41 59 / 0.65);
    font-weight: 700;
}

.role-card,
.checkbox-card {
    background: #fff;
    border: 1px solid rgb(30 41 59 / 0.12);
    border-radius: 1.25rem;
    cursor: pointer;
    display: block;
    padding: 1.25rem;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.role-card:hover,
.role-card-active,
.checkbox-card:hover {
    border-color: rgb(79 70 229 / 0.55);
    box-shadow: 0 14px 32px rgb(30 41 59 / 0.06);
}

.checkbox-card {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
}

.profile-chip {
    background: rgb(79 70 229 / 0.1);
    border-radius: 999px;
    color: #4F46E5;
    display: inline-flex;
    font-size: 0.8125rem;
    font-weight: 800;
    padding: 0.5rem 0.75rem;
}

.profile-avatar {
    align-items: center;
    background: rgb(79 70 229 / 0.1);
    border: 2px solid rgb(79 70 229 / 0.22);
    border-radius: 999px;
    color: #4F46E5;
    display: inline-flex;
    flex-shrink: 0;
    font-weight: 900;
    justify-content: center;
    overflow: hidden;
}

.profile-avatar img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.profile-avatar-sm {
    font-size: 0.75rem;
    height: 2rem;
    width: 2rem;
}

.profile-link-copy {
    display: inline-flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.05;
}

.profile-link-copy small {
    color: #0D9488;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.015em;
    white-space: nowrap;
}

.profile-avatar-lg {
    font-size: 2rem;
    height: 7rem;
    margin-bottom: 1.5rem;
    width: 7rem;
}

.profile-summary-card {
    background:
        radial-gradient(circle at 0% 0%, rgb(79 70 229 / 0.08), transparent 34%),
        radial-gradient(circle at 100% 12%, rgb(13 148 136 / 0.08), transparent 30%),
        #FFFFFF;
}

.profile-summary-head {
    align-items: center;
    display: flex;
    gap: 1.25rem;
}

.profile-summary-head .profile-avatar-lg {
    box-shadow: 0 20px 42px rgb(30 41 59 / 0.12);
    height: 6.25rem;
    margin-bottom: 0;
    width: 6.25rem;
}

.profile-meta-pill {
    background: rgb(248 250 252 / 0.88);
    border: 1px solid rgb(30 41 59 / 0.08);
    border-radius: 999px;
    color: rgb(30 41 59 / 0.68);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    max-width: 100%;
    overflow: hidden;
    padding: 0.55rem 0.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.phone-link {
    align-items: center;
    background: linear-gradient(135deg, rgb(13 148 136 / 0.1) 0%, rgb(79 70 229 / 0.1) 100%);
    border: 1px solid rgb(13 148 136 / 0.18);
    border-radius: 999px;
    color: #0D9488;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 900;
    gap: 0.5rem;
    padding: 0.65rem 0.9rem;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.phone-link:hover {
    border-color: rgb(13 148 136 / 0.42);
    box-shadow: 0 12px 28px rgb(13 148 136 / 0.12);
    transform: translateY(-0.08rem);
}

.message-conversation-card {
    align-items: center;
    background: #FFFFFF;
    border: 1px solid rgb(30 41 59 / 0.1);
    border-radius: 1.25rem;
    color: inherit;
    display: flex;
    gap: 0.85rem;
    padding: 1rem;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.message-conversation-card:hover,
.message-conversation-active {
    border-color: rgb(79 70 229 / 0.34);
    box-shadow: 0 16px 36px rgb(30 41 59 / 0.08);
    transform: translateY(-0.08rem);
}

.message-bubble {
    background: #F8FAFC;
    border: 1px solid rgb(30 41 59 / 0.08);
    border-radius: 1.25rem 1.25rem 1.25rem 0.25rem;
    max-width: 82%;
    padding: 1rem;
}

.message-bubble-own {
    background: linear-gradient(135deg, rgb(79 70 229 / 0.1) 0%, rgb(13 148 136 / 0.1) 100%);
    border-color: rgb(13 148 136 / 0.18);
    border-radius: 1.25rem 1.25rem 0.25rem 1.25rem;
    margin-left: auto;
}

.message-bubble p {
    color: #0D9488;
    font-weight: 700;
    line-height: 1.7;
}

.message-bubble span {
    color: #64748B;
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    margin-top: 0.5rem;
}

.application-card,
.notification-card {
    background: #FFFFFF;
    border: 1px solid rgb(30 41 59 / 0.1);
    border-radius: 1.35rem;
    box-shadow: 0 18px 42px rgb(30 41 59 / 0.05);
    display: block;
    padding: 1.1rem;
    text-decoration: none;
}

.notification-card {
    align-items: flex-start;
    color: inherit;
    display: flex;
    gap: 0.9rem;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.notification-card:hover {
    border-color: rgb(79 70 229 / 0.28);
    box-shadow: 0 24px 58px rgb(30 41 59 / 0.09);
    transform: translateY(-0.12rem);
}

.notification-dot {
    background: linear-gradient(135deg, #4F46E5 0%, #0D9488 100%);
    border-radius: 999px;
    flex: 0 0 auto;
    height: 0.7rem;
    margin-top: 0.45rem;
    width: 0.7rem;
}

@media (max-width: 639px) {
    .profile-summary-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

.profile-avatar-card {
    flex: 0 0 auto;
    font-size: 1.1rem;
    height: 4.25rem;
    width: 4.25rem;
    box-shadow: 0 16px 32px rgb(30 41 59 / 0.12);
}

.rating-badge {
    display: inline-flex;
    line-height: 1;
    position: relative;
}

.rating-badge::after {
    background: linear-gradient(135deg, #0D9488 0%, #4F46E5 100%);
    border-radius: 999px;
    bottom: -2rem;
    color: #fff;
    content: attr(data-tooltip);
    font-size: 0.75rem;
    font-weight: 800;
    opacity: 0;
    padding: 0.4rem 0.7rem;
    pointer-events: none;
    position: absolute;
    right: 0;
    transform: translateY(-0.25rem);
    transition: opacity 160ms ease, transform 160ms ease;
    white-space: nowrap;
    z-index: 20;
}

.rating-badge:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.rating-stars {
    color: #CBD5E1;
    display: inline-block;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    position: relative;
}

.rating-badge-sm .rating-stars {
    font-size: 0.9rem;
}

.rating-stars-fill {
    color: #F59E0B;
    inset: 0 auto 0 0;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
}

.rating-stars-empty {
    color: #CBD5E1;
}

.star-rating-input {
    direction: rtl;
    display: inline-flex;
    gap: 0.2rem;
}

.star-rating-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.star-rating-input label {
    color: #CBD5E1;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    transition: color 160ms ease, transform 160ms ease;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
    color: #F59E0B;
}

.star-rating-input label:hover {
    transform: translateY(-0.125rem);
}

.profile-stat {
    background: #F8FAFC;
    border-radius: 1rem;
    padding: 1rem;
}

.profile-stat dt {
    color: #0D9488;
    font-weight: 700;
}

.profile-stat dd {
    color: #0D9488;
    font-weight: 800;
    margin-top: 0.25rem;
}

.review-card {
    border: 1px solid rgb(30 41 59 / 0.12);
    border-radius: 1.25rem;
    padding: 1.25rem;
}

.reviews-toggle {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    text-align: left;
    width: 100%;
}

.reviews-toggle-icon {
    align-items: center;
    background: linear-gradient(135deg, rgb(79 70 229 / 0.12) 0%, rgb(13 148 136 / 0.12) 100%);
    border-radius: 999px;
    color: #4F46E5;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1.3rem;
    font-weight: 900;
    height: 2.5rem;
    justify-content: center;
    transition: transform 180ms ease;
    width: 2.5rem;
}

.reviews-toggle-open .reviews-toggle-icon {
    transform: rotate(180deg);
}

.listing-card {
    background: #FFFFFF;
    border: 1px solid rgb(30 41 59 / 0.12);
    border-radius: 1.75rem;
    box-shadow: 0 22px 60px rgb(30 41 59 / 0.06);
    color: inherit;
    display: block;
    padding: 1.5rem;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.listing-card:hover {
    border-color: rgb(79 70 229 / 0.28);
    box-shadow: 0 28px 70px rgb(30 41 59 / 0.1);
    transform: translateY(-0.2rem);
}

.listing-preview-card {
    display: block;
}

.listing-preview-card > summary {
    cursor: pointer;
    list-style: none;
}

.listing-preview-card > summary::-webkit-details-marker {
    display: none;
}

.listing-preview-summary {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
}

.listing-preview-meta {
    align-items: flex-end;
    color: #64748B;
    display: inline-flex;
    flex-direction: column;
    flex-shrink: 0;
    font-size: 0.9rem;
    font-weight: 800;
    gap: 0.75rem;
}

.listing-preview-icon {
    align-items: center;
    background: linear-gradient(135deg, rgb(79 70 229 / 0.12) 0%, rgb(13 148 136 / 0.12) 100%);
    border-radius: 999px;
    color: #4F46E5;
    display: inline-flex;
    font-size: 1.3rem;
    height: 2.5rem;
    justify-content: center;
    transition: transform 180ms ease;
    width: 2.5rem;
}

.listing-preview-card[open] .listing-preview-icon {
    transform: rotate(180deg);
}

.listing-edit-panel {
    width: 100%;
}

.listing-edit-panel summary {
    cursor: pointer;
    list-style: none;
}

.listing-edit-panel summary::-webkit-details-marker {
    display: none;
}

.listing-edit-panel[open] {
    background: #F8FAFC;
    border: 1px solid rgb(30 41 59 / 0.1);
    border-radius: 1.5rem;
    padding: 1rem;
}

@media (min-width: 640px) {
    .listing-edit-panel {
        max-width: 14rem;
    }

    .listing-edit-panel[open] {
        max-width: none;
    }
}

@media (max-width: 639px) {
    .listing-preview-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .listing-preview-meta {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
}

.filter-panel {
    background: #FFFFFF;
    border: 1px solid rgb(30 41 59 / 0.12);
    border-radius: 1.5rem;
    box-shadow: 0 20px 55px rgb(30 41 59 / 0.06);
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
}

.filter-panel-compact {
    align-items: end;
    background: rgb(255 255 255 / 0.72);
    border-color: rgb(30 41 59 / 0.08);
    border-radius: 1.25rem;
    box-shadow: 0 12px 30px rgb(30 41 59 / 0.04);
    gap: 0.75rem;
    grid-template-columns: 0.9fr minmax(14rem, 1.35fr) 0.9fr auto auto;
    padding: 0.75rem;
}

.filter-panel-compact .form-label {
    font-size: 0.68rem;
    margin-bottom: 0.3rem;
}

.filter-panel-compact .form-input {
    border-color: rgb(30 41 59 / 0.1);
    border-radius: 1rem;
    box-shadow: none;
    min-height: 2.8rem;
    padding: 0.7rem 0.9rem;
}

.filter-field-keyword {
    min-width: 0;
}

.filter-panel-listings {
    grid-template-columns: 1fr 1fr auto;
}

.filter-check {
    align-items: center;
    background: rgb(248 250 252 / 0.8);
    border: 1px solid rgb(30 41 59 / 0.08);
    border-radius: 999px;
    color: rgb(30 41 59 / 0.75);
    display: flex;
    font-size: 0.85rem;
    font-weight: 700;
    gap: 0.55rem;
    min-height: 2.8rem;
    padding: 0 0.95rem;
    white-space: nowrap;
}

.filter-submit {
    align-items: center;
    background: linear-gradient(135deg, #4F46E5 0%, #0D9488 100%);
    border-radius: 999px;
    color: #FFFFFF;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 800;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0 1.25rem;
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    white-space: nowrap;
}

.filter-submit:hover {
    background: linear-gradient(135deg, #4338CA 0%, #0D9488 100%);
    box-shadow: 0 12px 28px rgb(79 70 229 / 0.22);
    transform: translateY(-0.08rem);
}

.caregiver-card {
    background: #FFFFFF;
    border: 1px solid rgb(30 41 59 / 0.16);
    border-radius: 2rem;
    box-shadow: 0 28px 70px rgb(30 41 59 / 0.09);
    cursor: pointer;
    padding: 1.65rem;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.caregiver-card:focus-visible {
    border-color: rgb(79 70 229 / 0.5);
    box-shadow: 0 0 0 4px rgb(79 70 229 / 0.16), 0 34px 80px rgb(30 41 59 / 0.14);
    outline: none;
}

.caregiver-card:hover {
    border-color: rgb(79 70 229 / 0.5);
    box-shadow: 0 34px 80px rgb(30 41 59 / 0.14);
    transform: translateY(-0.35rem);
}

@media (max-width: 1023px) {
    .filter-panel-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-field-keyword {
        grid-column: span 2;
    }
}

@media (max-width: 639px) {
    .filter-panel-compact {
        grid-template-columns: 1fr;
    }

    .filter-field-keyword {
        grid-column: auto;
    }

    .filter-submit,
    .filter-check {
        justify-content: center;
        width: 100%;
    }
}
