/**
 * TVRS Frontend Styles
 *
 * Google-like chips/buttons design for related searches box.
 *
 * @package TV_Related_Searches
 * @since   1.0.0
 */

/* Container */
.tvrs-related-searches {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

/* Title */
.tvrs-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

/* Chips design (default) */
.tvrs-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tvrs-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #1a73e8;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tvrs-tag:hover {
    background: #e8f0fe;
    border-color: #1a73e8;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* List design */
.tvrs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tvrs-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.tvrs-list li:last-child {
    border-bottom: none;
}

.tvrs-list a {
    color: #1a73e8;
    text-decoration: none;
    font-size: 14px;
}

.tvrs-list a:hover {
    text-decoration: underline;
}

/* Cards design */
.tvrs-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.tvrs-card {
    display: block;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    text-align: center;
}

.tvrs-card:hover {
    border-color: #1a73e8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: #1a73e8;
}

/* Responsive */
@media (max-width: 768px) {
    .tvrs-related-searches {
        padding: 15px;
        margin: 20px 0;
    }

    .tvrs-tags {
        gap: 8px;
    }

    .tvrs-tag {
        padding: 6px 12px;
        font-size: 13px;
    }

    .tvrs-cards {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .tvrs-tag {
        padding: 5px 10px;
        font-size: 12px;
    }
}
