/* Global Styles */
/* Fix nested scroll containers - ensure only html scrolls, not body */
html {
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    overflow-y: scroll !important; /* Let html handle all vertical scrolling */
    width: 100%;
    height: 100% !important; /* Viewport height only */
}

body {
    margin: 0;
    padding: 0;
    overflow: visible !important; /* Body should never scroll - prevents nested scrolling */
    width: 100%;
    min-height: 100vh;
    height: auto !important; /* Content height, not viewport height */
}

/* Hot Reload Toggle Styles */
.hot-reload-toggle-container {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) scale(0.625);
    transform-origin: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.hot-reload-toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.toggle-text {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.toggle-status {
    color: #4CAF50;
    font-size: 13px;
    font-weight: 600;
    min-width: 32px;
    text-align: left;
}

/* iOS-style Toggle Switch */
.ios-toggle {
    position: relative;
    display: inline-block;
    width: 51px;
    height: 31px;
}

.ios-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ios-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 31px;
}

.ios-slider:before {
    position: absolute;
    content: "";
    height: 27px;
    width: 27px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ios-toggle input:checked + .ios-slider {
    background-color: #4CAF50;
}

.ios-toggle input:checked + .ios-slider:before {
    transform: translateX(20px);
}

.ios-toggle input:not(:checked) ~ .toggle-status {
    color: #999;
}

/* Hover effects */
.hot-reload-toggle-container:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.ios-slider:hover {
    opacity: 0.9;
}

/* Navbar Styles */
.navbar {
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

.navbar.is-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.navbar.is-primary .navbar-burger {
    color: white;
}

.navbar.is-primary .navbar-burger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar.is-primary .navbar-item,
.navbar.is-primary .navbar-link {
    color: white;
}

.navbar.is-primary .navbar-item:hover,
.navbar.is-primary .navbar-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.navbar.is-primary .navbar-dropdown {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a3f92 100%) !important;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.navbar.is-primary .navbar-dropdown .navbar-item {
    color: white !important;
    background-color: transparent !important;
}

.navbar.is-primary .navbar-dropdown .navbar-item:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
}

.navbar.is-primary .navbar-dropdown .navbar-divider {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Ensure dropdown link colors inside navbar items */
.navbar.is-primary .navbar-dropdown a.navbar-item {
    color: white !important;
}

.navbar.is-primary .navbar-dropdown a.navbar-item:hover,
.navbar.is-primary .navbar-dropdown a.navbar-item:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
}

/* Logo styling - remove solid square appearance and show gradient */
.navbar.is-primary .navbar-brand {
    background-color: transparent !important;
}

.navbar-brand .navbar-item {
    background-color: transparent !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.navbar-brand .navbar-item:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Mobile navbar menu background */
.navbar.is-primary .navbar-menu {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a3f92 100%);
}

.navbar.is-primary .navbar-menu .navbar-item {
    color: white;
}

.navbar.is-primary .navbar-menu .navbar-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
}

/* Override Bulma's default button colors to match brand purple */
.button.is-primary {
    background-color: #67489e;
    border-color: transparent;
    color: white;
}

.button.is-primary:hover {
    background-color: #553a84;
    color: white;
}

.button.is-primary.is-outlined {
    background-color: transparent;
    border-color: #363636;
    color: #363636;
}

.button.is-primary.is-outlined:hover,
.button.is-primary.is-outlined:focus {
    background-color: #67489e;
    border-color: #67489e;
    color: white;
}

/* Ensure content sections respect viewport */
.section, .container {
    max-width: 100%;
    box-sizing: border-box;
}

/* Vertical Timeline Styles */
.vertical-timeline {
    position: relative;
    padding-left: 50px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.vertical-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #dbdbdb;
    z-index: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -44.5px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    border: 3px solid #dbdbdb;
    z-index: 2;
}

.timeline-item.timeline-question::before {
    background: #667eea;
    border-color: #667eea;
    width: 18px;
    height: 18px;
    top: 5px;
    left: -47.5px;
}

.timeline-item.timeline-event::before {
    width: 12px;
    height: 12px;
    top: 8px;
    left: -44.5px;
}

/* Success/Positive events - green/blue tones */
.timeline-item.timeline-event.event-content_highlight::before {
    background: #48c774;
    border-color: #48c774;
}

.timeline-item.timeline-event.event-follow_up::before {
    background: #3298dc;
    border-color: #3298dc;
}

.timeline-item.timeline-event.event-segment_marker::before {
    background: #667eea;
    border-color: #667eea;
}

.timeline-item.timeline-event.event-custom_note::before {
    background: #667eea;
    border-color: #667eea;
}

/* Warning/Issue events - orange/red tones */
.timeline-item.timeline-event.event-audio_issue::before {
    background: #ff8c42;
    border-color: #ff8c42;
}

.timeline-item.timeline-event.event-flow_interruption::before {
    background: #ff6b6b;
    border-color: #ff6b6b;
}

/* System events - gray tones */
.timeline-item.timeline-event.event-question_started::before {
    background: #b5b5b5;
    border-color: #b5b5b5;
}

.timeline-item.timeline-event.event-interview_ended::before {
    background: #b5b5b5;
    border-color: #b5b5b5;
}

/* Link added events - cyan/teal tones */
.timeline-item.timeline-event.event-guest_link_added::before {
    background: #17a2b8;
    border-color: #17a2b8;
}

.timeline-item.timeline-event.event-host_link_added::before {
    background: #20c997;
    border-color: #20c997;
}

.timeline-item.timeline-event.event-cohost_link_added::before {
    background: #20c997;
    border-color: #20c997;
}


.timeline-content {
    background: transparent;
    padding: 0;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Delete button styling for timeline events */
.timeline-header .delete-event-btn {
    margin-left: auto;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.timeline-header .delete-event-btn:hover {
    opacity: 1;
}

.timeline-item:not(:hover) .delete-event-btn {
    opacity: 0.5;
}

/* Convert to Question button styling for timeline events */
.timeline-header .convert-event-btn {
    margin-left: auto;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.timeline-header .convert-event-btn:hover {
    opacity: 1;
}

.timeline-item:not(:hover) .convert-event-btn {
    opacity: 0.5;
}

/* When both convert and delete buttons exist, adjust margins */
.timeline-header .convert-event-btn + .delete-event-btn {
    margin-left: 0.25rem;
}

/* Modal button spacing */
.modal-card-foot .button {
    margin-right: 0.75rem;
}

.modal-card-foot .button:last-child {
    margin-right: 0;
}

/* Link actions in Reference Links section */
li.link-item {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 !important;
    padding: 0.35rem 0;
}

li.link-item .link-display {
    flex: 1;
}

/* Actions hidden by default - no space taken */
li.link-item .link-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    width: 0;
    overflow: hidden;
    opacity: 0;
    transition: width 0.15s ease, opacity 0.15s ease;
    flex-shrink: 0;
}

/* Show actions on hover - expand to show buttons */
li.link-item:hover .link-actions {
    width: auto;
    opacity: 1;
    margin-right: 0.35rem;
}

.edit-link-btn,
.delete-link-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.2rem;
    opacity: 0.6;
    transition: opacity 0.15s ease, color 0.15s ease;
    line-height: 1;
}

.edit-link-btn {
    color: #888;
}

.delete-link-btn {
    color: #f14668;
}

.edit-link-btn:hover {
    opacity: 1;
    color: #667eea;
}

.delete-link-btn:hover {
    opacity: 1;
    color: #cc0f35;
}

.edit-link-btn:disabled,
.delete-link-btn:disabled {
    cursor: not-allowed;
}

.edit-link-btn .icon.is-small,
.delete-link-btn .icon.is-small {
    font-size: 0.7rem;
}

/* Inline edit input for link names */
.link-name-edit-input {
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    height: auto;
}

.timeline-title {
    font-size: 1rem;
    font-weight: 400;
    color: #363636;
    margin: 0;
}

/* Markdown styling in timeline titles */
.timeline-title p {
    display: inline;
    margin: 0;
}

.timeline-title strong {
    font-weight: 600;
}

.timeline-title em {
    font-style: italic;
}

.timeline-title code {
    background: #f5f5f5;
    padding: 0.15rem 0.3rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e83e8c;
}

.timeline-time {
    display: inline-block;
    background: #d4e5f7;
    color: #667eea;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
}

/* Editable time styling */
.timeline-time.editable-time {
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    position: relative; /* Needed for ::after positioning */
}

/* Basic hover effects - TESTED, WORKING */
.timeline-time.editable-time:hover {
    background-color: #c7dff3;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

/* Test #2: Enable pencil icon */
.timeline-time.editable-time:hover::after {
    content: '\270E'; /* Pencil icon */
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #667eea;
    opacity: 0.6;
}

/* Time editing input */
.time-edit-input {
    display: inline-block;
    width: 80px;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border: 2px solid #667eea;
    border-radius: 6px;
    background: white;
    color: #363636;
    font-family: inherit;
    text-align: center;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.time-edit-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.timeline-subtitle {
    display: inline-block;
    background: #d4e5f7;
    color: #667eea;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    margin: 0;
}

/* Event-specific timeline subtitle colors */
/* Success/Positive events - green/blue tones */
.timeline-event.event-content_highlight .timeline-subtitle {
    background: #d4f4dd;
    color: #257942;
}

.timeline-event.event-follow_up .timeline-subtitle {
    background: #d6eaff;
    color: #1e5a8e;
}

.timeline-event.event-segment_marker .timeline-subtitle {
    background: #e0e7ff;
    color: #4c51bf;
}

.timeline-event.event-custom_note .timeline-subtitle {
    background: #e0e7ff;
    color: #4c51bf;
}

/* Warning/Issue events - orange/red tones */
.timeline-event.event-audio_issue .timeline-subtitle {
    background: #ffe8cc;
    color: #c05621;
}

.timeline-event.event-flow_interruption .timeline-subtitle {
    background: #ffe0e0;
    color: #c92a2a;
}

/* System events - gray tones */
.timeline-event.event-question_started .timeline-subtitle {
    background: #e8e8e8;
    color: #4a4a4a;
}

.timeline-event.event-interview_ended .timeline-subtitle {
    background: #e8e8e8;
    color: #4a4a4a;
}

/* Link added events - cyan/teal tones */
.timeline-event.event-guest_link_added .timeline-subtitle {
    background: #d1ecf1;
    color: #0c5460;
}

.timeline-event.event-host_link_added .timeline-subtitle {
    background: #d4edda;
    color: #155724;
}

.timeline-event.event-cohost_link_added .timeline-subtitle {
    background: #d4edda;
    color: #155724;
}


.timeline-details {
    font-size: 0.9rem;
    color: #7a7a7a;
    line-height: 1.5;
    margin-top: 0.25rem;
}

.timeline-details p {
    margin: 0;
}

/* Markdown styling for timeline details */
.timeline-details ul {
    list-style: disc !important;
    list-style-position: outside !important;
    margin-left: 0 !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    padding-left: 2rem !important;
}

.timeline-details ul li {
    display: list-item !important;
    margin: 0.25rem 0 !important;
}

.timeline-details ol {
    list-style: decimal !important;
    list-style-position: outside !important;
    margin-left: 0 !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    padding-left: 2rem !important;
}

.timeline-details ol li {
    display: list-item !important;
    margin: 0.25rem 0 !important;
}

.timeline-details code {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.15rem 0.3rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
}

.timeline-details pre {
    background: rgba(0, 0, 0, 0.03);
    padding: 0.5rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 0.5rem 0;
}

.timeline-details strong {
    font-weight: 600;
}

.timeline-details em {
    font-style: italic;
}

.timeline-meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.timeline-event-content {
    padding-left: 0;
}

.timeline-event .timeline-time {
    background: #e8e8e8;
    color: #4a4a4a;
}

/* Success/Positive events - green/blue tones */
.timeline-event.event-content_highlight .timeline-time {
    background: #d4f4dd;
    color: #257942;
}

.timeline-event.event-follow_up .timeline-time {
    background: #d6eaff;
    color: #1e5a8e;
}

.timeline-event.event-segment_marker .timeline-time {
    background: #e0e7ff;
    color: #4c51bf;
}

.timeline-event.event-custom_note .timeline-time {
    background: #e0e7ff;
    color: #4c51bf;
}

/* Warning/Issue events - orange/red tones */
.timeline-event.event-audio_issue .timeline-time {
    background: #ffe8cc;
    color: #c05621;
}

.timeline-event.event-flow_interruption .timeline-time {
    background: #ffe0e0;
    color: #c92a2a;
}

/* System events - gray tones */
.timeline-event.event-question_started .timeline-time {
    background: #e8e8e8;
    color: #4a4a4a;
}

.timeline-event.event-interview_ended .timeline-time {
    background: #e8e8e8;
    color: #4a4a4a;
}

/* Link added events - cyan/teal tones */
.timeline-event.event-guest_link_added .timeline-time {
    background: #d1ecf1;
    color: #0c5460;
}

.timeline-event.event-host_link_added .timeline-time {
    background: #d4edda;
    color: #155724;
}

.timeline-event.event-cohost_link_added .timeline-time {
    background: #d4edda;
    color: #155724;
}


/* Clear separation between form field groups (3x intra-group spacing) */
.form-spaced > .field + .field,
.form-spaced > .field + .columns,
.form-spaced > .columns + .field {
    margin-top: 1.2rem;
}

/* Fix spacing in interview and show list tags */
.interviews-list .tag,
.shows-list .tag {
    gap: 0.25rem;
}

/* Interview card clickable styling */
.interview-card {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1.3rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.interview-card:last-child {
    border-bottom: none;
}

.interview-card:hover {
    background-color: #f8f8fa;
}

.interview-card .title {
    color: #363636;
    transition: color 0.2s ease;
}

.interview-card:hover .title {
    color: #667eea;
}

/* Interview metadata styling */
.interview-metadata .heading {
    font-size: 0.75rem;
    font-weight: bold;
}

.interview-metadata p {
    font-size: 0.75rem;
}

/* Home page cards — elevated shadow, equal height, footer pinned to bottom */
.home .card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home .card .card-content {
    flex: 1 0 auto;
}

/* Home page card title alignment fix */
.home .card .card-content .title.is-5 {
    min-height: 2.8em;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
}

/* Reduce bottom padding in home page cards for tighter spacing */
.home .card .card-content {
    padding-bottom: 0.75rem;
}

/* Dashboard metadata separator dot */
.meta-sep {
    margin: 0 0.35em;
}

/* Dashboard show icons — floated bottom-right of card content */
.dashboard-show-icon {
    float: right;
    width: 48px;
    height: 48px;
    min-width: 48px;
    margin: 0 0 0 0.75rem;
}

.dashboard-show-icon img {
    object-fit: cover;
    border-radius: 3px;
}

/* Drag and drop styles for import page */
.section.drag-over {
    background-color: rgba(102, 126, 234, 0.1);
    border: 3px dashed #667eea;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.section.drag-over::before {
    content: 'Drop your markdown file here';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 600;
    color: #667eea;
    pointer-events: none;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Import Page - Drop Zone Styles */
.import-drop-zone {
    position: relative;
    border: 3px dashed #dbdbdb;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.import-drop-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.import-drop-zone:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.12);
}

.import-drop-zone.drag-over {
    border-color: #667eea;
    border-style: solid;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(102, 126, 234, 0.04) 100%);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.2);
    transform: scale(1.02);
}

.import-drop-zone .file-input {
    display: none;
}

/* Drop Zone Content */
.import-drop-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.import-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 0.5rem;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.import-drop-zone:hover .import-icon {
    color: #5568d3;
    animation-play-state: paused;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.import-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #363636;
    margin: 0;
}

.import-subtitle {
    font-size: 1rem;
    color: #7a7a7a;
    margin: 0;
}

.import-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a4a4a;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Selected File Display */
.import-file-selected {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.import-file-icon {
    font-size: 3rem;
    color: #667eea;
    flex-shrink: 0;
}

.import-file-info {
    flex: 1;
    text-align: left;
    min-width: 0;
}

.import-file-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #363636;
    margin: 0 0 0.25rem 0;
    word-break: break-word;
}

.import-file-meta {
    font-size: 0.9rem;
    color: #48c78e;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.import-file-meta::before {
    content: '✓';
    font-weight: bold;
}

.import-file-remove {
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #7a7a7a;
    flex-shrink: 0;
}

.import-file-remove:hover {
    background: #f14668;
    color: white;
    transform: rotate(90deg);
}

/* Responsive adjustments for import page */
@media screen and (max-width: 768px) {
    .import-drop-zone {
        padding: 2rem 1.5rem;
    }
    
    .import-icon {
        font-size: 2.5rem;
    }
    
    .import-title {
        font-size: 1.125rem;
    }
    
    .import-file-selected {
        flex-direction: column;
        text-align: center;
    }
    
    .import-file-info {
        text-align: center;
    }
}


/* Interview Details Page - Question Flow */
.question-flow .question-box {
    padding: 0.5rem 0;
}

.question-flow .question-content {
    border-left: 3px solid #dbdbdb;
    margin-left: 0.5rem;
    padding-left: 1.25rem;
    padding-bottom: 0.25rem;
}

/* Question Text Styling */
.question-box .question-text-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: #363636;
    margin: 0;
}

.question-box .question-text-title > span {
    display: inline;
}

/* Markdown styling in question text titles */
.question-box .question-text-title p {
    display: inline;
    margin: 0;
    font-weight: 600;
}

.question-box .question-text-title strong {
    font-weight: 600;
}

.question-box .question-text-title em {
    font-style: italic;
}

.question-box .question-text-title code {
    background: #f5f5f5;
    padding: 0.15rem 0.3rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e83e8c;
}

/* Interview Details Page - Background Information (supporting text) */
.question-box .question-background-info {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Markdown list styles for interview details - override Bulma reset */
.question-box .question-background-info ul {
    list-style: disc !important;
    list-style-position: outside !important;
    margin-left: 0 !important;
    margin-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
    padding-left: 2rem !important;
}

.question-box .question-background-info ul li {
    display: list-item !important;
    margin: 0.35rem 0 !important;
}

.question-box .question-background-info ol {
    list-style: decimal !important;
    list-style-position: outside !important;
    margin-left: 0 !important;
    margin-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
    padding-left: 2rem !important;
}

.question-box .question-background-info ol li {
    display: list-item !important;
    margin: 0.35rem 0 !important;
}

.question-box .question-background-info p {
    margin: 0.5rem 0;
}

.question-box .question-background-info p:first-child {
    margin-top: 0;
}

.question-box .question-background-info code {
    background: rgba(0, 0, 0, 0.06);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.question-box .question-background-info pre {
    background: rgba(0, 0, 0, 0.04);
    padding: 0.75rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 0.75rem 0;
}

.question-box .question-background-info pre code {
    background: none;
    padding: 0;
}

.question-box .question-background-info strong {
    font-weight: 600;
    color: #4a4a4a;
}

.question-box .question-background-info em {
    font-style: italic;
}

.question-box .question-background-info blockquote {
    border-left: 3px solid #d1d5db;
    margin: 0.75rem 0;
    padding-left: 1rem;
    font-style: italic;
}

.question-box .question-background-info h1,
.question-box .question-background-info h2,
.question-box .question-background-info h3,
.question-box .question-background-info h4,
.question-box .question-background-info h5,
.question-box .question-background-info h6 {
    margin: 0.75rem 0 0.5rem 0;
    font-weight: 600;
    line-height: 1.3;
    color: #4a4a4a;
}

.question-box .question-background-info h1 { font-size: 1.3rem; }
.question-box .question-background-info h2 { font-size: 1.15rem; }
.question-box .question-background-info h3 { font-size: 1rem; }

/* Markdown styling for import preview content */
.content ul {
    list-style: disc !important;
    list-style-position: outside !important;
    margin-left: 0 !important;
    margin-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
    padding-left: 2rem !important;
}

/* Markdown styling for import preview question titles (h4 subtitle) */
.content .subtitle.is-5 p {
    display: inline;
    margin: 0;
}

.content .subtitle.is-5 strong {
    font-weight: 600;
}

.content .subtitle.is-5 em {
    font-style: italic;
}

.content .subtitle.is-5 code {
    background: #f5f5f5;
    padding: 0.15rem 0.3rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e83e8c;
}

.interview-state.subtitle.is-6 {
    font-size: .8em;   
}

.interview-state.subtitle .icon {
    margin-left: -6px;;
}

.content ul li {
    display: list-item !important;
    margin: 0.35rem 0 !important;
}

.content ol {
    list-style: decimal !important;
    list-style-position: outside !important;
    margin-left: 0 !important;
    margin-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
    padding-left: 2rem !important;
}

.content ol li {
    display: list-item !important;
    margin: 0.35rem 0 !important;
}

.content code {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.content pre {
    background: rgba(0, 0, 0, 0.03);
    padding: 0.75rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 0.75rem 0;
}

.content pre code {
    background: none;
    padding: 0;
}

.content strong {
    font-weight: 600;
}

.content em {
    font-style: italic;
}

.content blockquote {
    border-left: 3px solid #dbdbdb;
    margin: 0.75rem 0;
    padding-left: 1rem;
    font-style: italic;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
    margin: 0.75rem 0 0.5rem 0;
    font-weight: 600;
    line-height: 1.3;
}

/* Export dropdown styling */
.dropdown-menu {
    min-width: 300px !important;
}

.dropdown-content {
    min-width: 300px !important;
}

/* Export logo dropdown items */
.export-logo-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
}

.dropdown-item {
    white-space: nowrap !important;
}

.export-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    margin-top: 1px;
}

/* Interview Search Styles */
#interview-search-container {
    /* Flat design - no box styling */
}

/* Search clear button */
#search-clear-button {
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.2s ease;
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    height: 2rem;
    width: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#search-clear-button i {
    color: #b5b5b5;
    transition: color 0.2s ease;
    font-size: 1rem;
}

#search-clear-button:hover i {
    color: #4a4a4a;
}

#search-clear-button:active i {
    color: #363636;
}

/* Ensure loading indicator doesn't conflict with clear button */
#search-loading-indicator {
    right: 0.75rem !important;
    z-index: 3;
}

/* Make the input control relative for absolute positioning */
#interview-search-input {
    padding-right: 3rem !important;
}

/* Clear link styling */
#search-clear-link {
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

#search-clear-link i {
    color: inherit;
}

#search-clear-link:hover {
    color: #363636 !important;
    text-decoration: underline;
}

/* Smooth transitions for hiding/showing interviews */
.interview-card {
    transition: opacity 0.2s ease, max-height 0.2s ease;
}

.interview-card.hidden {
    display: none;
}

/* Highlight search matches (optional enhancement for future) */
.search-highlight {
    background-color: #ffeb3b;
    padding: 0 2px;
    border-radius: 2px;
}

/* Search results counter */
#search-results-info {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

/* Loading spinner in search box */
#search-loading-indicator {
    pointer-events: none;
}

/* No results message styling */
#no-search-results {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search input focus state */
#interview-search-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.125em rgba(102, 126, 234, 0.25);
}

/* Responsive adjustments for search */
@media screen and (max-width: 768px) {
    #interview-search-container {
        position: relative;
        top: auto;
    }
}

/* Home Page - Card Footer Action Hierarchy */
.home .card-footer-item {
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Primary action (View) - light filled background to draw the eye */
.home .card-footer-item.action-primary {
    background-color: rgba(102, 126, 234, 0.08);
    color: #667eea;
    font-weight: 600;
}

.home .card-footer-item.action-primary:hover {
    background-color: rgba(102, 126, 234, 0.15);
    color: #5568d3;
}

/* Supporting actions (Practice, Start) - subdued background, same tone as primary */
.home .card-footer-item.action-supporting {
    color: #444;
    background-color: rgba(102, 126, 234, 0.03);
}

.home .card-footer-item.action-supporting:hover {
    background-color: rgba(0, 0, 0, 0.04);
    color: #333;
}

/* Transcript Align Page - Drop Zone Styles */
.drop-zone {
    position: relative;
    border: 3px dashed #dbdbdb;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drop-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.03) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 12px;
}

.drop-zone:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.12);
}

.drop-zone.drop-zone-active {
    border-color: #667eea;
    border-style: solid;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(102, 126, 234, 0.04) 100%);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.2);
    transform: scale(1.02);
}

.drop-zone-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.drop-zone .icon.is-large i {
    transition: all 0.3s ease;
}

.drop-zone:hover .icon.is-large i {
    transform: scale(1.1);
}

.drop-zone.drop-zone-active .icon.is-large i {
    transform: scale(1.15);
    animation: pulse 1s ease-in-out infinite;
}

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

/* Responsive adjustments for transcript align page */
@media screen and (max-width: 768px) {
    .drop-zone {
        padding: 2rem 1rem;
        min-height: 200px;
    }
    
    .drop-zone .icon.is-large i {
        font-size: 2rem !important;
    }
}

/* Share modal notification icon-text alignment */
.notification .icon-text {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}

.notification .icon-text .icon {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    margin-top: 0.1rem;
    display: inline-flex !important;
}

.notification .icon-text > span:not(.icon) {
    display: block !important;
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
    flex-basis: 0 !important;
    min-width: 0 !important;
}


/* ========================================
   Documentation Styles
   ======================================== */

/* Documentation Index Page - TOC */
.docs-toc-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.docs-toc-item:last-child {
    border-bottom: none;
}

.docs-toc-icon {
    color: #667eea;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 1.5rem;
    text-align: center;
}

.docs-toc-item h3 a {
    color: #1f2937;
    text-decoration: none;
}

.docs-toc-item h3 a:hover {
    color: #667eea;
}

.docs-toc-description {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
}

.docs-toc-description p {
    margin-bottom: 0;
}

/* Markdown Content Styling */
.markdown-content {
    line-height: 1.8;
}

.markdown-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f5f5f5;
}

.markdown-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.markdown-content code {
    background: #f5f5f5;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
}

.markdown-content pre {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
}

.markdown-content pre code {
    background: transparent;
    padding: 0;
}

.markdown-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
}

.markdown-content blockquote {
    border-left: 4px solid #667eea;
    padding-left: 1rem;
    margin-left: 0;
    font-style: italic;
    color: #666;
}

.markdown-content ul,
.markdown-content ol {
    margin-left: 1.5rem;
}

.markdown-content li {
    margin-bottom: 0.5rem;
}

.markdown-content a {
    color: #667eea;
    text-decoration: none;
}

.markdown-content a:hover {
    text-decoration: underline;
}

.markdown-content table {
    font-size: 0.95rem;
}

.markdown-content table td,
.markdown-content table th {
    padding: 0.5em 0.75em;
}

/* Border utility for navigation footer */
.has-border-top {
    border-top: 1px solid #dbdbdb;
}

/* Documentation Layout Styles */
.docs-section.section {
    padding: 0 !important;
}

.docs-container {
    max-width: 100%;
    padding: 0;
}

.docs-layout {
    display: flex;
    max-width: none;
    margin: 0;
    gap: 0;
}

.docs-sidebar {
    width: 240px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid #e5e7eb;
    padding: 1.5rem 0.75rem 1.5rem 0;
}

.docs-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: 1.5rem;
}

.docs-nav-item {
    margin-bottom: 0;
}

.docs-nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.35rem;
    border-radius: 6px;
    border-left: 3px solid transparent;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.15s ease;
    font-size: 0.9rem;
}

.docs-nav-link:hover {
    background-color: #f3f4f6;
    color: #667eea;
}

.docs-nav-link.is-active {
    background-color: #eef6fc;
    color: #667eea;
    font-weight: 600;
    border-left-color: #667eea;
    border-radius: 0 6px 6px 0;
}

.docs-nav-icon {
    color: #9ca3af;
    margin-right: 0.5rem;
    font-size: 0.875rem;
    min-width: 1rem;
    text-align: center;
}

.docs-nav-link.is-active .docs-nav-icon {
    color: #667eea;
}

.docs-nav-link:hover .docs-nav-icon {
    color: #667eea;
}

.docs-sidebar-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.docs-sidebar-footer .docs-nav-link {
    font-size: 0.825rem;
    color: #9ca3af;
}

.docs-sidebar-footer .docs-nav-link:hover {
    color: #667eea;
    background-color: #f3f4f6;
}

.docs-sidebar-footer .docs-nav-icon {
    font-size: 0.75rem;
}

.docs-content {
    flex: 1;
    min-width: 0;
    padding: 2rem 3rem;
    max-width: 900px;
}

.docs-content .content h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.docs-content .content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.docs-content .content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #374151;
}

.docs-content .content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.docs-content .content p,
.docs-content .content li {
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 400;
}

.docs-content .content ul,
.docs-content .content ol {
    font-size: 0.95rem;
}

.docs-content .content code {
    font-size: 0.875rem;
}

.docs-content .content pre code {
    font-size: 0.875rem;
}

.docs-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.docs-nav-prev,
.docs-nav-next {
    display: inline-block;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.docs-nav-prev:hover,
.docs-nav-next:hover {
    color: #667eea;
    text-decoration: underline;
    background-color: #f3f4f6;
}

/* Mobile responsive for docs layout */
@media screen and (max-width: 1024px) {
    .docs-layout {
        flex-direction: column;
    }
    
    .docs-sidebar {
        width: 100%;
        position: relative;
        height: auto;
        max-height: none;
        overflow-y: visible;
        margin-bottom: 2rem;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 1rem;
    }
}

/* Smooth scroll for anchor links in docs */
html {
    scroll-behavior: smooth;
}

/* Documentation Search Styles */
.docs-search-section {
    /* Flat design - no background box, full width to match content below */
    max-width: 100%;
}

/* Clear icon styling */
#docs-search-clear {
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
}

#docs-search-clear:hover {
    color: #f14668;
}

/* Show clear icon when input has focus or value */
.docs-search-section .control.has-icons-right input:focus ~ #docs-search-clear,
.docs-search-section .control.has-icons-right input:not(:placeholder-shown) ~ #docs-search-clear {
    opacity: 1;
}

/* Removed .docs-search-box - no longer needed */

.docs-search-results {
    margin-top: 1.5rem;
}

.search-results-count {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

.search-result {
    padding: 1.25rem 0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s;
}

.search-result:last-child {
    border-bottom: none;
}

.search-result:hover {
    background-color: #fafafa;
}

.search-result .title a {
    color: #667eea;
    text-decoration: none;
}

.search-result .title a:hover {
    text-decoration: underline;
}

.search-matches {
    margin-top: 0.5rem;
}

.search-match {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    padding: 0;
    gap: 0.75rem;
}

.search-match-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: #999;
    font-size: 0.875rem;
}

.search-match-context {
    line-height: 1.6;
    color: #4a5568;
}

.search-match mark {
    background: #ffeb3b;
    padding: 0.1em 0.2em;
    border-radius: 2px;
    font-weight: 600;
}

.search-result-meta {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e0e0e0;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .docs-search-section {
        padding: 0.5rem;
    }
    
    .search-match {
        gap: 0.5rem;
    }
}



/* ================================================
   Plan 043: In-App Notification Toasts
   ================================================ */

.notification-toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.notification-toast {
    padding: 1rem 3rem 1rem 1.5rem;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    /* CSS-only auto-dismiss: slide in, stay visible, then fade out and hide */
    animation: toastLifecycle 10s ease-out forwards;
    position: relative;
}

/* Full toast lifecycle animation: slide in → visible → fade out */
@keyframes toastLifecycle {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    3% {
        opacity: 1;
        transform: translateX(0);
    }
    90% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
    }
}

.notification-toast .delete {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.notification-toast .notification-message {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.notification-toast .button.is-small {
    font-size: 0.75rem;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media screen and (max-width: 768px) {
    .notification-toast-container {
        top: auto;
        bottom: 20px;
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .notification-toast {
        /* Mobile: slide up instead of right, same lifecycle timing */
        animation: toastLifecycleMobile 10s ease-out forwards;
    }
    
    @keyframes toastLifecycleMobile {
        0% {
            opacity: 0;
            transform: translateY(100%);
        }
        3% {
            opacity: 1;
            transform: translateY(0);
        }
        90% {
            opacity: 1;
            transform: translateY(0);
        }
        100% {
            opacity: 0;
            transform: translateY(100%);
            visibility: hidden;
            pointer-events: none;
        }
    }
}

/* JS-triggered dismiss animation (when user clicks X) */
@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Alpine.js x-cloak: hide elements until Alpine initializes */
[x-cloak] { display: none !important; }

/* ==================== Plan 078: Extracted utility classes ==================== */

/* Initial hidden state for JS-toggled elements.
   Two-class variants override specific classes that set display without
   needing !important, so JS can still toggle via element.style.display. */
.js-hidden { display: none; }
.box.js-hidden { display: none; }
.modal-foot-right.js-hidden { display: none; }

/* Show/interview thumbnail in cards and headers */
.show-thumbnail {
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
    margin: 0;
}

.show-thumbnail img {
    object-fit: cover;
    border-radius: 4px;
    width: 100%;
    height: 100%;
}

/* Inline form (e.g. delete buttons alongside other elements) */
.form-inline { display: inline; }

/* Turnstile CAPTCHA widget container */
.turnstile-widget { display: inline-block; }

/* Dropdown item styled as a button (Bulma dropdown with form submit) */
.dropdown-button {
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

/* Shares table vertical alignment */
.shares-table td { vertical-align: middle; }

/* Share/postprod stats sidebar */
.stat-label { font-size: 0.75rem; font-weight: bold; }
.stat-value { font-size: 0.75rem; }

/* Export dropdown button border */
.button.is-primary.is-export { border: 1px solid rgb(92, 1, 92); }

/* Share view branding gradient */
.share-branding {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Show album art images (list + edit pages) */
.show-album-art {
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}

/* Session code inputs (join + join_guest pages) */
.session-code-input {
    font-family: monospace;
    text-align: center;
    text-transform: uppercase;
}

/* Dashboard feature boxes (equal height in grid) */
.box-full-height {
    height: 100%;
}

/* Dashboard show icon thumbnails */
.dashboard-show-icon {
    border: 1px solid #eee;
    border-radius: 3px;
}

.dashboard-show-icon img {
    object-fit: cover;
    border-radius: 3px;
    width: 100%;
    height: 100%;
}

/* Modal footer right-aligned buttons */
.modal-foot-right {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

/* Remove-host button (show edit page) */
.btn-host-remove {
    background-color: #555;
    color: #eee;
    border: 1px solid #555;
}

