/* 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 use purple theme */
.button.is-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
}

.button.is-primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #65408b 100%);
}

.button.is-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
}

.button.is-info:hover {
    background: linear-gradient(135deg, #5568d3 0%, #65408b 100%);
}

/* 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: #3273dc;
    border-color: #3273dc;
    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;
}

.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: #3273dc;
    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(50, 115, 220, 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: #3273dc;
    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 #3273dc;
    border-radius: 6px;
    background: white;
    color: #363636;
    font-family: inherit;
    text-align: center;
    box-shadow: 0 2px 8px rgba(50, 115, 220, 0.3);
}

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

.timeline-subtitle {
    display: inline-block;
    background: #d4e5f7;
    color: #3273dc;
    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;
}


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

/* Interview card clickable styling */
.interview-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease;
    cursor: pointer;
}

.interview-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.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 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 show icons - 24x24px icons aligned with date text */
.dashboard-show-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    flex-shrink: 0;
}

.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 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 (Extra Details) */
.question-box .question-content .notification {
    font-size: 0.9rem;
}

.question-box .question-content .notification .heading {
    font-size: 0.85rem;
}

/* Markdown list styles for interview details - override Bulma reset */
.question-box .notification 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 .notification ul li {
    display: list-item !important;
    margin: 0.35rem 0 !important;
}

.question-box .notification 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 .notification ol li {
    display: list-item !important;
    margin: 0.35rem 0 !important;
}

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

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

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

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

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

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

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

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

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

.question-box .notification h1 { font-size: 1.3rem; }
.question-box .notification h2 { font-size: 1.15rem; }
.question-box .notification 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;
}

/* Beta Access Page Styles */
.beta-access {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh; /* Full viewport height */
    display: flex;
    flex-direction: column;
}

.beta-section {
    padding-top: max(10vh, 60px);
    padding-bottom: 2rem;
    flex: 1; /* Allow section to grow and fill available space */
}

/* Beta access footer text - white with text shadow for readability */
/* Only target the footer text outside the white box, not text inside the box */
.beta-access .content.has-text-centered .has-text-grey {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.beta-access .content.has-text-centered .has-text-grey a {
    color: white !important;
    text-decoration: underline;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 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 Item Hover Effects */
.card-footer-item {
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Default card footer item hover (View button) */
.card-footer-item:hover {
    background-color: rgba(102, 126, 234, 0.08);
    color: #667eea;
}

/* Warning styled card footer item hover (Practice button) */
.card-footer-item.has-text-warning {
    color: #ffb300;
}

.card-footer-item.has-text-warning:hover {
    background-color: rgba(255, 179, 0, 0.08);
    color: #ff9800;
}

/* Success styled card footer item hover (Start button) */
.card-footer-item.has-text-success {
    color: #48c774;
}

.card-footer-item.has-text-success:hover {
    background-color: rgba(72, 199, 116, 0.08);
    color: #3ec46d;
}

/* 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 */
.docs-index-page .docs-toc-item {
    padding: 1.5rem;
    background: white;
    border-radius: 6px;
    transition: box-shadow 0.2s;
}

.docs-index-page .docs-toc-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.docs-index-page .docs-toc-item h3 a {
    color: inherit;
    text-decoration: none;
}

.docs-index-page .docs-toc-item h3 a:hover {
    color: #3273dc; /* Bulma primary blue */
}

/* 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 #3273dc;
    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: #3273dc;
    text-decoration: none;
}

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

/* 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;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.15s ease;
    font-size: 0.9rem;
}

.docs-nav-link:hover {
    background-color: #f3f4f6;
    color: #3273dc;
}

.docs-nav-link.is-active {
    background-color: #eef6fc;
    color: #3273dc;
    font-weight: 600;
}

.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: #3273dc;
}

.docs-nav-link:hover .docs-nav-icon {
    color: #3273dc;
}

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

.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: 500;
}

.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;
}

/* 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: #3273dc;
    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;
    }
}

/* ==========================================
   Dark Mode Fixes
   Bulma 1.0+ dark mode changes text color to white,
   but explicit light background classes keep light
   backgrounds, causing white-on-white text.
   ========================================== */
@media (prefers-color-scheme: dark) {
    /* ===========================================
       Question box titles and numbers
       These have hardcoded dark colors that need
       to be light in dark mode (on dark .box background).
       =========================================== */
    .question-box .question-header,
    .question-box .question-header *,
    .question-box .question-text-title,
    .question-box .question-text-title *,
    .box.question-box .question-text-title,
    .box.question-box .question-text-title * {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .question-box .question-text-title strong,
    .box.question-box .question-text-title strong {
        color: #ffffff !important;
    }
    
    /* ===========================================
       Notification boxes with light backgrounds
       These keep light backgrounds but inherit
       white text from dark mode - fix the text.
       =========================================== */
    .notification.is-light,
    .notification.is-light * {
        color: #363636 !important;
    }
    
    .notification.is-light a {
        color: #3273dc !important;
    }
    
    .notification.is-info.is-light,
    .notification.is-info.is-light * {
        color: #1d72aa !important;
    }
    
    .notification.is-info.is-light a {
        color: #1d72aa !important;
        text-decoration: underline;
    }
    
    .notification.is-warning.is-light,
    .notification.is-warning.is-light * {
        color: #946c00 !important;
    }
    
    .notification.is-success.is-light,
    .notification.is-success.is-light * {
        color: #257942 !important;
    }
    
    .notification.is-danger.is-light,
    .notification.is-danger.is-light * {
        color: #cc0f35 !important;
    }
    
    /* ===========================================
       Question box background info sections
       The .notification.is-light inside question
       boxes shows the expanded background info.
       =========================================== */
    .question-box .notification.is-light,
    .question-box .notification.is-light * {
        color: #363636 !important;
    }
    
    .question-box .notification.is-light a {
        color: #3273dc !important;
    }
    
    .question-box .notification.is-light a:hover {
        color: #2366d1 !important;
    }
    
    .question-box .notification.is-light code {
        color: #e83e8c !important;
    }
    
    /* ===========================================
       Alignment Page Fixes (existing)
       =========================================== */
    
    /* Force dark text on explicitly light backgrounds in alignment results table */
    .table tr.has-background-light td,
    .table tr.has-background-light td *,
    .table tr.has-background-warning-light td,
    .table tr.has-background-warning-light td * {
        color: #363636 !important;
    }
    
    /* Fix text in detail boxes within alignment results */
    .has-background-white-ter,
    .has-background-white-ter * {
        color: #363636 !important;
    }
    
    .has-background-success-light,
    .has-background-success-light * {
        color: #257942 !important;
    }
    
    .has-background-success-light .has-text-success-dark {
        color: #1e6f33 !important;
    }
    
    /* Preserve link colors in dark mode light backgrounds */
    .has-background-light a.has-text-info,
    .has-background-white-ter a.has-text-info,
    tr.has-background-light a.has-text-info {
        color: #3298dc !important;
    }
    
    /* Fix grey text classes within light backgrounds */
    .has-background-light .has-text-grey,
    .has-background-white-ter .has-text-grey,
    tr.has-background-light .has-text-grey {
        color: #7a7a7a !important;
    }
    
    .has-background-light .has-text-grey-light,
    .has-background-white-ter .has-text-grey-light,
    tr.has-background-light .has-text-grey-light {
        color: #b5b5b5 !important;
    }
    
    /* Fix the warning-light row text for interpolated events */
    tr.has-background-warning-light td .has-text-grey {
        color: #7a7a7a !important;
    }
    
    /* Strong text in detail boxes */
    .has-background-white-ter strong,
    .has-background-success-light strong {
        color: inherit !important;
    }
    
    /* ===========================================
       Interview List Page Fixes
       Interview cards have hardcoded dark title
       colors that need to be light in dark mode.
       =========================================== */
    .interview-card .title {
        color: rgba(255, 255, 255, 0.85) !important;
    }
    
    .interview-card:hover .title {
        color: #a0b4ff !important;
    }
    
    /* "with [guest name]" text in interview titles */
    .interview-card .title .has-text-grey {
        color: rgba(255, 255, 255, 0.6) !important;
    }
    
    /* Subtitle text for status (In Progress, Not started, Completed) */
    .interview-card .subtitle.has-text-grey {
        color: rgba(255, 255, 255, 0.7) !important;
    }
    
    /* Tags with light background - ensure dark text on light bg */
    .interviews-list .tag.is-light {
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .interviews-list .tag.is-light .icon {
        color: rgba(255, 255, 255, 0.6) !important;
    }
    
    /* Keep info tag readable */
    .interviews-list .tag.is-info {
        background-color: #3298dc !important;
        color: #fff !important;
    }
}


/* ================================================
   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 2.5rem 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%);
    }
}

/* ========================================
   Finalize Times / Transcript Indicator (Plan 044)
   ======================================== */

.finalize-times-container {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.transcript-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    opacity: 0.7;
}

.transcript-status-indicator:hover {
    opacity: 1;
}

.transcript-status-indicator .icon {
    font-size: 0.75rem;
}

.transcript-status-indicator span:not(.icon) {
    font-size: 0.75rem;
}

/* Finalize Times Modal Options */
.finalize-option {
    cursor: pointer;
    transition: box-shadow 0.2s, border-color 0.2s;
    border: 2px solid transparent;
}

.finalize-option:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: hsl(204, 86%, 53%);
}

.finalize-option:active {
    transform: translateY(1px);
}

#finalize-audio-upload-panel .file-label {
    width: 100%;
}

#finalize-audio-upload-panel .file-name {
    max-width: none;
    flex-grow: 1;
}
