/* Briefing with MSN - Main Styles */

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

body {
    font-family: Arial, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #edeff1 0%, #e2e8f0 50%, #cbd5e1 100%);
    min-height: 100vh;
    padding: 20px;
    color: #1e293b;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: rgb(248, 248, 248);
    border-radius: 24px;
    padding: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
    z-index: -1;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.status-bar {
    text-align: center;
    margin-bottom: 16px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.status-ok {
    color: #16a34a;
}

.status-error {
    color: #dc2626;
}

.status-loading {
    color: #64748b;
}

.controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.control-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.control-group:first-child {
    flex: 0 0 120px;
}

.control-group:last-child {
    flex: 1;
    min-width: 200px;
}

.control-group label {
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
    text-align: left;
}

input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
}

input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: rgba(255, 255, 255, 1);
}

select {
    width: 120px;
    padding: 14px 12px 14px 18px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    appearance: none;
}

select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: rgba(255, 255, 255, 1);
}

select:hover {
    border-color: #3b82f6;
}

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

.action-button {
    padding: 14px 28px;
    border: none;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.025em;
    width: 260px;
    position: relative;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.action-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#extractNewsBtn {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
}

#extractNewsBtn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
}

#generateScriptBtn {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    color: white;
}

#generateScriptBtn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.35);
}

#generatePodcastBtn {
    background: linear-gradient(135deg, #34d399, #10b981);
    color: white;
}

#generatePodcastBtn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}

.panels {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 1200px) {
    .panels {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.panel {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    min-height: 300px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

.panel:hover {
    transform: translateY(-4px);
    border-color: rgba(148, 163, 184, 0.4);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
}

.panel-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-timestamp {
    font-size: 0.8rem;
    color: #64748b;
    font-style: italic;
    background: rgba(226, 232, 240, 0.5);
    padding: 4px 8px;
    border-radius: 8px;
}

/* Hide empty timestamp boxes */
.panel-timestamp:empty {
    display: none;
}

.panel-content {
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre-line;
    overflow-y: auto;
    max-height: 350px;
}

.panel-empty {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 50px 20px;
}

.loading {
    color: #3b82f6;
    font-style: italic;
    text-align: center;
    padding: 24px;
    font-weight: 500;
}

.error {
    color: #ef4444;
    font-weight: 600;
    text-align: center;
    padding: 24px;
}

audio {
    width: 100%;
    margin: 15px 0;
    border-radius: 10px;
}

.download-link {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.download-link:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
}

.news-title {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* Brief Now Player Styles */
.brief-player {
    background: linear-gradient(135deg, #1e40af, #3b82f6, #60a5fa);
    border-radius: 24px;
    padding: 32px 28px 28px 28px;
    margin-bottom: 20px;
    box-shadow: 0 25px 50px rgba(30, 64, 175, 0.25);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.brief-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.brief-player-content {
    position: relative;
    z-index: 2;
}

.brief-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.brief-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.news-title-display {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.15);
    padding: 16px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.play-button-container {
    margin: 16px 0;
    margin-bottom: 0px;
    height: 48px;
    position: relative;
    transition: opacity 0.3s ease;
}

.play-button-container.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    width: 200px;
    height: 48px;
    border-radius: 24px;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
    padding: 0 20px;
    min-width: unset;
    text-transform: none;
    letter-spacing: normal;
    font-size: 1rem;
    font-weight: 600;
    color: #3b82f6;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.play-button:hover {
    transform: translateX(-50%);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.play-button:active {
    transform: translateX(-50%) translateY(0);
}

.play-icon {
    font-size: 1rem;
    color: white;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-container {
    opacity: 0;
    transition: opacity 0.3s ease;
    height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 2;
}

.progress-container.visible {
    opacity: 1;
    pointer-events: auto;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-fill.generation {
    background: white;
}

.progress-fill.player {
    background: #3b82f6;
}

.progress-text {
    font-size: 0.85rem;
    opacity: 0.9;
    color: #f1f5f9;
    text-align: center;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

.audio-player {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    display: none;
    align-items: center;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    opacity: 1;
    pointer-events: auto;
}

.custom-audio-player {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 16px 0 10px;
}

.audio-controls {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.play-pause-btn {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 16px;
    transition: background-color 0.2s ease, transform 0.1s ease;
    flex-shrink: 0;
}

.play-pause-btn .play-icon,
.play-pause-btn .pause-icon {
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-pause-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 12px rgba(59, 130, 246, 0.3);
}

.play-pause-btn:active {
    transform: scale(0.95);
}

/* Brief Now Player Button - Smaller size for Brief Now box */
.brief-play-btn {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 14px;
    transition: background-color 0.2s ease, transform 0.1s ease;
    flex-shrink: 0;
}

.brief-play-btn .play-icon,
.brief-play-btn .pause-icon {
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brief-play-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 10px rgba(59, 130, 246, 0.3);
}

.brief-play-btn:active {
    transform: scale(0.95);
}

.audio-info {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.audio-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.progress-track {
    flex: 1;
    height: 4px;
    background: #E5E7EB;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: #3b82f6;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s;
}

.time-display {
    font-size: 10px;
    color: #6B7280;
    white-space: nowrap;
}

.audio-player audio {
    display: none;
}

/* Collapse Button Styles */
.collapse-section {
    text-align: center;
    margin: 12px 0;
}

.collapse-button {
    background: rgba(255, 255, 255, 0);
    color: #1e293b;
    border: 0px solid #e2e8f0;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    width: 160px;
}

.collapse-button:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.collapse-button:active {
    transform: translateY(0);
}

.chevron {
    transition: transform 0.3s ease;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chevron.rotated {
    transform: rotate(180deg);
}

/* Collapsible Content Styles */
.collapsible-content {
    transition: all 0.3s ease;
    overflow: hidden;
}

.collapsible-content.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.collapsible-content:not(.collapsed) {
    max-height: 2000px;
    opacity: 1;
}

/* Sequence Page Specific Styles */
.error-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ef4444;
    color: white;
    padding: 16px;
    border-radius: 8px;
    z-index: 1000;
    font-family: Arial, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.error-state-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.error-state-title {
    color: #ef4444;
    margin-bottom: 12px;
}

.error-state-message {
    color: #94a3b8;
    margin-bottom: 20px;
}

.try-again-button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-family: Arial, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.podcast-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.podcast-title-row .podcast-title {
    margin: 0;
}

.podcast-title-row .podcast-status {
    margin: 0;
    font-size: 0.8rem;
    padding: 4px 8px;
}

.play-btn.playing {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}

.play-btn.not-playing {
    background: linear-gradient(135deg, #3b82f6, #1e40af) !important;
}

.script-window-body {
    font-family: Arial, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 40px;
    line-height: 1.6;
}

.script-window-pre {
    white-space: pre-wrap;
    font-family: inherit;
}

.loading-spinner {
    margin-right: 8px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Sequence Page Specific Styles */
.sequence-header {
    margin-top: 40px;
    text-align: center;
    margin-bottom: 30px;
}

.sequence-title {
    font-size: 2.8rem;
    font-weight: 600;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.sequence-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 400;
}

.play-all-button-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.play-all-button {
    padding: 16px 32px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-all-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(59, 130, 246, 0.3);
}

.play-all-button svg {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

/* Global Audio Player Styles */
.global-audio-player {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(226, 232, 240, 0.6);
    margin-bottom: 30px;
}

.player-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.player-info {
    flex: 1;
    min-width: 200px;
}

.current-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.current-meta {
    font-size: 0.85rem;
    color: #64748b;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.prev-btn, .next-btn {
    padding: 8px;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.global-audio {
    display: none;
}

.progress-section {
    margin-top: 12px;
}

.progress-track {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s;
}

.time-display {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 0.8rem;
    color: #64748b;
}

/* Podcast Library Styles */
.podcast-library {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    padding-bottom: 14px;
    margin: 30, 0, 0, 0;
    border: 1px solid rgba(226, 232, 240, 0.6);
}

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

.library-header h3 {
    color: #1e293b;
    margin: 0;
    font-size: 1.2rem;
}

.library-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.search-input {
    padding: 8px 12px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    font-size: 0.9rem;
    width: 200px;
}

.refresh-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
}

.loading-indicator {
    text-align: center;
    padding: 40px;
    color: #64748b;
    font-style: italic;
}

.loading-spinner-inline {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

.podcast-list {
    display: block !important;
}

/* Ensure podcast items are visible */
.podcast-item {
    display: flex !important;
}

.empty-state {
    display: none;
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.empty-state-icon svg {
    color: #94a3b8;
}

.empty-state h4 {
    color: #64748b;
    margin-bottom: 12px;
}

.empty-state p {
    color: #94a3b8;
    margin-bottom: 20px;
}

.empty-state a {
    padding: 12px 24px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
}

.podcast-item {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(226, 232, 240, 0.6);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.5s ease;
}

.podcast-item:hover {
    transform: translateY(-2px);
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}

.podcast-info {
    flex: 1;
    min-width: 250px;
}

.podcast-title {
    font-weight: 600;
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.4;
}

.podcast-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #64748b;
}

.podcast-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.play-btn {
    padding: 10px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.play-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.play-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.action-btn {
    padding: 10px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.action-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.podcast-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-audio {
    background: rgba(59, 130, 246, 0.1);
    color: #1e40af;
}

.status-opening {
    background: rgba(147, 197, 253, 0.2);
    color: #1e40af;
}

.status-script {
    background: rgba(139, 92, 246, 0.1);
    color: #5b21b6;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .podcast-item {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .podcast-meta {
        justify-content: center;
    }
    
    .podcast-actions {
        justify-content: center;
    }
    
    .library-header {
        flex-direction: column;
        text-align: center;
    }
}