/* JetKTV 2025 Desktop Web Layout */

body {
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px;
}

#status {
    width: 100%;
    max-width: 1100px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(24px);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Top Player Status Bar */
.desktop-player-bar {
    display: grid;
    grid-template-columns: 1fr auto auto auto auto;
    gap: 10px;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 12px 16px;
}

#nowPlay {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

#playTime {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #38bdf8;
    font-family: 'Outfit', monospace;
}

#playMode {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
}
#playMode img {
    height: 20px;
}

#key {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 700;
    min-width: 60px;
    text-align: center;
}

#volume {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #fbbf24;
}

/* Two Column Main Body */
.desktop-main-split {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 20px;
    min-height: 520px;
}

.desktop-col-left, .desktop-col-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.col-header {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-glass);
}

#playList, #menu {
    flex: 1;
    overflow-y: auto;
    max-height: 480px;
    padding-right: 4px;
}

/* Control Bar */
#controlArea {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-ctrl-dt {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 4px;
}
.btn-ctrl-dt:hover {
    background: var(--primary);
    border-color: transparent;
    transform: translateY(-1px);
}
.btn-ctrl-dt:active {
    transform: translateY(1px);
}

.btn-cut-dt {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}
.btn-cut-dt:hover {
    background: #ef4444;
    color: #fff;
}

/* Search Area */
.search-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}
.searchText {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-pill);
    color: #fff;
    padding: 10px 16px;
    font-size: 14px;
    outline: none;
}
.searchText:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

/* Table Cards */
#tbl_menu, #tbl_playlist {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 6px !important;
}

#tbl_menu tr:empty, #tbl_playlist tr:empty,
#tbl_menu tr:has(td.title:empty),
#tbl_playlist tr:has(td.title:empty) {
    display: none !important;
}

td.rowItem > table {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: var(--radius-sm) !important;
    padding: 8px 12px !important;
    transition: all 0.15s !important;
    cursor: pointer !important;
}
td.rowItem > table:hover {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: var(--primary) !important;
    transform: translateX(3px) !important;
}

td.singer0, td.singer1, td.singer2, td.singer {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-align: left !important;
}
td.singer0 { color: #f472b6 !important; }
td.singer1 { color: #60a5fa !important; }
td.singer2 { color: #34d399 !important; }
td.singer { color: #fbbf24 !important; }

#menu td.title, #playList td.title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-align: left !important;
}

td.number {
    font-size: 11px !important;
    font-family: 'Outfit', monospace !important;
    color: var(--text-dim) !important;
}

.btnEffect {
    background: rgba(236, 72, 153, 0.15) !important;
    border: 1px solid rgba(236, 72, 153, 0.3) !important;
    color: #fff !important;
    border-radius: var(--radius-sm) !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.15s !important;
}
.btnEffect:hover {
    background: #ec4899 !important;
}
