/**
 * Stiluri pentru pagina station.php - Post Radio
 * Conține stiluri pentru: rating, share buttons, vizualizări, etc.
 * 
 * @author Radio.com.ro
 * @version 1.0
 */

/* ============================================
   STILURI LINK CATEGORIE
   ============================================ */
.category-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
    pointer-events: auto;
    width: fit-content;
}

.category-link:hover {
    color: var(--primary) !important;
}

/* ============================================
   STILURI AFIȘARE RATING CU STELE
   ============================================ */
.station-rating-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.station-rating-display .stars-row {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.station-rating-display .stars-row:hover {
    transform: scale(1.05);
}

.station-rating-display .star {
    font-size: 1.4rem;
    color: #ddd;
    transition: color 0.2s;
}

.station-rating-display .star.filled {
    color: var(--bs-danger, #dc3545);
}

.station-rating-display .star.half {
    position: relative;
}

.station-rating-display .star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: var(--bs-danger, #dc3545);
}

.station-rating-display .rating-value {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--bs-danger, #dc3545);
    margin-left: 8px;
}

.station-rating-display .rating-info {
    font-size: 0.75rem;
    color: #888;
    margin-top: -2px;
}

.station-rating-display .rating-info a {
    color: var(--bs-danger, #dc3545);
    text-decoration: none;
    font-weight: 500;
}

.station-rating-display .rating-info a:hover {
    text-decoration: underline;
}

/* ============================================
   VIZUALIZĂRI
   ============================================ */
.station-views {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #666;
}

.station-views i {
    color: var(--bs-danger, #dc3545);
}

/* ============================================
   BUTOANE SHARE REȚELE SOCIALE
   ============================================ */
.social-share-section {
    margin-top: 12px;
}

.social-share-section .share-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
    display: block;
}

.social-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.social-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bs-gray-200, #e9ecef);
    color: var(--bs-gray-600, #6c757d);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    font-size: 1.1rem;
}

.social-share-btn:hover {
    background: var(--bs-danger, #dc3545);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.social-share-btn:active {
    transform: translateY(0);
}

.social-share-btn.copied {
    background: var(--bs-success, #198754);
    color: #fff;
}

/* ============================================
   SUPORT TEMĂ ÎNTUNECATĂ (DARK MODE)
   ============================================ */
[data-theme="dark"] .station-rating-display .star {
    color: #444;
}

[data-theme="dark"] .station-rating-display .rating-info,
[data-theme="dark"] .station-views {
    color: #aaa;
}

[data-theme="dark"] .social-share-section .share-label {
    color: #aaa;
}

[data-theme="dark"] .social-share-btn {
    background: var(--bs-gray-700, #495057);
    color: var(--bs-gray-300, #dee2e6);
}

[data-theme="dark"] .social-share-btn:hover {
    background: var(--bs-danger, #dc3545);
    color: #fff;
}
