/* CSS Design System - Cities and Memory Style Alignment */

:root {
    --bg-base: #f9f9f9;
    --bg-surface: #ffffff;
    --bg-surface-hover: #fafafa;
    --bg-card: #ffffff;
    --border-color: #e0e0e0;
    --border-hover: #9d0e1c;
    
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #888888;
    
    /* Brand Accent Colors */
    --brand-red: #9d0e1c;
    --brand-red-hover: #7d0a14;
    --brand-red-light: rgba(157, 14, 28, 0.06);
    --brand-red-light-hover: rgba(157, 14, 28, 0.12);
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-body: 'Josefin Sans', 'Arial', sans-serif;
    --font-headers: 'Plus Jakarta Sans', 'Arial', sans-serif;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 120px; /* Space for the persistent bottom audio player */
}

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

/* Header Section (Cities and Memory Branding) */
.hero-header {
    padding: 60px 0 30px;
    text-align: center;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
}

.brand-logo-container {
    margin-bottom: 30px;
    display: inline-block;
}

.brand-logo-text {
    font-family: var(--font-headers);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 4px;
    line-height: 1;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.brand-tagline {
    font-family: var(--font-headers);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 2px;
    display: block;
    margin-top: 4px;
}

.hero-header h1 {
    font-family: var(--font-headers);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-transform: capitalize;
}

.hero-header .subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.header-divider {
    width: 50px;
    height: 2px;
    background-color: var(--brand-red);
    margin: 24px auto 0;
}

/* Toolbar - Filters and Search */
.toolbar-section {
    margin: 40px 0;
}

.toolbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 14px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 16px;
    font-family: var(--font-headers);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    color: var(--brand-red);
    border-color: var(--brand-red);
    background: var(--brand-red-light);
}

.filter-btn.active {
    color: #ffffff;
    background: var(--brand-red);
    border-color: var(--brand-red);
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 4px;
    width: 280px;
    max-width: 100%;
    transition: var(--transition-smooth);
}

.search-box:focus-within {
    border-color: var(--brand-red);
}

.search-icon {
    color: var(--text-muted);
    margin-right: 10px;
    font-size: 0.85rem;
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    width: 100%;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.clear-search-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 2px;
    display: none;
    transition: color 0.2s;
}

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

/* Gallery Section & Grid */
.gallery-section {
    padding-bottom: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Loading and Empty State */
.loading-state, .empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    color: var(--text-secondary);
    gap: 16px;
    text-align: center;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--brand-red);
    animation: spin 0.8s linear infinite;
}

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

.empty-state i {
    font-size: 2.5rem;
    color: var(--text-muted);
}

/* Card Styling */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-red);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Media Thumbnail Container */
.card-media {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-media img {
    transform: scale(1.05);
}

/* Specific Card Type Designs */

/* Audio Card style */
.audio-card-media {
    background: linear-gradient(135deg, #1f1a1a 0%, #110d0d 100%);
    flex-direction: column;
    gap: 12px;
}

.audio-artwork-symbol {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-red);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.card:hover .audio-artwork-symbol {
    color: #ffffff;
    background: var(--brand-red);
    border-color: var(--brand-red);
}

.wave-graphic {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 24px;
}

.wave-graphic span {
    display: block;
    width: 2.5px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1px;
    transition: var(--transition-smooth);
}

.card:hover .wave-graphic span {
    background: var(--brand-red);
}
.card:hover .wave-graphic span:nth-child(even) { height: 20px; }
.card:hover .wave-graphic span:nth-child(odd) { height: 12px; }

/* Text/Document Card Design */
.text-card-media {
    background: #1a1616;
    padding: 20px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
}

.poem-preview-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.poem-icon {
    font-size: 1.4rem;
    color: var(--brand-red);
    margin-bottom: 8px;
}

.poem-excerpt {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-style: italic;
    color: #d8d8d8;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Play button overlay */
.media-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.card:hover .media-overlay {
    opacity: 1;
}

.play-action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--brand-red);
    border: none;
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}

.play-action-btn:hover {
    transform: scale(1.1);
    background: var(--brand-red-hover);
}

.play-action-btn i {
    margin-left: 2px;
}

.play-action-btn.open-pdf i {
    margin-left: 0;
}

/* Card Content Details */
.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-type-tag {
    align-self: flex-start;
    padding: 3px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: var(--font-headers);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    margin-bottom: 12px;
    background: #f0f0f0;
    color: #555555;
    border: 1px solid #e0e0e0;
}

.card:hover .card-type-tag {
    border-color: var(--brand-red-light-hover);
    background: var(--brand-red-light);
    color: var(--brand-red);
}

.card h2 {
    font-family: var(--font-headers);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.card-submitter {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}

.submitter-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-headers);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.card:hover .submitter-avatar {
    border-color: var(--brand-red);
    color: var(--brand-red);
    background: var(--brand-red-light);
}

.submitter-details {
    display: flex;
    flex-direction: column;
}

.submitter-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-family: var(--font-headers);
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.submitter-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Modals System styling */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.7);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-dialog {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: 100%;
    max-width: 680px;
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.97);
    transition: transform 0.3s ease;
}

.modal.active .modal-dialog {
    transform: scale(1);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.modal-category-tag {
    font-size: 0.65rem;
    font-family: var(--font-headers);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--brand-red);
    display: block;
    margin-bottom: 4px;
}

.modal-header h3 {
    font-family: var(--font-headers);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-author {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.close-modal-btn {
    background: #f5f5f5;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.close-modal-btn:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #ffffff;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex-grow: 1;
}

/* Lightbox Modal (Specially for Images) */
.lightbox-modal {
    padding: 0;
    background: rgba(10, 10, 10, 0.95);
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
    margin-top: 16px;
    text-align: center;
    max-width: 600px;
    color: #ffffff;
}

.lightbox-caption h3 {
    font-family: var(--font-headers);
    font-size: 1.3rem;
    font-weight: 600;
}

.lightbox-caption p {
    font-size: 0.85rem;
    color: #cccccc;
    margin-top: 2px;
}

.lightbox-modal .close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.lightbox-modal .close-modal-btn:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
}

/* Poetry Modal text layout */
.text-reader-body {
    background: #fbfbfb;
}

.poetry-layout {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    white-space: pre-wrap;
    word-break: break-word;
    tab-size: 4;
}

/* Video Modal Dialog size */
.video-dialog {
    max-width: 800px;
}

.video-player-body {
    padding: 0;
    background: #000;
    display: flex;
    flex-direction: column;
}

.video-player-body video {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    display: block;
}

.video-modal-controls {
    padding: 12px 20px;
    background: #1c1818;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.screenshot-btn {
    background: var(--brand-red);
    border: none;
    color: #ffffff;
    padding: 8px 16px;
    font-family: var(--font-headers);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.screenshot-btn:hover {
    background: var(--brand-red-hover);
}

/* PDF Modal Dialog size */
.pdf-dialog {
    max-width: 900px;
    height: 90vh;
}

.pdf-reader-body {
    padding: 0;
    height: 100%;
    background: #eaeaea;
}

.pdf-reader-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Persistent Bottom Audio Player */
.persistent-audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111111;
    border-top: 2px solid var(--brand-red);
    padding: 16px 24px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.persistent-audio-player.active {
    transform: translateY(0);
}

.player-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.track-info {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 25%;
    min-width: 180px;
}

.pulse-icon {
    display: flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 14px;
}

.pulse-icon span {
    width: 2px;
    height: 3px;
    background-color: var(--brand-red);
    border-radius: 0.5px;
    display: block;
}

.sound-wave-active span {
    animation: bounce-wave 0.8s ease-in-out infinite alternate;
}

.sound-wave-active span:nth-child(2) { animation-delay: 0.15s; }
.sound-wave-active span:nth-child(3) { animation-delay: 0.3s; }
.sound-wave-active span:nth-child(4) { animation-delay: 0.45s; }

@keyframes bounce-wave {
    0% { height: 3px; }
    100% { height: 14px; }
}

.track-details {
    overflow: hidden;
}

.track-title {
    font-family: var(--font-headers);
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    font-size: 0.75rem;
    color: #aaaaaa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Audio Player Controls */
.player-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-grow: 1;
    justify-content: center;
    max-width: 50%;
}

.play-pause-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand-red);
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background-color 0.2s;
    flex-shrink: 0;
}

.play-pause-btn:hover:not(:disabled) {
    transform: scale(1.05);
    background-color: var(--brand-red-hover);
}

.play-pause-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
}

.time-display {
    font-size: 0.72rem;
    color: #888888;
    font-family: monospace;
    width: 38px;
}

#currentTimeDisplay {
    text-align: right;
}

.progress-bar {
    height: 4px;
    background: #333333;
    border-radius: 2px;
    flex-grow: 1;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--brand-red);
    width: 0%;
    position: relative;
    border-radius: 2px;
}

/* Audio visualizer canvas */
.player-visualizer {
    width: 25%;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.player-visualizer canvas {
    width: 100%;
    height: 100%;
    max-width: 180px;
    opacity: 0.8;
}

/* Footer Section */
.exhibition-footer {
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface);
}

.exhibition-footer p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.exhibition-footer .sub-footer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Responsive Design tweaks */
@media (max-width: 900px) {
    .player-container {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .track-info, .player-controls, .player-visualizer {
        width: 100%;
        max-width: 100%;
    }
    
    .player-visualizer {
        display: none;
    }
    
    .hero-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .toolbar-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        overflow-x: auto;
        padding-bottom: 6px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .hero-header {
        padding: 40px 0 24px;
    }
    
    .hero-header h1 {
        font-size: 1.8rem;
    }
    
    .brand-logo-text {
        font-size: 1.4rem;
    }
}

/* View Switcher & List Mode Styling */
.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.view-toggle-group {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.view-toggle-btn {
    background: #ffffff;
    border: none;
    color: var(--text-secondary);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle-btn:hover {
    color: var(--brand-red);
    background: var(--brand-red-light);
}

.view-toggle-btn.active {
    background: var(--brand-red);
    color: #ffffff;
}

/* List View layout styles */
.gallery-grid.list-mode {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.list-row {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    cursor: pointer;
}

.list-row:hover {
    border-color: var(--brand-red);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.list-row-main {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-grow: 1;
    min-width: 0;
}

.list-row-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fdfdfd;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.list-row:hover .list-row-icon {
    background: var(--brand-red-light);
    color: var(--brand-red);
    border-color: var(--brand-red);
}

.list-row-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.list-row-title {
    font-family: var(--font-headers);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-row-artist {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.list-row-tag {
    font-size: 0.65rem;
    font-family: var(--font-headers);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    background: #f0f0f0;
    border-radius: 2px;
    color: #555555;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.list-row:hover .list-row-tag {
    background: var(--brand-red-light);
    color: var(--brand-red);
}

.list-row-action {
    flex-shrink: 0;
}

.list-action-btn {
    background: transparent;
    border: 1px solid var(--brand-red);
    color: var(--brand-red);
    padding: 6px 14px;
    font-family: var(--font-headers);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.list-action-btn:hover {
    background: var(--brand-red);
    color: #ffffff;
}

/* List view mobile styles */
@media (max-width: 600px) {
    .list-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }
    
    .list-row-main {
        width: 100%;
    }
    
    .list-row-title {
        white-space: normal;
    }
    
    .list-row-tag {
        align-self: flex-start;
    }
    
    .list-row-action {
        align-self: flex-end;
    }
    
    .toolbar-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    
    .view-toggle-group {
        justify-content: center;
    }
    
    .view-toggle-btn {
        flex-grow: 1;
    }
}
