/**
 * admin.css - Karaoke Studio Manager Stylesheet
 */

:root {
    --bg-dark: #070913;
    --bg-card: rgba(18, 24, 38, 0.9);
    --border-color: rgba(99, 102, 241, 0.25);
    --primary: #6366f1;
    --neon-blue: #38bdf8;
    --neon-pink: #ec4899;
    --neon-emerald: #10b981;
    --neon-gold: #fbbf24;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    min-height: 100vh;
    padding: 24px 16px 60px;
    line-height: 1.5;
    background: radial-gradient(circle at 50% 10%, #171c38 0%, #070913 70%);
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

/* Header */
.studio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.header-title-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.studio-logo-icon {
    font-size: 2rem;
    background: rgba(99, 102, 241, 0.15);
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.studio-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.studio-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* Buttons */
.btn-studio {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-studio:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-pink), var(--primary));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
    transform: translateY(-1px);
}

.btn-emerald {
    background: linear-gradient(135deg, var(--neon-emerald), #06b6d4);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

/* Forms & Cards */
.studio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-input, .form-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

/* Drop Zone */
.drop-zone {
    border: 2px dashed rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.05);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--neon-blue);
    background: rgba(56, 189, 248, 0.1);
}

.drop-zone-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.drop-zone-text {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
}

.drop-zone-sub {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 4px;
}

/* Track List */
.tracks-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.track-item-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    transition: all 0.2s;
}

.track-item-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-color);
}

.track-info {
    flex: 1;
    min-width: 200px;
}

.track-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.track-album {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.track-lyrics-preview {
    font-size: 0.76rem;
    color: var(--text-dim);
    margin-top: 6px;
    white-space: pre-line;
    max-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.track-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Preview Audio Player */
.preview-audio-player {
    width: 100%;
    margin-top: 10px;
    height: 36px;
}
