:root {
    --primary: #F43F5E;
    --primary-soft: #FFE4E6;
    --text-dark: #191F28;
    /* Toss Style Dark */
    --text-gray: #4E5968;
    /* Toss Style Gray */
    --text-light: #8B95A1;
    --bg-body: #F2F4F6;
    --bg-card: #FFFFFF;

    --risk-crit-bg: #FEF2F2;
    --risk-crit-text: #DC2626;
    --risk-warn-bg: #FFF7ED;
    --risk-warn-text: #EA580C;

    --card-radius: 24px;
    /* More rounded */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    background: #E5E7EB;
    color: var(--text-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    letter-spacing: -0.02em;
    /* Keep it tight like Toss */
}

#app-frame {
    width: 100%;
    max-width: 440px;
    height: 100%;
    background: #FAFAFA;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.15);
}

@media (min-width: 480px) {
    #app-frame {
        height: 92vh;
        border-radius: 36px;
        border: 8px solid #F2F4F6;
        overflow: hidden;
    }
}

.nav-header {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    z-index: 100;
    position: absolute;
    top: 0;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.nav-title {
    font-weight: 700;
    font-size: 17px;
    opacity: 0;
    transition: 0.3s;
    color: var(--text-dark);
}

.icon-btn {
    border: none;
    background: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
}

.icon-btn:active {
    background: rgba(0, 0, 0, 0.05);
}

.scroll-container {
    flex: 1;
    overflow-y: auto;
    scroll-behavior: smooth;
    padding-top: 60px;
}

/* Hero Section - Big & Bold */
.hotel-hero {
    position: relative;
    padding: 24px 28px 36px;
    background: #fff;
    border-radius: 0 0 36px 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    margin-bottom: 28px;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(40px);
    opacity: 0.2;
    z-index: 0;
    transform: scale(1.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-top: 10px;
}

.h-chip {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #F43F5E;
    background: rgba(244, 63, 94, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.h-name {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 14px;
    line-height: 1.3;
    color: #191F28;
    word-break: keep-all;
}

/* Address & Badges - More Readable */
.h-address-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #4E5968;
    font-size: 15px;
    margin-bottom: 12px;
}

.h-addr {
    max-width: 85%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 500;
}

.h-badges-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.loc-badge {
    font-size: 13px;
    background: #f2f4f6;
    color: #4E5968;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 600;
}

.h-stats-row {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    background: rgba(255, 255, 255, 0.7);
    padding: 14px 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(8px);
}

.h-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.h-stat i {
    font-size: 20px;
    color: #F43F5E;
    margin-bottom: 4px;
}

.h-stat .val {
    font-size: 17px;
    font-weight: 800;
    color: #191F28;
}

.h-stat .lbl {
    font-size: 12px;
    color: #8B95A1;
    font-weight: 500;
}

.divider {
    width: 1px;
    height: 24px;
    background: #ddd;
}


.container {
    padding: 0 24px;
    padding-bottom: 100px;
}

/* Score Card - Large Font */
.score-card-modern,
.dist-card {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 28px;
}

.sc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.sc-title {
    font-size: 14px;
    font-weight: 800;
    color: #8B95A1;
    letter-spacing: 0.5px;
}

.sc-badge {
    background: #191F28;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 8px;
}

.sc-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.score-circle {
    position: relative;
    width: 140px;
    height: 140px;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
}

.circle-bg {
    fill: none;
    stroke: #f0f0f0;
    stroke-width: 2.5;
}

.circle {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease-out;
}

.score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.main-score {
    font-size: 42px;
    font-weight: 800;
    color: #191F28;
    display: block;
    line-height: 1;
    letter-spacing: -1px;
}

.sub-score {
    font-size: 14px;
    color: #8B95A1;
    font-weight: 600;
    margin-top: 4px;
    display: block;
}

/* Verdict Box */
.score-desc-box {
    text-align: left;
    background: #F9FAFB;
    border: 1px solid #F2F4F6;
    padding: 24px;
    border-radius: 20px;
    width: 100%;
    position: relative;
}

.quote-icon {
    font-size: 28px;
    color: #F43F5E;
    opacity: 0.2;
    margin-right: 6px;
    vertical-align: top;
}

.ai-verdict-text {
    font-size: 17px;
    line-height: 1.65;
    color: #333d4b;
    font-weight: 500;
    word-break: keep-all;
}

.ai-verdict-text strong {
    color: #F43F5E;
    font-weight: 800;
    background: transparent;
    border-bottom: 2px solid rgba(244, 63, 94, 0.2);
}

/* Dist Chart - Cleaner */
.dist-card h3 {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 700;
    color: #191F28;
}

.dist-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.dist-label {
    width: 32px;
    font-size: 14px;
    font-weight: 600;
    color: #4E5968;
    display: flex;
    align-items: center;
    gap: 3px;
}

.dist-label i {
    color: #FBBF24;
    font-size: 12px;
}

.dist-bar-bg {
    flex: 1;
    height: 8px;
    background: #f2f4f6;
    border-radius: 4px;
    overflow: hidden;
}

.dist-bar-fill {
    height: 100%;
    border-radius: 4px;
}

.fill-5 {
    background: #10B981;
}

.fill-4 {
    background: #34D399;
}

.fill-3 {
    background: #FBBF24;
}

.fill-2 {
    background: #F97316;
}

.fill-1 {
    background: #EF4444;
}

.dist-val {
    width: 32px;
    text-align: right;
    font-size: 13px;
    color: #8B95A1;
    font-weight: 500;
}

/* Risk Grid - Larger Icons */
.risk-section {
    margin-bottom: 34px;
}

.sec-head {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.sec-head h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    color: #191F28;
}

.sec-sub {
    font-size: 13px;
    color: #8B95A1;
    font-weight: 500;
}

.risk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.r-item {
    background: #fff;
    border-radius: 18px;
    padding: 20px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    min-height: 110px;
    border: 1px solid transparent;
    transition: 0.2s;
}

.r-item:active {
    transform: scale(0.96);
}

.r-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: #f2f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ccc;
}

.r-name {
    font-size: 13px;
    font-weight: 600;
    color: #8B95A1;
    text-align: center;
    margin-top: 2px;
}

.r-item.warn {
    background: #FFF7ED;
    border-color: #FED7AA;
}

.r-item.warn .r-icon {
    background: #FED7AA;
    color: #EA580C;
}

.r-item.warn .r-name {
    color: #C2410C;
}

.r-item.crit {
    background: #FEF2F2;
    border-color: #FECACA;
}

.r-item.crit .r-icon {
    background: #FECACA;
    color: #DC2626;
}

.r-item.crit .r-name {
    color: #B91C1C;
}

/* Risk Detail Cards - Max Readability */
.risk-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
    transition: transform 0.3s;
}

.rc-header {
    padding: 26px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
}

.rc-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.rc-icon-box.crit {
    background: #FEF2F2;
    color: #DC2626;
}

.rc-icon-box.warn {
    background: #FFF7ED;
    color: #EA580C;
}

.rc-info {
    flex: 1;
}

.rc-info h4 {
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 5px;
    color: #191F28;
}

.rc-info p {
    font-size: 15px;
    color: #4E5968;
    margin: 0;
    line-height: 1.45;
    word-break: keep-all;
}

/* Big description */

.rc-stat {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.rc-pct {
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.rc-badges-box {
    display: flex;
    gap: 5px;
}

.cnt-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 8px;
    border-radius: 8px;
}

.cnt-badge.c {
    background: #FEE2E2;
    color: #B91C1C;
}

.cnt-badge.w {
    background: #FFEDD5;
    color: #C2410C;
}

.btn-show-group {
    background: #F9FAFB;
    border: none;
    border-top: 1px solid #f2f4f6;
    width: 100%;
    padding: 18px;
    font-weight: 600;
    color: #6B7280;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #F9FAFB;
}

.acc-content.open {
    max-height: 2000px;
    padding-bottom: 24px;
}

/* Simple Review Card - Readable Content */
.simple-review {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin: 0 20px 14px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
    font-size: 15px;
    line-height: 1.6;
    color: #333d4b;
    /* Comfortable reading */
    position: relative;
    overflow: hidden;
}

.simple-review.crit {
    border-left: 5px solid #F43F5E;
}

.simple-review.warn {
    border-left: 5px solid #F97316;
}

.sr-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 12px;
    color: #8B95A1;
}

.sr-badge {
    font-weight: 800;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
}

.sr-badge.c {
    background: #FEF2F2;
    color: #DC2626;
}

.sr-badge.w {
    background: #FFF7ED;
    color: #EA580C;
}

.sr-text {
    margin-bottom: 14px;
    word-break: break-all;
}

.sr-text strong {
    color: #F43F5E;
    background: rgba(244, 63, 94, 0.08);
    padding: 0 2px;
    border-radius: 2px;
}

.btn-detail-view {
    display: block;
    width: 100%;
    text-align: center;
    background: #F3F4F6;
    color: #4E5968;
    font-weight: 700;
    font-size: 13px;
    padding: 14px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-detail-view:active {
    background: #E5E7EB;
}

.btn-load-more {
    display: block;
    margin: 12px auto 0;
    padding: 12px 24px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 24px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    font-weight: 600;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    backdrop-filter: blur(2px);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 440px;
    background: #fff;
    border-radius: 28px 28px 0 0;
    z-index: 210;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
}

@media (min-width: 480px) {
    .bottom-sheet {
        bottom: 3vh;
        border-radius: 28px;
        width: 92%;
    }
}

.bottom-sheet.open {
    transform: translateY(0);
}

.sheet-header {
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sheet-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #191F28;
}

.sheet-content {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.m-meta {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.m-user .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #F3F4F6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #888;
    margin-right: 14px;
}

.m-name {
    font-weight: 700;
    font-size: 16px;
    display: block;
    color: #191F28;
    margin-bottom: 2px;
}

.m-date {
    font-size: 13px;
    color: #8B95A1;
}

.m-photos-label {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #4E5968;
}

.m-photos {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 14px;
    margin-bottom: 24px;
    scroll-snap-type: x mandatory;
}

.m-img-wrap {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 14px;
    overflow: hidden;
    scroll-snap-align: start;
    cursor: pointer;
    border: 1px solid #eee;
}

.m-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-section {
    margin-bottom: 28px;
}

.m-label {
    font-size: 13px;
    font-weight: 700;
    color: #F43F5E;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.m-trans {
    font-size: 16px;
    line-height: 1.65;
    color: #191F28;
    background: #FFF1F2;
    padding: 16px;
    border-radius: 16px;
    font-weight: 500;
}

.m-orig {
    font-size: 14px;
    line-height: 1.6;
    color: #6B7280;
    background: #F9FAFB;
    padding: 16px;
    border-radius: 16px;
}

.loading-screen {
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-brand {
    width: 36px;
    height: 36px;
    border: 4px solid #f3f4f6;
    border-top-color: #F43F5E;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* --- LIST PAGE STYLES --- */

.list-search-bar-wrap {
    padding: 20px 24px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.search-box.small {
    height: 52px;
    border-radius: 16px;
    background: #F2F4F6;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.search-box.small input {
    background: transparent;
    height: 100%;
    border: none;
    font-size: 16px;
    width: 100%;
    outline: none;
    color: #191F28;
}

.section-title {
    font-size: 16px;
    color: #4E5968;
    margin-bottom: 16px;
    font-weight: 700;
}

.highlight-count {
    color: #F43F5E;
    font-weight: 800;
}

/* Hotel List Grid */
.hotel-list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.hotel-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.hotel-card:active {
    transform: scale(0.98);
}

/* List Image Handling */
.hc-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #eee;
}

/* No image area when missing */

.hc-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hc-info h4 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: #191F28;
    line-height: 1.35;
}

.hc-addr-row {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 16px;
    font-weight: 500;
}

/* Meta Badges */
.hc-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mk-badge {
    font-size: 13px;
    color: #4E5968;
    background: #F9FAFB;
    border: 1px solid #f2f4f6;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mk-badge i {
    color: #999;
    font-size: 14px;
}


/* Request Section (Accordion) */
.request-box {
    margin-top: 30px;
}

.req-toggle-btn {
    width: 100%;
    padding: 20px 24px;
    background: #fff;
    border: none;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.top-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.req-icon {
    font-size: 24px;
    color: #ccc;
}

.req-label h3 {
    margin: 0;
    font-size: 16px;
    color: #191F28;
    font-weight: 700;
}

.req-label p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #8B95A1;
}

.arrow-icon {
    color: #ccc;
    transition: 0.3s;
    font-size: 18px;
}

.req-toggle-btn.active .arrow-icon {
    transform: rotate(180deg);
}

.req-content-box {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #fff;
    border-radius: 0 0 20px 20px;
    margin-top: -12px;
    padding: 0 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.req-content-box.open {
    max-height: 800px;
    padding: 28px 24px;
    margin-top: 4px;
    border-radius: 20px;
}

.req-form .inp-group {
    margin-bottom: 20px;
}

.req-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #4E5968;
    margin-bottom: 8px;
}

.req-form .req {
    color: #F43F5E;
}

.req-form input[type="text"],
.req-form input[type="tel"] {
    width: 100%;
    height: 56px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 0 18px;
    font-size: 16px;
    outline: none;
    transition: 0.2s;
    background: #F9FAFB;
}

.req-form input:focus {
    border-color: #F43F5E;
    background: #fff;
}

.chk-group {
    margin-bottom: 28px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.chk-group input {
    margin-top: 4px;
    accent-color: #F43F5E;
    transform: scale(1.2);
}

.chk-group label {
    font-size: 14px;
    line-height: 1.5;
    color: #4E5968;
    cursor: pointer;
}

.chk-desc {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.btn-submit-req {
    width: 100%;
    height: 58px;
    background: #191F28;
    color: #fff;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.2s;
}

.btn-submit-req:active {
    transform: scale(0.98);
    background: #333;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    z-index: 999;
    opacity: 0;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Autocomplete Dropdown */
#autocompleteList {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 20px;
    margin-top: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    z-index: 50;
    max-height: 280px;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.2s;
}

#autocompleteList.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.ac-item {
    padding: 18px 24px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: #333;
    transition: 0.1s;
}

.ac-item:last-child {
    border-bottom: none;
}

.ac-item:hover {
    background: #F9FAFB;
    color: #F43F5E;
}

.ac-score {
    font-size: 12px;
    font-weight: 700;
    color: #F43F5E;
    background: #FFF1F2;
    padding: 4px 8px;
    border-radius: 6px;
}

/* Divider for Request */
.req-divider {
    display: flex;
    align-items: center;
    margin: 40px 0 20px;
}

.req-divider span {
    font-size: 14px;
    color: #999;
    font-weight: 500;
    margin: 0 12px;
    flex-shrink: 0;
}

.req-line {
    height: 1px;
    flex: 1;
    background: #eee;
}

/* Index Page Specific */
.index-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 0 30px;
    text-align: center;
}

.logo-area {
    margin-bottom: 50px;
}

.logo-area h1 {
    font-family: 'Pretendard';
    font-size: 48px;
    font-weight: 900;
    color: #191F28;
    margin: 0;
    letter-spacing: -1.5px;
}

.logo-area p {
    font-size: 16px;
    color: #6B7280;
    margin-top: 12px;
    font-weight: 500;
}

.search-wrapper {
    width: 100%;
    max-width: 360px;
    position: relative;
}

.search-box-main {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.08);
    padding: 10px;
    display: flex;
    align-items: center;
    border: 2px solid transparent;
    transition: 0.3s;
    position: relative;
    z-index: 10;
}

.search-box-main:focus-within {
    border-color: #F43F5E;
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(244, 63, 94, 0.2);
}

.search-inp {
    flex: 1;
    border: none;
    height: 56px;
    font-size: 18px;
    padding: 0 20px;
    outline: none;
    background: transparent;
    color: #191F28;
}

.search-btn {
    background: #F43F5E;
    color: #fff;
    border: none;
    padding: 0 28px;
    height: 56px;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
    width: 100%;
}

.search-btn:active {
    transform: scale(0.96);
    background: #E11D48;
}

.ac-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 20px;
    margin-top: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    z-index: 50;
    text-align: left;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.2s;
}

.ac-list.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}