/**
 * Music Distribution Platform - Main Stylesheet
 * Theme: White & Red (#D50C2D)
 */

:root {
    --primary-color: #D50C2D;
    --primary-hover: #b00a25;
    --text-color: #000000;
    --subtext-color: #6B7280;
    --button-text: #FFFFFF;
    --background: #FFFFFF;
    --border-color: #E5E7EB;
    --hover-bg: #F9FAFB;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #F3F4F6;
    color: var(--text-color);
    line-height: 1.6;
}

/* Auth Pages */
.auth-page {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f7 50%, #ffffff 100%);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(213, 12, 45, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(213, 12, 45, 0.05) 0%, transparent 50%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(213, 12, 45, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

.auth-container {
    max-width: 450px;
    width: 100%;
}

.auth-box {
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(213, 12, 45, 0.15), 0 0 0 1px rgba(213, 12, 45, 0.05);
    border: 1px solid rgba(213, 12, 45, 0.1);
    position: relative;
    z-index: 1;
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo h1 {
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.auth-logo h1 i {
    font-size: 36px;
}

.auth-logo p {
    color: var(--subtext-color);
    font-size: 14px;
}

.auth-form {
    margin-bottom: 20px;
}

.auth-links {
    text-align: center;
    font-size: 14px;
    color: var(--subtext-color);
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-links span {
    margin: 0 8px;
}

/* Dashboard Layout */
.dashboard {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: auto;
    min-width: 200px;
    max-width: 240px;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border-right: 1px solid var(--border-color);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 2px solid #FEE2E8;
    background: linear-gradient(135deg, #ffffff 0%, #fff5f7 100%);
    text-align: center;
}

.sidebar-header h1 {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sidebar-header h1 i {
    font-size: 24px;
}

.sidebar-header img {
    display: block;
    margin: 0 auto;
}

.sidebar-nav {
    padding: 24px 0;
    flex: 1;
}

.sidebar-footer {
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid #e5e7eb;
}

.powered-by-content {
    text-align: center;
}

.powered-by-text {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.powered-by-logo {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.powered-by-logo img {
    max-width: 120px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.nav-section {
    margin-bottom: 32px;
}

.nav-section-title {
    padding: 0 24px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    color: #1f2937;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 600;
    margin: 2px 12px;
    border-radius: 8px;
    position: relative;
}

.nav-item:hover {
    background: linear-gradient(90deg, #FEE2E8 0%, #fff5f7 100%);
    color: var(--primary-color);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(213, 12, 45, 0.1);
}

.nav-item.active {
    background: linear-gradient(90deg, #FEE2E8 0%, #fff5f7 100%);
    color: var(--primary-color);
    border-right: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(213, 12, 45, 0.15);
    font-weight: 700;
}

.nav-item i {
    margin-right: 14px;
    width: 22px;
    text-align: center;
    font-size: 16px;
}

.main-content {
    flex: 1;
    margin-left: 240px;
}

.topbar {
    background: white;
    border-bottom: 2px solid #FEE2E8;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.topbar-left h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-color);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

.profile-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 1000;
    overflow: hidden;
}

.profile-dropdown.show {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: background 0.2s;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
}

.dropdown-item i {
    width: 18px;
    text-align: center;
    color: var(--subtext-color);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--hover-bg);
}

.mobile-menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .sidebar {
        position: fixed;
        z-index: 1000;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    
    .sidebar.mobile-open ~ .sidebar-overlay {
        display: block;
    }
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.user-info {
    text-align: right;
}

.user-name {
    font-weight: 600;
    font-size: 14px;
}

.user-role {
    font-size: 12px;
    color: var(--subtext-color);
}

.content-area {
    padding: 30px;
}

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    border: 1px solid rgba(213, 12, 45, 0.05);
}

.card:hover {
    box-shadow: 0 4px 16px rgba(213, 12, 45, 0.12), 0 0 0 1px rgba(213, 12, 45, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid rgba(213, 12, 45, 0.05);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(213, 12, 45, 0.5) 100%);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(213, 12, 45, 0.15), 0 0 0 1px rgba(213, 12, 45, 0.1);
}

.stat-label {
    font-size: 14px;
    color: var(--subtext-color);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
}

.stat-change {
    font-size: 13px;
    margin-top: 8px;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--danger);
}

/* Card Grid Layouts */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.grid-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.grid-card-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #F3F4F6;
}

.grid-card-body {
    padding: 20px;
}

.grid-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.grid-card-subtitle {
    font-size: 14px;
    color: var(--subtext-color);
    margin-bottom: 12px;
}

.grid-card-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--subtext-color);
    margin-bottom: 12px;
}

.grid-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-color);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
    background: white;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--subtext-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--button-text);
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: #6B7280;
    color: white;
}

.btn-secondary:hover {
    background: #4B5563;
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
    display: block;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: #D1FAE5;
    color: #065F46;
}

.badge-warning {
    background: #FEF3C7;
    color: #92400E;
}

.badge-danger {
    background: #FEE2E2;
    color: #991B1B;
}

.badge-info {
    background: #DBEAFE;
    color: #1E40AF;
}

.badge-secondary {
    background: #F3F4F6;
    color: #374151;
}

/* Tables */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    background: #F9FAFB;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: var(--subtext-color);
    border-bottom: 2px solid var(--border-color);
}

table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

table tr:hover {
    background: var(--hover-bg);
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #6EE7B7;
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

.alert-warning {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FCD34D;
}

.alert-info {
    background: #DBEAFE;
    color: #1E40AF;
    border: 1px solid #93C5FD;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--subtext-color);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Tabs */
.tabs {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 24px;
}

.tab-list {
    display: flex;
    gap: 8px;
}

.tab-button {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--subtext-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Filters */
.filters {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.empty-state-text {
    color: var(--subtext-color);
    margin-bottom: 24px;
}

/* Audio Player */
.audio-player {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #F9FAFB;
    border-radius: 8px;
}

.audio-player audio {
    flex: 1;
}

/* File Upload */
.file-upload {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload:hover {
    border-color: var(--primary-color);
    background: #FEF2F5;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload-icon {
    font-size: 48px;
    color: var(--subtext-color);
    margin-bottom: 12px;
}

.file-upload-text {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 4px;
}

.file-upload-hint {
    font-size: 13px;
    color: var(--subtext-color);
}

/* Pagination */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
}

.pagination a {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-color);
}

.pagination a:hover {
    background: var(--hover-bg);
}

.pagination a.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
        width: 240px;
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .stats-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .topbar {
        padding: 12px 16px;
    }
    
    .content-area {
        padding: 16px;
    }
    
    .nav-item {
        font-size: 14px;
        padding: 12px 20px;
    }
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary-color); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--subtext-color); }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* Release Creation Wizard */
.release-wizard {
    max-width: 1200px;
    margin: 0 auto;
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E5E7EB;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-item.active .step-number {
    background: var(--primary-color);
    color: white;
}

.step-item.current .step-number {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 4px rgba(213, 12, 45, 0.2);
}

.step-label {
    font-size: 14px;
    color: #6B7280;
    font-weight: 500;
}

.step-item.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.step-item.current .step-label {
    color: var(--primary-color);
    font-weight: 700;
}

.step-connector {
    width: 100px;
    height: 2px;
    background: #E5E7EB;
    margin: 0 10px 30px;
    transition: all 0.3s ease;
}

.step-connector.active {
    background: var(--primary-color);
}

.step-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.step-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
}

/* Step 1: Album Information */
.album-info-form .form-row {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.artwork-col {
    display: flex;
    flex-direction: column;
}

.artwork-upload-area {
    width: 100%;
    aspect-ratio: 1;
    border: 2px dashed #D1D5DB;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: #F9FAFB;
}

.artwork-upload-area:hover {
    border-color: var(--primary-color);
    background: #FEE2E8;
}

.artwork-upload-area.dragover {
    border-color: var(--primary-color);
    background: #FEE2E8;
}

.artwork-placeholder {
    text-align: center;
    color: #6B7280;
}

.artwork-placeholder i {
    font-size: 48px;
    margin-bottom: 12px;
    color: #9CA3AF;
}

.artwork-placeholder p {
    font-size: 14px;
    margin: 0;
}

.artwork-requirements {
    font-size: 12px;
    color: var(--subtext-color);
    margin-top: 8px;
}

.browse-link {
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
}

.artwork-label {
    margin-top: 12px;
}

.artwork-label label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
    display: block;
    margin-bottom: 4px;
}

.artwork-label p {
    font-size: 12px;
    color: var(--subtext-color);
    margin: 0;
}

.fields-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-half {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: white;
}

.form-group input[type="text"]:focus,
.form-group input[type="date"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(213, 12, 45, 0.1);
}

.search-select-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280;
    pointer-events: none;
}

.search-select-wrapper select {
    padding-left: 40px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.date-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.date-input-wrapper input {
    flex: 1;
}

.calendar-icon {
    position: absolute;
    right: 12px;
    color: #6B7280;
    pointer-events: none;
}

.radio-group {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #E5E7EB;
}

.btn-next {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-next:hover {
    background: var(--primary-hover);
}

/* Step 2: Tracks Information */
.track-form {
    margin-top: 20px;
}

.track-artwork-upload {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    border: 2px dashed #D1D5DB;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: #F9FAFB;
    margin-bottom: 20px;
}

.track-artwork-upload:hover {
    border-color: var(--primary-color);
    background: #FEE2E8;
}

.remove-artwork {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.form-row-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group-half {
    margin-bottom: 0;
}

.date-input-custom {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
    background: white;
    position: relative;
}

.date-input-custom:focus {
    outline: none;
    border-color: var(--primary-color);
}

.date-input-custom::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    filter: invert(0.3);
}

.date-input-custom::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Audio Upload Area */
.audio-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #FAFAFA;
}

.audio-upload-area:hover {
    border-color: var(--primary-color);
    background: #FFF5F7;
}

.audio-upload-area.dragover {
    border-color: var(--primary-color);
    background: #FFF5F7;
    border-style: solid;
}

.audio-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.audio-placeholder i {
    font-size: 48px;
    color: var(--primary-color);
    opacity: 0.7;
}

.audio-placeholder p {
    margin: 0;
    color: var(--text-color);
    font-size: 14px;
}

.audio-placeholder .browse-link {
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: underline;
}

.audio-placeholder .browse-link:hover {
    color: var(--primary-hover);
}

.audio-requirements {
    font-size: 12px;
    color: var(--subtext-color);
    margin-top: 4px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--subtext-color);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--hover-bg);
    color: var(--text-color);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
}

.add-track-button-container {
    text-align: center;
    padding: 60px 20px;
}

.btn-large {
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 600;
}

.tracks-list {
    margin-top: 20px;
}

.track-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #F9FAFB;
    border-radius: 8px;
    margin-bottom: 12px;
}

.track-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.track-number {
    font-weight: 600;
    color: var(--subtext-color);
}

.track-title {
    font-weight: 600;
    color: var(--text-color);
}

.track-actions {
    display: flex;
    gap: 8px;
}

.track-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #E5E7EB;
}

/* Step 3: Release Date */
.release-date-form .card {
    padding: 30px;
    margin-bottom: 30px;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-option:hover {
    background: #F9FAFB;
    border-color: var(--primary-color);
}

.radio-option input[type="radio"] {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.radio-content {
    flex: 1;
}

.radio-label {
    font-weight: 600;
    color: var(--text-color);
    display: block;
    margin-bottom: 4px;
}

.radio-description {
    font-size: 13px;
    color: var(--subtext-color);
}

/* Step 4: Overview */
.overview-header {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #E5E7EB;
}

.album-artwork-preview {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.album-artwork-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artwork-placeholder-small {
    width: 100%;
    height: 100%;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    font-size: 48px;
}

.album-title-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.version-subtitle {
    font-size: 16px;
    color: var(--subtext-color);
    margin: 0;
}

.overview-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-label {
    font-size: 13px;
    color: var(--subtext-color);
    font-weight: 500;
}

.info-value {
    font-size: 15px;
    color: var(--text-color);
    font-weight: 600;
}

.tracks-overview-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.track-overview-item {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 0;
}

.track-player-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.track-player-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.play-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.play-button:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.track-title-info {
    display: flex;
    flex-direction: column;
}

.track-title {
    font-weight: 600;
    color: var(--text-color);
}

.track-version {
    font-size: 13px;
    color: var(--subtext-color);
}

.track-progress {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: #E5E7EB;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.track-duration {
    font-size: 12px;
    color: var(--subtext-color);
    white-space: nowrap;
}

.track-actions-header {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    background: white;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: #F3F4F6;
    border-color: var(--primary-color);
}

.action-btn.danger {
    color: var(--danger);
}

.action-btn.danger:hover {
    background: #FEE2E2;
    border-color: var(--danger);
}

.track-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid #E5E7EB;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-weight: 600;
    color: var(--subtext-color);
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    padding: 20px 0;
}

.no-tracks {
    text-align: center;
    color: var(--subtext-color);
    padding: 40px;
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-submit:hover:not(:disabled) {
    background: var(--primary-hover);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .album-info-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-row-two {
        grid-template-columns: 1fr;
    }
    
    .form-row-inline {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .step-indicator {
        flex-wrap: wrap;
    }
    
    .step-connector {
        display: none;
    }
}

