/* GMP Artists Desktop Legacy UI */
.artist-legacy-ui {
    font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text);
    font-size: 14px;
    background-color: var(--bg);
    padding: 15px;
}
.artist-legacy-ui a {
    color: #3c8dbc;
    text-decoration: none;
}
.artist-legacy-ui a:hover {
    text-decoration: underline;
}

/* Nav Tabs Custom */
.nav-tabs-custom {
    margin-bottom: 20px;
    background: var(--surface);
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    border-radius: 3px;
}
.nav-tabs-custom > .nav-tabs {
    margin: 0;
    border-bottom-color: var(--border);
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    border-bottom: 1px solid var(--border);
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}
.nav-tabs-custom > .nav-tabs > li {
    border-top: 3px solid transparent;
    margin-bottom: -1px;
    display: block;
}
.nav-tabs-custom > .nav-tabs > li.active {
    border-top-color: #3c8dbc;
}
.nav-tabs-custom > .nav-tabs > li > a {
    color: var(--text);
    border-radius: 0;
    padding: 10px 15px;
    display: block;
    border: none;
    border-bottom-color: transparent;
}
.nav-tabs-custom > .nav-tabs > li.active > a {
    background-color: var(--surface);
    color: var(--text);
    border-right: 1px solid var(--border);
    border-left: 1px solid var(--border);
}
.nav-tabs-custom > .nav-tabs > li.header {
    line-height: 35px;
    padding: 0 10px;
    font-size: 20px;
    color: var(--text);
    flex-grow: 1;
    text-align: left;
}

/* Box */
.artist-legacy-ui .box {
    position: relative;
    border-radius: 3px;
    background: var(--surface);
    border-top: 3px solid var(--border);
    margin-bottom: 20px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
.artist-legacy-ui .box.box-success {
    border-top-color: #00a65a;
}
.artist-legacy-ui .box.box-warning {
    border-top-color: #f39c12;
}
.artist-legacy-ui .box-header {
    color: var(--text);
    display: block;
    padding: 10px;
    position: relative;
}
.artist-legacy-ui .box-header.with-border {
    border-bottom: 1px solid var(--border);
}
.artist-legacy-ui .box-body {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 10px;
}

/* Top Songs Header */
.top_songs h4 {
    margin: 0;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
}
.top_songs h4 span {
    color: #00a65a;
    border-bottom: 3px solid #00a65a;
}

/* Genre Nav / Alphabet */
.genre_nav ul.tabs {
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.genre_nav ul.tabs li {
    display: inline-block;
}
.genre_nav ul.tabs li.alph.active {
    font-weight: bold;
}
.genre_nav ul.tabs li a {
    color: var(--text);
    font-size: 15px;
}

/* Artist Grid */
.row_pulldown {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}
.aa_col {
    width: 25%;
    padding: 0 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
}
@media(max-width: 768px) {
    .aa_col {
        width: 50%;
    }
}
.aa_image {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Square */
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    overflow: hidden;
}
.aa_info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 5px;
    text-align: center;
}
.aa1 {
    font-weight: bold;
    font-size: 14px;
    color: #fff;
}
.v_p_d {
    background: var(--surface);
    padding: 5px;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 4px 4px;
}
.my_pulldown {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 4px;
}
.my_pulldown1 {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
}
.btn-warning.btn-sm {
    background-color: #f39c12;
    border-color: #e08e0b;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
}

/* Single Artist Profile */
.single-artist-header {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #222;
    padding: 20px;
    color: #fff;
    margin-bottom: 20px;
}
.single-artist-header img {
    border-radius: 50%;
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 3px solid #444;
}
.media-heading {
    color: orange;
    text-transform: uppercase;
    font-size: 24px;
    margin: 0 0 5px 0;
}
.badge {
    background-color: var(--muted);
    border-radius: 10px;
    padding: 3px 7px;
    font-size: 12px;
    color: #fff;
}
.artistz-menu {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
    background: #1a1a1a;
    border-radius: 8px 8px 0 0;
    padding: 0 12px;
}
.artistz-menu ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 0;
    margin: 0;
    position: relative;
}
.artistz-menu ul li {
    position: relative;
}
.artistz-menu ul li a {
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    padding: 14px 20px;
    display: block;
    text-decoration: none;
    transition: color 0.25s;
    position: relative;
}
.artistz-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 2px;
    background: linear-gradient(90deg, #f0a500, #e95d3a);
    border-radius: 2px 2px 0 0;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.artistz-menu ul li.active a {
    color: #f0a500;
}
.artistz-menu ul li.active a::after {
    left: 0;
    right: 0;
}
:root.light-theme .artistz-menu {
    background: #ffffff;
    border-color: #ddd;
}
:root.light-theme .artistz-menu ul li a {
    color: #888;
}
:root.light-theme .artistz-menu ul li.active a {
    color: #f0a500;
}

/* Tables */
.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: var(--surface);
}
.table > tbody > tr > td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: middle;
    border-top: 1px solid var(--border);
}
.table_song_no {
    width: 30px;
    font-weight: bold;
    color: #888;
}

/* Mobile: show mobile UI, hide desktop UI */
@media (max-width: 767px) {
    .artist-legacy-desktop-only {
        display: none !important;
    }
    
    .artist-mobile-ui {
        display: block !important;
    }
}

/* Desktop: show desktop UI, hide mobile UI */
@media (min-width: 768px) {
    .artist-legacy-ui {
        display: block !important;
    }
    .artist-mobile-ui {
        display: none !important;
    }
}

