/* Basic font */
body {
    font-family: "Inter", sans-serif;
}

/* loader spinner */
.loader {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* heart (favorite) */
.heart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 120ms ease, background-color 120ms ease;
}

.heart-icon:hover {
    transform: scale(1.05);
    background-color: rgba(0, 0, 0, 0.03);
}

.heart-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.heart-icon.favorited svg {
    fill: #ef4444;
    color: #ef4444;
    stroke: #ef4444;
}

/* active tab style */
.tab-btn.active {
    border-color: #2563eb;
    color: #2563eb;
}

/* small responsive tweaks */
@media (max-width: 640px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}