/**
 * Hitz360 Top 100 Songs Shortcode Styles
 * Clean, simple design matching elementor widget
 */

.top100-widget {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

.top100-header {
    text-align: center;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 20px;
}

.top100-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 105%;
    height: 12px;
    background-image: repeating-linear-gradient(
        45deg,
        #333 0px,
        #333 1.5px,
        transparent 1.5px,
        transparent 4px
    );
    opacity: 0.7;
    mask-image: radial-gradient(ellipse 100% 100% at center, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at center, black 60%, transparent 100%);
}

.top100-date {
    text-align: center;
    font-size: 15px;
    margin-bottom: 40px;
}

.week-selector {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.week-selector label {
    font-size: 15px;
    font-weight: 600;
    margin-right: 10px;
}

.week-selector input[type="date"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Segoe UI', sans-serif;
    cursor: pointer;
}

.week-selector input[type="date"]:hover {
    border-color: #999;
}

.song-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f5f7fc;
    margin-bottom: 15px;
    border-radius: 12px;
    transition: 0.2s;
    cursor: pointer;
}

.song-card:hover {
    transform: scale(1.01);
}

.song-rank {
    font-size: 32px;
    font-weight: 800;
    width: 55px;
    text-align: center;
    flex-shrink: 0;
}

.song-trend {
    font-size: 18px;
    font-weight: 900;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.song-trend .position-change {
    font-size: 10px;
    font-weight: 700;
    margin-top: 2px;
}

.trend-up {
    color: #22c55e;
}

.trend-down {
    color: #ef4444;
}

.trend-same {
    color: #94a3b8;
}

.trend-new {
    color: #fbbf24;
}

.song-cover {
    flex-shrink: 0;
}

.song-cover img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 20px;
}

.song-info {
    flex: 1;
    min-width: 0;
}

.song-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.song-views-count {
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, #ff6b35, #f7931e, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.views-30-days {
    font-size: 12px;
    font-weight: 500;
    color: #667eea !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    margin-left: 5px;
    display: inline-block;
}

.song-artist {
    font-size: 15px;
    color: #444;
}

.no-songs {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-songs-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.no-songs-text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.no-songs-subtext {
    font-size: 14px;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top100-widget {
        padding: 0 15px;
    }

    .top100-header {
        font-size: 32px;
        padding-bottom: 15px;
    }

    .top100-header::after {
        height: 10px;
    }

    .top100-date {
        font-size: 14px;
    }

    .week-selector {
        padding: 15px;
    }

    .week-selector label {
        display: block;
        margin-bottom: 8px;
    }

    .week-selector input[type="date"] {
        width: 100%;
        margin: 5px 0;
    }

    .song-card {
        padding: 15px;
    }

    .song-rank {
        font-size: 24px;
        width: 45px;
    }

    .song-trend {
        font-size: 14px;
        width: 30px;
    }

    .song-trend .position-change {
        font-size: 8px;
    }

    .song-cover img {
        width: 80px;
        height: 80px;
        margin-right: 15px;
    }

    .song-title {
        font-size: 16px;
    }

    .song-views-count {
        font-size: 12px;
    }

    .views-30-days {
        font-size: 10px;
        display: block;
        margin-left: 0;
        margin-top: 2px;
    }

    .song-artist {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .top100-header {
        font-size: 28px;
        padding-bottom: 12px;
    }

    .top100-header::after {
        height: 8px;
    }

    .song-rank {
        font-size: 20px;
        width: 35px;
    }

    .song-cover img {
        width: 60px;
        height: 60px;
        margin-right: 12px;
    }

    .song-title {
        font-size: 15px;
    }

    .song-artist {
        font-size: 13px;
    }
}
