@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Google-like SERP typography */
.serp-font {
    font-family: Arial, 'Inter', sans-serif;
}

/* Custom scrollbar for horizontal carousels & JSON view */
.thin-scrollbar::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.thin-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 9999px;
}

.thin-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}

.thin-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Device simulation frames */
.serp-frame-desktop {
    max-width: 1120px;
}

.serp-frame-tablet {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    border: 8px solid #1e293b;
    border-radius: 24px;
    padding: 16px;
    background: #ffffff;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.serp-frame-mobile {
    max-width: 412px;
    margin-left: auto;
    margin-right: auto;
    border: 10px solid #0f172a;
    border-radius: 32px;
    padding: 14px;
    background: #ffffff;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* Autocomplete active item */
.loc-item-active {
    background-color: #eff6ff;
}

/* Line clamp helper */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
