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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 20px 0;
}

.container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 800px;
    width: 90%;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.player-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.current-track {
    text-align: center;
    margin-bottom: 20px;
}

.track-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 5px;
}

.track-number {
    opacity: 0.8;
    font-size: 0.9em;
}

audio {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

button {
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.dark-mode-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.dark-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    background: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

body.light-mode .dark-mode-toggle {
    background: rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 0, 0, 0.2);
    color: #333;
}

body.light-mode .dark-mode-toggle:hover {
    background: rgba(0, 0, 0, 0.15);
}

.auto-shuffle-on {
    background: linear-gradient(45deg, #4ECDC4, #44A08D) !important;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3) !important;
}

.auto-shuffle-off {
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1) !important;
}

.loop-on {
    background: linear-gradient(45deg, #9B59B6, #8E44AD) !important;
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3) !important;
}

.loop-off {
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1) !important;
}

.playlist-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
}

.add-track {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

input[type="url"] {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1em;
    min-width: 250px;
}

input[type="url"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.add-btn {
    background: linear-gradient(45deg, #4ECDC4, #44A08D);
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.add-btn:hover {
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.playlist-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.control-btn {
    padding: 10px 20px;
    font-size: 0.9em;
}

.clear-btn {
    background: linear-gradient(45deg, #E74C3C, #C0392B);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.clear-btn:hover {
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.import-btn {
    background: linear-gradient(45deg, #3498DB, #2980B9);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.import-btn:hover {
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.export-btn {
    background: linear-gradient(45deg, #9B59B6, #8E44AD);
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3);
}

.export-btn:hover {
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.4);
}

.save-drawer-btn {
    background: linear-gradient(45deg, #2196F3, #1976D2);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.save-drawer-btn:hover {
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.share-btn {
    background: linear-gradient(45deg, #FF9800, #F57C00);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.share-btn:hover {
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.playlist {
    max-height: 300px;
    overflow-y: auto;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.track-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 5px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.track-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.track-item.current {
    background: rgba(255, 107, 107, 0.2);
    border-left-color: #FF6B6B;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

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

.track-title-display {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 4px;
}

.track-url {
    font-size: 0.85em;
    opacity: 0.7;
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.remove-btn {
    background: linear-gradient(45deg, #FF6B6B, #FF5722);
    padding: 6px 12px;
    font-size: 0.8em;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    margin-left: 10px;
}

.status {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: bold;
}

.status.playing {
    background: rgba(78, 205, 196, 0.2);
    border: 1px solid rgba(78, 205, 196, 0.5);
    color: #4ECDC4;
}

.status.error {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.5);
    color: #FF6B6B;
}

.loop-indicator {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.5);
    color: #FFC107;
}

/* Combined Filters Section */
.filters-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-label {
    font-size: 1.1em;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.subject-type-select,
.hypnotist-type-select {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    outline: none;
    min-width: 150px;
}

.subject-type-select:hover,
.hypnotist-type-select:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.subject-type-select:focus,
.hypnotist-type-select:focus {
    border-color: rgba(78, 205, 196, 0.8);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2);
}

.subject-type-select option,
.hypnotist-type-select option {
    background: #2d2d30;
    color: white;
    padding: 10px;
}

/* Drawers Section Styles */
.drawers-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.drawers-title {
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.drawer {
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.drawer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    user-select: none;
}

.drawer-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.drawer-icon {
    font-size: 1.2em;
    margin-right: 15px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.drawer-header.active .drawer-icon {
    transform: rotate(90deg);
}

.drawer-title {
    flex: 1;
    font-size: 1.1em;
    font-weight: bold;
}

.drawer-count {
    opacity: 0.7;
    font-size: 0.9em;
    margin-left: 10px;
}

.drawer-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}

.drawer-add-all-btn {
    padding: 6px 14px;
    font-size: 0.8em;
    background: linear-gradient(45deg, #4ECDC4, #44A08D);
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.3);
    white-space: nowrap;
    border-radius: 20px;
}

.drawer-add-all-btn:hover {
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
}

.drawer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(0, 0, 0, 0.15);
}

.drawer-content.open {
    max-height: 500px;
    overflow-y: auto;
}

.drawer-item {
    display: flex;
    flex-direction: column;
    padding: 12px 20px;
    margin: 5px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.drawer-item:hover {
    background: rgba(78, 205, 196, 0.2);
    border-left-color: #4ECDC4;
    transform: translateX(5px);
}

.drawer-item:active {
    transform: translateX(3px);
    background: rgba(78, 205, 196, 0.3);
}

.drawer-item-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.drawer-item-icon {
    font-size: 1.3em;
    margin-right: 12px;
}

.drawer-item-title {
    flex: 1;
    font-size: 0.95em;
    font-weight: bold;
}

.drawer-item-delete-btn {
    background: linear-gradient(45deg, #E74C3C, #C0392B);
    padding: 4px 8px;
    font-size: 0.75em;
    border-radius: 4px;
    opacity: 0.8;
    margin-left: 8px;
}

.drawer-item-delete-btn:hover {
    opacity: 1;
    transform: scale(1.05);
}

.drawer-item-url {
    font-size: 0.8em;
    opacity: 0.7;
    word-break: break-all;
    margin-top: 4px;
    font-family: monospace;
}

.drawer-actions {
    display: flex;
    gap: 5px;
    margin-left: auto;
}

.drawer-delete-btn {
    background: linear-gradient(45deg, #E74C3C, #C0392B);
    padding: 4px 8px;
    font-size: 0.75em;
    border-radius: 4px;
    opacity: 0.8;
}

.drawer-delete-btn:hover {
    opacity: 1;
}

.drawer-add-track-btn {
    background: linear-gradient(45deg, #4ECDC4, #44A08D);
    padding: 6px 12px;
    font-size: 0.8em;
    border-radius: 15px;
    margin: 10px;
}

.create-drawer-section {
    margin-top: 20px;
    text-align: center;
}

.create-drawer-btn {
    background: linear-gradient(45deg, #9B59B6, #8E44AD);
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3);
    padding: 12px 30px;
    font-size: 1em;
}

.create-drawer-btn:hover {
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.4);
}

/* Scrollbar Styling */
.drawer-content::-webkit-scrollbar,
.playlist::-webkit-scrollbar {
    width: 8px;
}

.drawer-content::-webkit-scrollbar-track,
.playlist::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.drawer-content::-webkit-scrollbar-thumb,
.playlist::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.drawer-content::-webkit-scrollbar-thumb:hover,
.playlist::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Inline Form Styles */
.share-dialog {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.share-dialog-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.2em;
    text-align: center;
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.share-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: background 0.2s ease;
}

.share-checkbox-label:hover {
    background: rgba(255, 255, 255, 0.05);
}

.share-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.share-url-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.share-url-input {
    flex: 1;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9em;
    font-family: monospace;
}

.share-copy-btn {
    background: linear-gradient(45deg, #4ECDC4, #44A08D);
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 8px;
}

.share-close-btn {
    width: 100%;
    background: linear-gradient(45deg, #95a5a6, #7f8c8d);
    padding: 10px;
    font-size: 0.9em;
    border-radius: 8px;
}

/* Inline Form Styles */
.new-collection-form,
.new-track-form {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1em;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.form-btn {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 8px;
}

.save-btn {
    background: linear-gradient(45deg, #4ECDC4, #44A08D) !important;
}

.cancel-btn {
    background: linear-gradient(45deg, #95a5a6, #7f8c8d) !important;
}

.add-track-section {
    margin: 10px;
}

.drawer-add-track-toggle {
    background: linear-gradient(45deg, #4ECDC4, #44A08D);
    padding: 8px 16px;
    font-size: 0.85em;
    border-radius: 8px;
    width: 100%;
}

.new-track-form {
    margin-top: 10px;
}

.track-url-input,
.track-title-input {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 20px;
    }
	
	.header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    h1 {
        font-size: 2em;
    }
	
	.dark-mode-toggle {
        width: 45px;
        height: 45px;
        font-size: 1.1em;
    }
    
    .controls {
        gap: 10px;
    }
    
    button {
        padding: 10px 16px;
        font-size: 0.9em;
    }
    
    .add-track {
        flex-direction: column;
    }
    
    input[type="url"] {
        min-width: auto;
        width: 100%;
    }
    
    .playlist-controls {
        gap: 8px;
    }
    
    .control-btn {
        padding: 8px 16px;
        font-size: 0.8em;
    }

    .drawers-title {
        font-size: 1.2em;
    }

    .drawer-header {
        padding: 12px 15px;
    }

    .drawer-title {
        font-size: 1em;
    }

    .drawer-item {
        padding: 10px 15px;
    }
    
    /* Compress "Add All to Playlist" button to green + on mobile */
    .drawer-add-all-btn {
        padding: 0;
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 50%;
        font-size: 1.5em;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    
    .drawer-add-all-btn-text {
        display: none;
    }
    
    .drawer-add-all-btn::before {
        content: '+';
        font-weight: bold;
    }
    
    /* Filters section mobile styles */
    .filters-section {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .filter-group {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .filter-label {
        font-size: 1em;
    }
    
    .subject-type-select,
    .hypnotist-type-select {
        width: 100%;
        min-width: auto;
    }
}

/* Dark mode styles */
body.dark-mode {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d30 100%);
    color: #e0e0e0;
}

body.dark-mode .container {
    background: rgba(20, 20, 20, 0.95);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-mode .player-section,
body.dark-mode .playlist-section,
body.dark-mode .drawers-section {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode input[type="url"] {
    background: rgba(40, 40, 40, 0.9);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode input[type="url"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

body.dark-mode .playlist {
    background: rgba(0, 0, 0, 0.6);
}

body.dark-mode .track-item {
    background: rgba(30, 30, 30, 0.7);
    color: #e0e0e0;
}

body.dark-mode .track-item:hover {
    background: rgba(50, 50, 50, 0.8);
}

body.dark-mode .track-item.current {
    background: rgba(80, 40, 40, 0.8);
    border-left-color: #cc5555;
}

body.dark-mode .status.playing {
    background: rgba(40, 80, 78, 0.8);
    border: 1px solid rgba(78, 205, 196, 0.3);
    color: #66b3b0;
}

body.dark-mode .status.error {
    background: rgba(80, 40, 40, 0.8);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #cc8888;
}

body.dark-mode .loop-indicator {
    background: rgba(80, 75, 30, 0.8);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #d4b85a;
}

/* Dark mode toggle adjustments */
body.dark-mode .dark-mode-toggle {
    background: rgba(60, 60, 60, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: #e0e0e0;
}

body.dark-mode .dark-mode-toggle:hover {
    background: rgba(80, 80, 80, 0.9);
}

/* Dark mode button styles */
body.dark-mode button:not(.dark-mode-toggle) {
    background: linear-gradient(45deg, #3a3a3a, #2d2d2d);
    opacity: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode button:not(.dark-mode-toggle):hover {
    background: linear-gradient(45deg, #4a4a4a, #3d3d3d);
    opacity: 1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
}

/* Specific dark mode overrides for colored buttons */
body.dark-mode .add-btn {
    background: linear-gradient(45deg, #2d4a47, #1f3530) !important;
}

body.dark-mode .add-btn:hover {
    background: linear-gradient(45deg, #3a5a57, #2d4540) !important;
}

body.dark-mode .clear-btn {
    background: linear-gradient(45deg, #4a2d2d, #351f1f) !important;
}

body.dark-mode .clear-btn:hover {
    background: linear-gradient(45deg, #5a3a3a, #452d2d) !important;
}

body.dark-mode .import-btn {
    background: linear-gradient(45deg, #2d3a4a, #1f2735) !important;
}

body.dark-mode .import-btn:hover {
    background: linear-gradient(45deg, #3a4a5a, #2d3545) !important;
}

body.dark-mode .export-btn {
    background: linear-gradient(45deg, #3a2d4a, #2a1f35) !important;
}

body.dark-mode .export-btn:hover {
    background: linear-gradient(45deg, #4a3a5a, #3a2d45) !important;
}

body.dark-mode .save-drawer-btn {
    background: linear-gradient(45deg, #2d3a4a, #1f2735) !important;
}

body.dark-mode .save-drawer-btn:hover {
    background: linear-gradient(45deg, #3a4a5a, #2d3545) !important;
}

body.dark-mode .share-btn {
    background: linear-gradient(45deg, #4a3a2d, #35271f) !important;
}

body.dark-mode .share-btn:hover {
    background: linear-gradient(45deg, #5a4a3a, #45372d) !important;
}

body.dark-mode .drawer-add-all-btn {
    background: linear-gradient(45deg, #2d4a47, #1f3530) !important;
}

body.dark-mode .drawer-add-all-btn:hover {
    background: linear-gradient(45deg, #3a5a57, #2d4540) !important;
}

body.dark-mode .auto-shuffle-on {
    background: linear-gradient(45deg, #2d4a47, #1f3530) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6) !important;
}

body.dark-mode .auto-shuffle-off {
    background: rgba(60, 60, 60, 0.6) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .loop-on {
    background: linear-gradient(45deg, #3a2d4a, #2a1f35) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6) !important;
}

body.dark-mode .loop-off {
    background: rgba(60, 60, 60, 0.6) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .remove-btn {
    background: linear-gradient(45deg, #4a2d2d, #351f1f);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Dark mode drawer styles */
body.dark-mode .drawer {
    background: rgba(0, 0, 0, 0.3);
}

body.dark-mode .drawer-header {
    background: rgba(30, 30, 30, 0.7);
}

body.dark-mode .drawer-header:hover {
    background: rgba(40, 40, 40, 0.8);
}

body.dark-mode .drawer-content {
    background: rgba(0, 0, 0, 0.4);
}

body.dark-mode .drawer-item {
    background: rgba(30, 30, 30, 0.6);
}

body.dark-mode .drawer-item:hover {
    background: rgba(40, 80, 78, 0.5);
    border-left-color: #66b3b0;
}

body.dark-mode .drawer-item:active {
    background: rgba(40, 80, 78, 0.7);
}

body.dark-mode .drawer-item-url {
    opacity: 0.6;
}

body.dark-mode .create-drawer-btn {
    background: linear-gradient(45deg, #3a2d4a, #2a1f35) !important;
}

body.dark-mode .create-drawer-btn:hover {
    background: linear-gradient(45deg, #4a3a5a, #3a2d45) !important;
}

body.dark-mode .drawer-add-track-btn {
    background: linear-gradient(45deg, #2d4a47, #1f3530) !important;
}

body.dark-mode .drawer-add-track-btn:hover {
    background: linear-gradient(45deg, #3a5a57, #2d4540) !important;
}

body.dark-mode .drawer-delete-btn {
    background: linear-gradient(45deg, #4a2d2d, #351f1f) !important;
}

body.dark-mode .drawer-delete-btn:hover {
    background: linear-gradient(45deg, #5a3a3a, #452d2d) !important;
}

body.dark-mode .drawer-item-delete-btn {
    background: linear-gradient(45deg, #4a2d2d, #351f1f) !important;
}

body.dark-mode .drawer-item-delete-btn:hover {
    background: linear-gradient(45deg, #5a3a3a, #452d2d) !important;
}

/* Dark mode form styles */
body.dark-mode .share-dialog {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .share-checkbox-label:hover {
    background: rgba(255, 255, 255, 0.03);
}

body.dark-mode .share-url-input {
    background: rgba(40, 40, 40, 0.9);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .share-copy-btn {
    background: linear-gradient(45deg, #2d4a47, #1f3530) !important;
}

body.dark-mode .share-copy-btn:hover {
    background: linear-gradient(45deg, #3a5a57, #2d4540) !important;
}

body.dark-mode .share-close-btn {
    background: linear-gradient(45deg, #4a4a4a, #3a3a3a) !important;
}

body.dark-mode .share-close-btn:hover {
    background: linear-gradient(45deg, #5a5a5a, #4a4a4a) !important;
}

/* Dark mode form styles */
body.dark-mode .new-collection-form,
body.dark-mode .new-track-form {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .form-group input {
    background: rgba(40, 40, 40, 0.9);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .save-btn {
    background: linear-gradient(45deg, #2d4a47, #1f3530) !important;
}

body.dark-mode .save-btn:hover {
    background: linear-gradient(45deg, #3a5a57, #2d4540) !important;
}

body.dark-mode .cancel-btn {
    background: linear-gradient(45deg, #4a4a4a, #3a3a3a) !important;
}

body.dark-mode .cancel-btn:hover {
    background: linear-gradient(45deg, #5a5a5a, #4a4a4a) !important;
}

body.dark-mode .drawer-add-track-toggle {
    background: linear-gradient(45deg, #2d4a47, #1f3530) !important;
}

body.dark-mode .drawer-add-track-toggle:hover {
    background: linear-gradient(45deg, #3a5a57, #2d4540) !important;
}

/* Dark mode filters styles */
body.dark-mode .filters-section {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .filter-label {
    color: #e0e0e0;
}

body.dark-mode .subject-type-select,
body.dark-mode .hypnotist-type-select {
    background: linear-gradient(135deg, rgba(60, 60, 60, 0.8), rgba(40, 40, 40, 0.9));
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: #e0e0e0;
}

body.dark-mode .subject-type-select:hover,
body.dark-mode .hypnotist-type-select:hover {
    background: linear-gradient(135deg, rgba(80, 80, 80, 0.9), rgba(60, 60, 60, 1));
    border-color: rgba(255, 255, 255, 0.25);
}

body.dark-mode .subject-type-select:focus,
body.dark-mode .hypnotist-type-select:focus {
    border-color: rgba(78, 205, 196, 0.6);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.15);
}

body.dark-mode .subject-type-select option,
body.dark-mode .hypnotist-type-select option {
    background: #1a1a1a;
    color: #e0e0e0;
}

