/* =================================================
   footer.css - Supplemental footer & utility styles
   Main footer styles now live in style.css
   ================================================= */

/* Recent Sites in footer (legacy) */
.recent-site-item {
    margin-bottom: 0.5rem;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.recent-site-item:hover {
    transform: translateX(4px);
}

.site-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.55);
    gap: 0.5rem;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.site-link:hover {
    color: #a5b4fc;
}

.site-domain {
    flex: 1;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-score {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.site-score.high {
    background: rgb(34 197 94 / 0.2);
    color: #4ade80;
}

.site-score.medium {
    background: rgb(245 158 11 / 0.2);
    color: #fbbf24;
}

.site-score.low {
    background: rgb(239 68 68 / 0.2);
    color: #f87171;
}

/* Recent reviews */
.recent-review-item {
    margin-bottom: 0.875rem;
}

.review-link {
    display: block;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.review-link:hover {
    color: #a5b4fc;
}

.review-domain {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.2rem;
}

.review-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* Mobile responsive footer adjustments */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr !important;
    }

    .footer-logo {
        grid-column: auto !important;
        text-align: center;
    }

    .footer-logo p {
        max-width: 100%;
        margin: 0 auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links {
        grid-column: auto !important;
        grid-template-columns: 1fr 1fr;
    }

    .link-section {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr !important;
    }
}