/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --bg-base: #0a0a0a;
    --bg-surface: #151515;
    --brand-purple: #7f39fb;
    --brand-purple-hover: #9b66fc;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --border-subtle: #2a2a2a;
}

/* GLOBAL RESET: Ensures padding doesn't break layout widths */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    background-color: var(--bg-base); 
    color: var(--text-primary); 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
    line-height: 1.6;
    padding-top: 65px;
    overflow-x: hidden; /* --- HARD LOCK: Prevents horizontal scroll --- */
}

/* IN-PAGE UPLOAD PROGRESS BAR */
#global-progress-container {
    width: 100%;
    height: 8px; /* Slightly thicker looks better in-page */
    background: rgba(10, 10, 10, 0.6);
    border-radius: 4px;
    margin-bottom: 25px; /* Adds breathing room above the toggle buttons */
    overflow: hidden; /* Keeps the glowing bar neatly inside the rounded corners */
    display: none;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.8);
}

#global-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--brand-purple);
    box-shadow: 0 0 10px var(--brand-purple); 
    transition: width 0.15s linear; 
    border-radius: 4px;
}

/* =========================================
   2. TYPOGRAPHY & LINKS
   ========================================= */
h1, h2, h3, h4 { color: var(--text-primary); margin-bottom: 15px; font-weight: 700; }
h1 { font-size: 2.2em; border-bottom: 2px solid var(--border-subtle); padding-bottom: 10px; }
h2 { font-size: 1.5em; color: var(--brand-purple); margin-top: 30px; text-transform: uppercase; }
p { margin-bottom: 20px; color: var(--text-secondary); }
a { color: var(--brand-purple); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--brand-purple-hover); }

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
.global-header { 
    width: 100%; 
    background-color: rgba(10, 10, 10, 0.85) !important; 
    -webkit-backdrop-filter: blur(15px); 
    backdrop-filter: blur(15px); 
    border-bottom: 1px solid var(--border-subtle); 
    display: flex; 
    justify-content: center; 
    position: fixed; 
    top: 0; left: 0; 
    z-index: 8000; 
}

/* Desktop Split Layout & Nav Content */
.nav-content { 
    max-width: 1400px; 
    width: 100%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 20px; 
    margin: 0 auto; 
}
.nav-menu-wrapper { display: flex; flex: 1; justify-content: space-between; align-items: center; margin-left: 40px; }
.nav-left { display: flex; gap: 25px; }
.nav-right { display: flex; gap: 20px; align-items: center; }

.brand-logo-link { flex-shrink: 0; }
.brand-logo { height: 35px; width: auto; display: block; border-radius: 4px; }

.nav-links { list-style: none; display: flex; gap: 15px; margin: 0; padding: 0; }
.nav-links a { 
    background-color: var(--bg-surface); color: var(--text-primary); font-weight: 600; 
    padding: 8px 20px; border-radius: 25px; font-size: 0.85em; text-transform: uppercase; 
    border: 2px solid var(--brand-purple); transition: all 0.3s ease; box-shadow: 0 0 10px rgba(127, 57, 251, 0.15);
}
.nav-links a:hover { background-color: var(--brand-purple); border-color: var(--brand-purple); color: #fff; box-shadow: 0 0 15px rgba(127, 57, 251, 0.4); }

.nav-icon { margin-right: 8px; fill: currentColor; width: 16px; height: 16px; }

/* Radio Button */
.radio-btn { 
    color: var(--brand-purple) !important; 
    border: 1px solid var(--brand-purple) !important; 
    padding: 6px 14px !important; 
    border-radius: 4px !important; 
}
.radio-btn:hover { 
    background: var(--brand-purple) !important; 
    color: #fff !important; 
    box-shadow: 0 0 15px rgba(127,57,251,0.5); 
}

/* =========================================
   4. ADMIN DROPDOWN (INTEGRATED & SAFARI SAFE)
   ========================================= */
.nav-links li.dropdown, .nav-links .dropdown {
    position: relative !important;
    display: inline-block !important; /* Safari prefers inline-block over flex for dropdown parents */
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
}

/* Clean up button styles for nav links */
.nav-links li > a, 
.nav-links li > span {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 5px 10px !important;
    color: #fff !important;
    text-transform: uppercase;
    font-size: 0.85em;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-links li > a:hover, 
.nav-links li > span:hover {
    background: transparent !important;
    color: var(--brand-purple) !important;
    text-shadow: 0 0 10px rgba(127, 57, 251, 0.8);
}

/* Dropdown Menu Container */
.nav-links .dropdown .dropdown-menu {
    position: absolute !important;
    top: 100% !important; 
    right: 0 !important; 
    left: auto !important; 
    margin-top: 10px !important;
    min-width: 220px !important;
    background-color: #0a0a0a !important;
    border: 1px solid var(--border-subtle);
    border-top: 2px solid var(--brand-purple) !important;
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(127, 57, 251, 0.15);
    z-index: 99999 !important;
    
    /* Animation base */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

/* Show on hover */
.nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Text Links */
.dropdown-menu a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 24px;
    color: var(--text-secondary);
    background-color: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: transparent;
    color: #fff;
    transform: translateX(3px);
}

.dropdown-menu .menu-divider {
    border-top: 1px solid rgba(127, 57, 251, 0.4);
    margin: 8px 15px;
    height: 0;
}

/* Styling for the red logout link */
.logout-link {
    display: flex !important;
    align-items: center;
    color: #ff6666 !important;
    font-weight: 700 !important;
    border-top: 1px solid rgba(255, 102, 102, 0.2) !important;
    margin-top: 10px !important;
    padding: 12px 24px !important;
}
.logout-link:hover { color: #ff4444 !important; background: rgba(255, 68, 68, 0.05) !important; }
.logout-link svg { margin-right: 10px; fill: currentColor; }

/* The Invisible Hover Bridge */
.nav-links .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

/* =========================================
   5. LAYOUT & SHARED GRIDS
   ========================================= */
.view-wrapper { flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; }
.container { max-width: 700px; width: 100%; padding: 40px 20px; }

/* Shared Grid System */
.releases-catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}
@media screen and (max-width: 1200px) { .releases-catalog-grid { grid-template-columns: repeat(3, 1fr); } }
@media screen and (max-width: 900px) { .releases-catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 600px) { .releases-catalog-grid { grid-template-columns: 1fr; } }

/* Shared Card Design */
.catalog-card {
    background: #111; border: 2px solid #333; border-radius: 8px; 
    overflow: hidden; transition: border-color 0.3s;
}
.catalog-card:hover { border-color: var(--brand-purple); }
.catalog-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.catalog-card-body { padding: 15px; text-align: center; }

/* =========================================
   6. RELEASE SPECIFIC COMPONENTS
   ========================================= */
.label-header { 
    background: linear-gradient(145deg, var(--bg-surface), #0a0a0a);
    border: 1px solid var(--brand-purple); 
    border-radius: 8px; 
    padding: 20px 25px; 
    color: var(--text-primary); 
    font-size: 1.5em; 
    font-weight: 700; 
    text-align: center; 
    margin-top: 35px;
    margin-bottom: 35px;
    text-transform: uppercase; 
    letter-spacing: 2px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6), 0 0 15px rgba(127, 57, 251, 0.15); 
}

/* HERO SECTION GRID */
.release-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }

.release-artwork { 
    aspect-ratio: 1/1; object-fit: cover; width: 100%; height: 100%; 
    margin-bottom: 0; border-radius: 8px; border: 1px solid rgba(127, 57, 251, 0.2);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 15px 30px rgba(0, 0, 0, 0.8);
}

.release-meta { 
    width: 100%; margin-bottom: 30px; background: linear-gradient(145deg, #1c1c1c, #111111); 
    padding: 25px 30px; border-radius: 8px; border: 1px solid rgba(127, 57, 251, 0.2); 
    border-top: 1px solid rgba(127, 57, 251, 0.6); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
    display: flex; flex-direction: column; gap: 15px; 
}
.release-meta p { margin: 0; font-size: 0.95em; display: flex; align-items: flex-start; line-height: 1.5; }
.release-meta strong { color: var(--brand-purple-hover); flex-shrink: 0; width: 120px; }

.release-page-layout ul { list-style: none; padding: 0; margin-bottom: 30px; }
.release-page-layout li {
    background: var(--bg-surface); margin-bottom: 10px; padding: 12px 15px;
    border-radius: 4px; border-left: 4px solid var(--brand-purple); color: var(--text-secondary);
}
.release-page-layout li strong { color: var(--text-primary); }
.tags { color: var(--brand-purple); font-size: 0.9em; text-align: center; margin-top: 40px; font-weight: 600; }

/* APP UI TABS BAR */
.tabs-nav-container {
    display: flex; width: 100%; border-radius: 8px; overflow: hidden; margin-bottom: 30px; 
    background: linear-gradient(145deg, #1c1c1c, #111111);
    border: 1px solid rgba(127, 57, 251, 0.2); border-top: 1px solid rgba(127, 57, 251, 0.6); 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
}
.tab-link {
    flex: 1; padding: 18px 0; text-align: center; background: transparent; border: none;
    border-right: 1px solid var(--border-subtle); color: var(--text-secondary); font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: all 0.3s ease; outline: none;
}
.tab-link:last-child { border-right: none; }
.tab-link:hover { color: #fff; background: rgba(255,255,255,0.02); }
.tab-link.active { color: #fff; background: rgba(127, 57, 251, 0.1); box-shadow: inset 0 -4px 0 var(--brand-purple); }

.tab-pane { display: none; animation: fadeInTab 0.4s ease; }
.tab-pane.active { display: block; }
@keyframes fadeInTab { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.tab-pane .tracklist-container, .tab-pane .video-gallery-wrapper { margin-top: 0; }

/* =========================================
   7. BUTTONS & ACTION GROUPS
   ========================================= */
.button-container { text-align: center; margin: 40px 0; display: flex; justify-content: center; width: 100%; }

/* Glass Buttons */
.btn, .btn-secondary, .btn-danger, 
.btn-group-save, .btn-group-preview, .btn-group-delete {
    background: rgba(20, 20, 20, 0.4); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); 
    border: 1px solid var(--brand-purple); color: #fff; font-size: 0.9rem; font-weight: bold;
    letter-spacing: 1px; text-transform: uppercase; border-radius: 12px; padding: 12px 24px;
    cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center; text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
}

/* Variants */
.btn:hover, .btn-group-save:hover {
    background: rgba(138, 43, 226, 0.15); box-shadow: 0 0 20px rgba(138, 43, 226, 0.5); transform: translateY(-2px); color: #fff;
}
.btn-danger, .btn-group-delete { border-color: rgba(255, 68, 68, 0.7); color: #ff4444; }
.btn-danger:hover, .btn-group-delete:hover {
    background: rgba(255, 68, 68, 0.15); box-shadow: 0 0 20px rgba(255, 68, 68, 0.4); border-color: #ff4444; color: #fff;
}
.btn-secondary, .btn-group-preview { border-color: rgba(255, 255, 255, 0.2); color: #ccc; }
.btn-secondary:hover, .btn-group-preview:hover {
    background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); box-shadow: 0 0 15px rgba(255, 255, 255, 0.1); color: #fff;
}

/* --- Connected Navigation Button Block (Admin Form Group) --- */
.action-button-group {
    display: flex;
    width: 100%;
    margin-top: 35px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    overflow: hidden; 
    background: #111; 
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.35); /* Ambient purple glow behind the whole block */
}

.action-button-group button, 
.action-button-group a {
    flex: 1; padding: 18px 10px; text-align: center; font-size: 0.9rem; font-weight: bold;
    letter-spacing: 1px; text-transform: uppercase; text-decoration: none; cursor: pointer;
    transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center;
    box-sizing: border-box; margin-left: -1px; border-radius: 0;
}

.action-button-group > *:first-child { border-radius: 12px 0 0 12px; margin-left: 0; }
.action-button-group > *:last-child { border-radius: 0 12px 12px 0; }
.action-button-group > *:only-child { border-radius: 12px; }

/* Group Button Styling */
.btn-group-save { background: #9d4edd; color: #fff; border: 1px solid #9d4edd; position: relative; z-index: 1; }
.btn-group-save:hover { background: #6a1bb8; border-color: #6a1bb8; box-shadow: 0 0 25px rgba(106, 27, 184, 0.8); z-index: 2; }

.btn-group-preview { background: transparent; color: #9d4edd; border: 1px solid #9d4edd; position: relative; z-index: 1; }
.btn-group-preview:hover { background: rgba(157, 78, 221, 0.15); box-shadow: inset 0 0 20px rgba(157, 78, 221, 0.4), 0 0 20px rgba(157, 78, 221, 0.5); color: #b56df0; z-index: 2; }

.btn-group-delete { background: #111; color: #9d4edd; border: 1px solid #222; position: relative; z-index: 1; }
.btn-group-delete:hover { background: rgba(255, 50, 50, 0.1); color: #ff4444; border-color: #ff4444; box-shadow: inset 0 0 15px rgba(255, 68, 68, 0.2), 0 0 20px rgba(255, 68, 68, 0.5); z-index: 2; }

/* =========================================
   8. VIDEO GALLERY & LIGHTBOX
   ========================================= */
.video-gallery-wrapper { max-width: 500px; margin: 40px auto; position: relative; padding: 0 20px; }
.video-gallery { 
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; 
    -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 20px; 
}
.video-gallery::-webkit-scrollbar { display: none; }

.video-thumb { 
    flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 9/16; background-color: var(--bg-surface); 
    border-radius: 8px; cursor: pointer; position: relative; background-size: cover; background-position: center; display: block; 
    border: 1px solid rgba(127, 57, 251, 0.2); border-top: 1px solid rgba(127, 57, 251, 0.6); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.video-thumb:hover { border-color: rgba(127, 57, 251, 0.4); border-top-color: rgba(127, 57, 251, 0.9); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9), 0 0 20px rgba(127, 57, 251, 0.15); }

.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background-color: #333; cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; }
.dot.active { background-color: var(--brand-purple); transform: scale(1.4); }

.play-icon { display: none !important; }
.video-thumb::after {
    content: "▶"; position: absolute; top: 50%; left: 50%; margin-top: -32.5px; margin-left: -32.5px; width: 65px; height: 65px;
    background-color: var(--brand-purple); color: #fff; border-radius: 50%; font-size: 1.8em; line-height: 65px; text-align: center; 
    text-indent: 5px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: transform 0.3s ease, background-color 0.3s ease;
    pointer-events: none; -webkit-transform: translateZ(0); 
}
.video-thumb:hover::after { background-color: var(--brand-purple-hover); transform: scale(1.1); box-shadow: 0 6px 15px rgba(0,0,0,0.4); }

/* LIGHTBOX */
.lightbox { 
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.96); 
    z-index: 99999 !important; justify-content: center; align-items: center; padding-top: 65px;
}
.lightbox.active { display: flex; }
.lightbox-video-container { width: 100%; max-width: 900px; display: flex; justify-content: center; align-items: center; padding: 0 20px; }
.lightbox video {
    width: 100%; max-height: 80vh; border-radius: 8px; background: #000; outline: none; 
    border: 1px solid rgba(127, 57, 251, 0.2); border-top: 1px solid rgba(127, 57, 251, 0.6);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9); -webkit-transform: translateZ(0);
}
.close-lightbox { position: absolute; top: 25px; right: 30px; font-size: 2.5em; color: var(--text-secondary); cursor: pointer; transition: color 0.3s ease; z-index: 10; }
.close-lightbox:hover { color: #fff; }

/* =========================================
   9. CATALOG GRIDS & INFO BOXES
   ========================================= */
.releases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; margin: 0 auto; }
.release-card {
    background-color: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.release-card:hover { transform: translateY(-5px); border-color: var(--brand-purple); box-shadow: 0 8px 25px rgba(127, 57, 251, 0.15); }
.release-card img { width: 100%; height: auto; display: block; aspect-ratio: 1/1; object-fit: cover; border-bottom: 1px solid var(--border-subtle); }

.card-meta { padding: 15px 20px; text-align: center; background-color: rgba(0, 0, 0, 0.2); flex-grow: 1; }
.card-meta h3 { color: var(--text-primary); margin: 0 0 10px 0; font-size: 1.2em; letter-spacing: 1px; }
.card-meta p { color: var(--text-secondary); margin: 5px 0; font-size: 0.9em; letter-spacing: 0.5px; }
.card-meta strong { color: var(--brand-purple); text-transform: uppercase; font-size: 0.85em; margin-right: 5px; }

.grid-meta-box { background: #222; padding: 10px; border-radius: 4px; font-size: 0.85rem; color: #ddd; text-align: left; border-left: 3px solid var(--brand-purple); }
.grid-meta-box strong { color: var(--brand-purple-hover); }

/* INFO TAB ONLY: Two-Column Meta Box */
.info-meta-box {
    background: #1a1a1a; border: 1px solid var(--brand-purple); border-radius: 8px; padding: 20px; margin-bottom: 25px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.info-meta-box .meta-col-primary p { margin: 8px 0; color: #fff; font-size: 0.95rem; }
.info-meta-box .meta-col-primary .meta-label { color: var(--brand-purple); font-weight: bold; display: inline-block; width: 110px; }

.info-meta-box .meta-col-legal { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.info-meta-box .legal-credits p {
    font-size: 11px; color: rgba(255, 255, 255, 0.35); margin: 5px 0 0 0; letter-spacing: 0.5px;
    text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.9), 1px  1px 1px rgba(255, 255, 255, 0.05); 
    display: flex; align-items: center; gap: 5px;
}
.info-meta-box .legal-credits-top p {
    font-size: 11px; color: rgba(255, 255, 255, 0.35); margin: 0 0 8px 0; line-height: 1.4; letter-spacing: 0.5px;
    text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.9), 1px 1px 1px rgba(255, 255, 255, 0.05); 
}
.info-meta-box .legal-credits-top strong { color: rgba(255, 255, 255, 0.55); text-transform: uppercase; }
.info-meta-box .meta-icon { font-size: 14px; font-family: Arial, Helvetica, sans-serif; font-weight: normal; text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.9), 1px 1px 1px rgba(255, 255, 255, 0.05); }

/* --- TRACKLIST EMBOSSED CARD --- */
.tracklist-container { 
    margin-top: 40px; margin-bottom: 70px; width: 100%; overflow-x: auto; background: linear-gradient(145deg, #1c1c1c, #111111); 
    padding: 20px; border-radius: 8px; border: 1px solid rgba(127, 57, 251, 0.2); border-top: 1px solid rgba(127, 57, 251, 0.6); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
}
.tracklist-container h3 { text-align: center; margin-bottom: 20px; }

.track-table { width: 100%; border-collapse: collapse; background: transparent; color: var(--text-secondary); }
.track-table th { text-align: left; color: var(--brand-purple); text-transform: uppercase; font-size: 0.85em; padding: 12px 10px; border-bottom: 2px solid var(--border-subtle); }
.track-table td { padding: 12px 10px; border-bottom: 1px solid var(--border-subtle); font-size: 0.9em; }

/* PLAY BUTTONS */
.play-track-btn {
    background: transparent; border: 1px solid var(--brand-purple); color: var(--brand-purple); border-radius: 50%;
    width: 32px; height: 32px; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; padding: 0; padding-left: 2px;
}
.play-track-btn.is-playing { background: #050505; box-shadow: 0 0 12px rgba(127, 57, 251, 0.7); padding-left: 0; }
.pause-bars { display: flex; gap: 3px; height: 12px; align-items: center; }
.pause-bars div { width: 3px; height: 100%; background-color: #fff; border-radius: 1px; }

/* =========================================
   10. ADMIN DASHBOARD FORMS & CARDS
   ========================================= */
.admin-form-container input, 
.admin-form-container textarea, 
.admin-form-container select { 
    width: 100%; height: 50px; padding: 10px 16px; margin-bottom: 25px; background: var(--bg-base); 
    border: 2px solid var(--border-subtle); border-radius: 6px; color: var(--text-primary); font-size: 16px; 
}
.admin-form-container select {
    appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center; background-size: 20px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-section { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--border-subtle); }
.full-width { grid-column: 1 / -1; }

.profile-pic-preview { width: 120px; height: 120px; border-radius: 8px; border: 3px solid var(--brand-purple); object-fit: cover; margin-bottom: 25px; display: block; }

.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 30px; margin-bottom: 40px; }
.admin-card { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 30px 20px; text-align: center; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.admin-card:hover { transform: translateY(-5px); border-color: var(--brand-purple); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }
.admin-card h3 { margin-bottom: 10px; color: var(--text-primary); font-size: 1.3em; }
.admin-card p { color: var(--text-secondary); margin-bottom: 25px; font-size: 0.95em; line-height: 1.4; }
.admin-card .btn, .admin-card .btn-secondary { width: 100%; display: block; box-sizing: border-box; padding: 14px; }

.admin-releases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; margin-bottom: 40px; }
.admin-release-card { background: transparent; border: 1px solid var(--border-subtle, #333); border-radius: 8px; padding: 20px; display: flex; flex-direction: column; transition: border-color 0.3s ease; }
.admin-release-card:hover { border-color: var(--brand-purple); }
.admin-release-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; margin-bottom: 20px; }

.admin-card-content { display: flex; flex-direction: column; flex-grow: 1; text-align: center; }
.admin-card-content h3 { margin: 0 0 8px 0; font-size: 1.4rem; color: var(--text-primary, #fff); }
.admin-card-content .artist-name { margin: 0 0 20px 0; color: var(--text-secondary, #ccc); font-size: 1rem; font-weight: bold; }
.admin-meta-box { background: #1a1a1a; padding: 15px; border-radius: 6px; text-align: left; margin-bottom: 20px; }
.admin-meta-box p { margin: 6px 0; font-size: 0.9rem; color: var(--text-secondary, #bbb); }
.meta-label { color: var(--brand-purple); font-weight: bold; margin-right: 5px; }

/* =========================================
   11. LOGIN & FOOTER
   ========================================= */
.login-wrapper { display: flex; justify-content: center; align-items: center; min-height: 80vh; padding: 15px; }
.login-box { background: #111; border: 2px solid #333; padding: 40px; border-radius: 8px; width: 100%; max-width: 400px; text-align: center; }
.login-input { width: 100%; padding: 12px; margin: 10px 0 20px; background: #222; border: 1px solid #444; color: #fff; border-radius: 4px; display: block; font-size: 16px !important; }
.login-input:focus { border-color: var(--brand-purple); outline: none; }
.error-msg { color: #ff4444; margin-bottom: 15px; font-size: 0.9em; }

.global-footer { 
    text-align: center; font-size: 0.9em; color: var(--text-secondary); margin-top: auto; 
    border-top: 1px solid var(--border-subtle); padding-top: 25px; width: 100%; max-width: 700px; 
    margin-left: auto; margin-right: auto; padding-bottom: 40px; 
}

/* =========================================
   12. RESPONSIVE BREAKPOINTS (MOBILE & TABLET)
   ========================================= */
.mobile-menu { display: flex; }
.desktop-menu { display: none; }

@media (min-width: 900px) {
    .mobile-menu { display: none; }
    .desktop-menu { display: flex; }
}

@media (max-width: 900px) {
    .container { padding: 20px 15px; }
    .releases-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-panel, .admin-form-container { padding: 25px 15px; }

    /* RESPONSIVE TABLE FIX */
    table.track-table th:nth-child(2), table.track-table td:nth-child(2),
    table.track-table th:nth-child(5), table.track-table td:nth-child(5),
    table.track-table th:nth-child(6), table.track-table td:nth-child(6),
    table.track-table th:nth-child(7), table.track-table td:nth-child(7) {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .admin-releases-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr !important; gap: 15px; }
    
    .info-meta-box { display: flex; flex-direction: column; gap: 25px; }
    .info-meta-box .meta-col-legal { margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: left; }

    .action-button-group { flex-direction: column; border-radius: 0; overflow: visible; gap: 12px; border: none; background: transparent; box-shadow: none; }
    .action-button-group > button, .action-button-group > a { width: 100%; border-radius: 30px; border: none; }

    .nav-links .dropdown .dropdown-menu { position: absolute; right: 0; width: 320px; margin-top: 10px; }
}

@media (max-width: 600px) {
    .releases-grid { grid-template-columns: 1fr; }
    .admin-form-container input, .admin-form-container textarea { font-size: 16px !important; }
    .label-header { font-size: 1.2em; padding: 15px; }
}