/* Base Styles - Artistic Tech-Forward Theme */
:root {
    /* Light Mode (Default) */
    --primary-color: #764ba2;
    --primary-light: #9370db;
    --secondary-color: #667eea;
    --accent-color: #f093fb;
    --background-color: #F7F7F2;
    --surface-color: #FFFFFF;
    --surface-elevated: #FAFAFA;
    --text-primary: #2D3142;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
    --error-color: #EF4444;
    --success-color: #10B981;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Dark Mode */
[data-theme="dark"] {
    --primary-color: #9370db;
    --primary-light: #b19cd9;
    --secondary-color: #667eea;
    --accent-color: #f093fb;
    --background-color: #0F0F1E;
    --surface-color: #1A1A2E;
    --surface-elevated: #252538;
    --text-primary: #EAEAEA;
    --text-secondary: #9CA3AF;
    --border-color: #2D2D44;
    --error-color: #F87171;
    --success-color: #34D399;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Desktop layout: place now-playing and controls on the same row */
@media (min-width: 769px) {
    /* Use grid to position major sections */
    #player {
        display: grid;
        grid-template-columns: 1fr auto; /* now-playing grows, controls auto width */
        grid-template-areas:
            "meta       meta"
            "nowplaying controls"
            "nowplaying volume"
            "playlist   playlist";
        column-gap: 24px;
        row-gap: 16px;
    }

    .now-playing {
        grid-area: nowplaying;
        margin-bottom: 0; /* remove extra spacing when side-by-side */
    }

    .controls {
        grid-area: controls;
        justify-content: flex-start; /* align buttons to the left in the right column */
        margin: 0; /* remove vertical margins in grid */
        align-self: center; /* vertically center relative to now playing */
    }

    .volume-control {
        grid-area: volume;
        justify-content: flex-start;
        margin: 0; /* tighten spacing when placed under controls */
        align-self: start;
    }

    .playlist {
        grid-area: playlist;
    }
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding: 20px 0;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.header-actions {
    position: absolute;
    top: 20px;
    right: 0;
    display: flex;
    gap: 10px;
}

.icon-btn {
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.icon-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Login Section */
#login {
    text-align: center;
    margin: 50px 0;
}

.note {
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Player Section */
#player {
    background-color: var(--surface-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Playlist Header */
.playlist-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.playlist-header h3 {
    margin: 0 0 5px 0;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.playlist-subtitle {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Centered, fixed-width player on large screens */
.player-wrapper {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

/* Add spacing between consecutive wrapper sections (dashboard -> player, player -> bottom info) */
.player-wrapper + .player-wrapper {
    margin-top: 20px;
}

.now-playing {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

/* Consolidated visual (YouTube player replaces album art in this slot) */
.now-playing .visual {
    position: relative;
    width: 420px;              /* desktop default width */
    aspect-ratio: 16 / 9;      /* maintain video aspect */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-right: 25px;
    flex-shrink: 0;
}

/* Make the YouTube player fill the visual area */
.now-playing .visual #yt-player-container,
.now-playing .visual #youtube-player {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

/* Ensure the injected iframe from YouTube also fills */
.now-playing .visual #youtube-player iframe {
    width: 100% !important;
    height: 100% !important;
}

/* Album art when shown inside the visual container */
.now-playing .visual img.album-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

/* Document metadata (title, topic, summary) above the player */
.doc-meta {
    margin-bottom: 14px;
}
.doc-title {
    font-size: 1.4rem;
    line-height: 1.2;
    margin: 0 0 6px;
}
.doc-topic {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 2px 0 8px;
}
.doc-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.doc-topic-value {
    font-size: 1rem;
    color: var(--text-primary);
}
.doc-summary {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Default album art style when not inside the consolidated visual */
.album-art {
    width: 150px;
    height: 150px;
    border-radius: 5px;
    object-fit: cover;
    margin-right: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.track-info {
    flex: 1;
}

.track-info h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-local {
    background: rgba(147, 112, 219, 0.15);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    font-weight: 600;
}

.badge-running {
    background: rgba(6, 214, 160, 0.15);
    color: #06D6A0;
    border: 1px solid rgba(6, 214, 160, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.badge-pending {
    background: rgba(239, 71, 111, 0.15);
    color: #EF476F;
    border: 1px solid rgba(239, 71, 111, 0.4);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.job-item {
    opacity: 0.9;
}

.job-link {
    cursor: pointer;
}

.job-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.job-status {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

.track-info p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 4px;
    background-color: #404040;
    border-radius: 2px;
    margin: 15px 0;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: width 0.1s linear;
}

.time-display {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Controls */
.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px 0;
}

.btn-control {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    margin: 0 15px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-control:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

#play-pause {
    background-color: var(--primary-color);
    width: 60px;
    height: 60px;
}

#play-pause:hover {
    transform: scale(1.1);
    background-color: #1ed760;
}

/* Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 30px;
}

.volume-control input[type="range"] {
    width: 150px;
    margin: 0 10px;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: #404040;
    outline: none;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

/* Playlist */
.playlist {
    margin-top: 30px;
}

/* Header row inside player playlist (title + actions) */
.playlist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.playlist h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

#playlist {
    list-style: none;
    max-height: 300px;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 10px 0;
}

#playlist li {
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
}

#playlist li:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

#playlist li.playing {
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

#playlist li .track-number {
    margin-right: 15px;
    color: var(--text-secondary);
    width: 20px;
    text-align: right;
}

#playlist li.playing .track-number {
    color: var(--primary-color);
}

#playlist li .track-info {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#playlist li .badges {
    margin-left: 10px;
}

#playlist li .track-title {
    font-weight: 500;
}

#playlist li .track-artist {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.4);
}

/* Section cards (Create / My Playlists / Import) */
.section {
    background-color: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    font-size: 0.95rem;
    transition: box-shadow 0.2s ease;
}

.section:hover {
    box-shadow: var(--shadow-lg);
}

.section h2 {
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.section p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* Themed compact inputs */
.section input[type="text"],
.section textarea,
.section select {
    width: 100%;
    background: var(--surface-color);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.section textarea {
    min-height: 88px;
    resize: vertical;
    font-family: inherit;
}

.section input[type="text"]:focus,
.section textarea:focus,
.section select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.15);
    background: var(--surface-elevated);
}

.section input[type="text"]::placeholder,
.section textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.section .btn {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.95rem;
}

/* Secondary button (neutral) */
.btn.btn-secondary {
    background-color: var(--surface-elevated);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}
.btn.btn-secondary:hover {
    background-color: var(--border-color);
    border-color: var(--text-secondary);
}

/* Compact vertical rhythm for form rows */
.field-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* ------------------------------
   Modal overlay (Import by ID)
   ------------------------------ */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.hidden {
    display: none !important;
}

.modal .dialog {
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-lg);
}

/* ------------------------------
   Access Denied Overlay
   ------------------------------ */
.access-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.access-overlay.hidden {
    display: none !important;
}

.access-dialog {
    background: var(--surface-color);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 32px;
    width: 90%;
    max-width: 520px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.access-dialog h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.access-dialog p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.access-dialog .access-note {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.access-dialog .access-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.access-dialog .btn {
    padding: 14px 32px;
    font-size: 1.05rem;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #282828;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #535353;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #636363;
}

/* Responsive Design */
@media (max-width: 768px) {
    .now-playing {
        flex-direction: column;
        text-align: center;
    }

    .now-playing .visual {
        width: 100%;
        max-width: 540px;   /* cap on small screens */
        margin-right: 0;
        margin-bottom: 16px;
        position: relative;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
    }

    .now-playing .visual iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    /* Fallback album art size when used outside visual on mobile */
    .album-art {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

/* Error State */
#error {
    background-color: var(--error-color);
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    display: none;
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    z-index: 10;
}

/* Inline spinner for doc generation */
.spinner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.spinner.hidden {
    display: none !important;
}

.spinner .ring {
    width: 16px;
    height: 16px;
    border: 2px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ------------------------------
   Saved Playlists (single-line)
   ------------------------------ */
.playlist-list {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 0;
}

/* Prevent My Playlists from growing unbounded; add internal scroll */
#my-playlists .playlist-list {
    max-height: 280px;
    overflow: auto;
}

.playlist-list li {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.playlist-list li:last-child {
    border-bottom: none;
}

.playlist-list .saved-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.playlist-list .saved-title {
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Make saved title appear like a text link button */
.playlist-list .saved-title.as-link {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    width: 100%;
}
.playlist-list .saved-title.as-link:hover {
    color: #9ad;
}

.playlist-list .saved-meta {
    color: var(--text-secondary);
    font-weight: 500;
    margin-left: 6px;
    font-size: 0.9rem;
}

.playlist-list .saved-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.playlist-list .btn {
    padding: 6px 10px;
    font-size: 0.85rem;
    border-radius: 6px;
}

.playlist-list .btn.btn-secondary {
    background-color: var(--surface-elevated);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.playlist-list .btn.btn-secondary:hover {
    background-color: var(--border-color);
    border-color: var(--text-secondary);
}

/* Player secondary actions row (e.g., share current) */
.player-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 8px 0 8px;
}

/* ------------------------------
   Dashboard 3-column layout
   ------------------------------ */
.dashboard-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 1024px) {
    .dashboard-row {
        grid-template-columns: 1fr 1fr 1fr;
        align-items: start;
        gap: 20px;
    }
    .dashboard-row .section {
        height: 100%;
    }
}

/* Settings Modal */
.modal-content {
    background: var(--surface-color);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    margin: 0;
    color: var(--primary-color);
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.close-btn:hover {
    color: var(--text-primary);
}

.modal-body h3 {
    color: var(--text-primary);
    margin-bottom: 12px;
}

.settings-note {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.15);
    background: var(--surface-elevated);
}

.form-group input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.form-group input[readonly] {
    background: var(--surface-elevated);
    cursor: not-allowed;
    opacity: 0.7;
}

.form-group small {
    display: block;
    margin-top: 4px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.settings-actions {
    display: flex;
    gap: 12px;
    margin: 24px 0;
}

.settings-help {
    margin-top: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.settings-help summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.settings-help ol {
    margin: 12px 0 0 20px;
    color: var(--text-secondary);
}

.settings-help li {
    margin: 8px 0;
}

.settings-help ul {
    margin: 8px 0 0 20px;
}

.settings-help code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    color: var(--primary-color);
}

/* Access Denied Overlay Updates */
.access-options {
    margin-top: 24px;
}

.access-option {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.access-option h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.access-option ol {
    margin: 12px 0 12px 20px;
    text-align: left;
}

.access-option li {
    margin: 8px 0;
    color: var(--text-secondary);
}

.access-option code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    color: var(--primary-color);
}

.access-option-divider {
    text-align: center;
    color: var(--text-secondary);
    margin: 20px 0;
    font-weight: 600;
}

/* New rows: create (full width) then two-column (playlists + import) */
.dashboard-row-one {
    display: block;
    margin-bottom: 16px;
}

.dashboard-row-two {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.dashboard-row-two .dashboard-col { min-width: 0; }

@media (min-width: 768px) {
    .dashboard-row-two {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}
