@charset "UTF-8";

/* ===== Meeting Minutes Page Styles ===== */

/* ===== Keyframe Animations ===== */
@keyframes mmFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mmWave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

@keyframes mmPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes mmSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes mmSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Page Container ===== */
.mm-page {
    width: 100%;
    min-height: 100vh;
}

.mm-page .mm-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

/* ===== Hero Section ===== */
.mm-page .mm-hero {
    padding: 50px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mm-page .mm-hero-content {
    position: relative;
    z-index: 1;
}

.mm-page .mm-hero-icon i {
    font-size: 56px;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: block;
    margin-bottom: 16px;
}

.mm-page .mm-hero h1 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.mm-page .mm-hero-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.mm-page .mm-hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.mm-page .mm-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 12px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ===== Usage Bar ===== */
.mm-page .mm-usage-bar {
    margin-bottom: 24px;
}

.mm-page .mm-usage-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    background: var(--card_bg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    font-size: 14px;
    color: var(--font_2);
}

.mm-page .mm-usage-info i {
    color: var(--active);
    font-size: 16px;
}

.mm-page .mm-usage-info.admin-mode {
    border-left: 3px solid #10b981;
}

.mm-page .mm-usage-info.admin-mode i {
    color: #10b981;
}

.mm-page .mm-usage-info.limit-reached {
    border-left: 3px solid #ef4444;
    color: #ef4444;
}

.mm-page .mm-usage-info.limit-reached i {
    color: #ef4444;
}

/* ===== Step Section (Common) ===== */
.mm-page .mm-step {
    animation: mmFadeInUp 0.5s ease forwards;
}

/* ===== Upload Zone (Step 1) ===== */
.mm-page .mm-upload-section {
    background: var(--card_bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.mm-page .mm-upload-zone {
    border: 2px dashed rgba(85, 85, 85, 0.4);
    border-radius: 12px;
    padding: 50px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.mm-page .mm-upload-zone:hover,
.mm-page .mm-upload-zone.drag-over {
    border-color: var(--active);
    background: rgba(64, 158, 255, 0.03);
}

.mm-page .mm-upload-zone.has-file {
    border-style: solid;
    border-color: var(--active);
    background: rgba(64, 158, 255, 0.03);
}

.mm-page .mm-upload-icon i {
    font-size: 56px;
    color: var(--active);
    margin-bottom: 16px;
}

.mm-page .mm-upload-zone h3 {
    font-size: 18px;
    color: var(--font_1);
    margin: 0 0 8px 0;
    font-weight: 600;
}

.mm-page .mm-upload-zone p {
    font-size: 14px;
    color: var(--font_2);
    margin: 0;
}

.mm-page .mm-upload-link {
    color: var(--active);
    text-decoration: underline;
    cursor: pointer;
}

.mm-page .mm-upload-hint {
    font-size: 12px;
    color: var(--font_2);
    margin-top: 12px;
    opacity: 0.8;
}

/* File Info Bar */
.mm-page .mm-file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(64, 158, 255, 0.08);
    border-radius: 10px;
    margin-top: 20px;
}

.mm-page .mm-file-info i.fa-file-audio {
    color: var(--active);
    font-size: 20px;
}

.mm-page .mm-file-name {
    font-size: 14px;
    color: var(--font_1);
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mm-page .mm-file-size {
    font-size: 13px;
    color: var(--font_2);
}

.mm-page .mm-file-remove {
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--font_2);
    padding: 6px;
    font-size: 14px;
    transition: color 0.2s ease;
    border-radius: 4px;
}

.mm-page .mm-file-remove:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* Audio Preview */
.mm-page .mm-audio-preview {
    margin-top: 20px;
    padding: 16px;
    background: var(--bg);
    border-radius: 10px;
}

.mm-page .mm-audio-preview audio {
    width: 100%;
    height: 42px;
    border-radius: 6px;
}

.mm-page .mm-audio-preview audio::-webkit-media-controls-panel {
    background: var(--card_bg);
}

/* Submit Button */
.mm-page .mm-action {
    text-align: center;
    margin-top: 24px;
}

.mm-page .mm-submit-btn {
    padding: 14px 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
}

.mm-page .mm-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(240, 147, 251, 0.5);
}

.mm-page .mm-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.mm-page .mm-submit-btn i {
    margin-right: 8px;
}

/* ===== Processing Section (Step 2) ===== */
.mm-page .mm-processing {
    background: var(--card_bg);
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

/* Progress Steps */
.mm-page .mm-progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 40px;
}

.mm-page .mm-progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mm-page .mm-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid rgba(85, 85, 85, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--font_2);
    transition: all 0.3s ease;
}

.mm-page .mm-step-circle i {
    display: none;
}

.mm-page .mm-progress-step.active .mm-step-circle {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-color: #f093fb;
    color: #fff;
    animation: mmPulse 1.5s ease-in-out infinite;
}

.mm-page .mm-progress-step.completed .mm-step-circle {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
    animation: none;
}

.mm-page .mm-progress-step.completed .mm-step-circle span {
    display: none;
}

.mm-page .mm-progress-step.completed .mm-step-circle i {
    display: block;
}

.mm-page .mm-step-label {
    font-size: 13px;
    color: var(--font_2);
    max-width: 100px;
    text-align: left;
    transition: color 0.3s ease;
}

.mm-page .mm-progress-step.active .mm-step-label {
    color: var(--font_1);
    font-weight: 500;
}

.mm-page .mm-progress-step.completed .mm-step-label {
    color: #10b981;
}

.mm-page .mm-step-line {
    width: 60px;
    height: 2px;
    background: rgba(85, 85, 85, 0.3);
    margin: 0 15px;
    transition: background 0.3s ease;
}

.mm-page .mm-step-line.completed {
    background: #10b981;
}

/* Sound Wave Animation */
.mm-page .mm-sound-wave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 50px;
    margin-bottom: 24px;
}

.mm-page .mm-sound-wave span {
    display: block;
    width: 4px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    border-radius: 2px;
}

.mm-page .mm-sound-wave span:nth-child(1) { animation: mmWave 1.2s ease-in-out infinite; animation-delay: 0s; height: 20px; }
.mm-page .mm-sound-wave span:nth-child(2) { animation: mmWave 1.2s ease-in-out infinite; animation-delay: 0.1s; height: 30px; }
.mm-page .mm-sound-wave span:nth-child(3) { animation: mmWave 1.2s ease-in-out infinite; animation-delay: 0.2s; height: 40px; }
.mm-page .mm-sound-wave span:nth-child(4) { animation: mmWave 1.2s ease-in-out infinite; animation-delay: 0.15s; height: 35px; }
.mm-page .mm-sound-wave span:nth-child(5) { animation: mmWave 1.2s ease-in-out infinite; animation-delay: 0.25s; height: 45px; }
.mm-page .mm-sound-wave span:nth-child(6) { animation: mmWave 1.2s ease-in-out infinite; animation-delay: 0.05s; height: 25px; }
.mm-page .mm-sound-wave span:nth-child(7) { animation: mmWave 1.2s ease-in-out infinite; animation-delay: 0.3s; height: 38px; }
.mm-page .mm-sound-wave span:nth-child(8) { animation: mmWave 1.2s ease-in-out infinite; animation-delay: 0.12s; height: 28px; }
.mm-page .mm-sound-wave span:nth-child(9) { animation: mmWave 1.2s ease-in-out infinite; animation-delay: 0.22s; height: 32px; }

.mm-page .mm-processing-text {
    font-size: 17px;
    color: var(--font_1);
    font-weight: 500;
    margin: 0 0 8px 0;
}

.mm-page .mm-processing-hint {
    font-size: 13px;
    color: var(--font_2);
    margin: 0;
}

/* ===== Result Section (Step 3) ===== */
.mm-page .mm-result {
    margin-bottom: 24px;
}

/* Transcription Area */
.mm-page .mm-transcription {
    background: var(--card_bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    animation: mmFadeInUp 0.5s ease forwards;
}

.mm-page .mm-transcription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mm-page .mm-transcription-header h3 {
    font-size: 16px;
    color: var(--font_1);
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mm-page .mm-transcription-header h3 i {
    color: #f093fb;
}

.mm-page .mm-edit-hint {
    font-size: 12px;
    color: var(--font_2);
    background: rgba(240, 147, 251, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

.mm-page .mm-transcription-body {
    padding: 20px;
}

.mm-page .mm-transcription-textarea {
    width: 100%;
    min-height: 150px;
    padding: 16px;
    border: 1px solid rgba(85, 85, 85, 0.2);
    border-radius: 8px;
    background: var(--bg);
    color: var(--font_1);
    font-size: 14px;
    line-height: 1.8;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.mm-page .mm-transcription-textarea:focus {
    outline: none;
    border-color: var(--active);
}

.mm-page .mm-transcription-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.mm-page .mm-char-count {
    font-size: 13px;
    color: var(--font_2);
}

.mm-page .mm-regenerate-btn {
    padding: 10px 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.3);
}

.mm-page .mm-regenerate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(102, 126, 234, 0.4);
}

.mm-page .mm-regenerate-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.mm-page .mm-regenerate-btn i {
    margin-right: 6px;
}

/* Minutes Cards Container */
.mm-page .mm-minutes-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

/* Minutes Card Base */
.mm-page .mm-card {
    background: var(--card_bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: mmSlideIn 0.5s ease forwards;
    opacity: 0;
}

.mm-page .mm-card:nth-child(1) { animation-delay: 0.1s; }
.mm-page .mm-card:nth-child(2) { animation-delay: 0.2s; }
.mm-page .mm-card:nth-child(3) { animation-delay: 0.3s; }
.mm-page .mm-card:nth-child(4) { animation-delay: 0.4s; }
.mm-page .mm-card:nth-child(5) { animation-delay: 0.5s; }

.mm-page .mm-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.mm-page .mm-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mm-page .mm-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.mm-page .mm-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--font_1);
    margin: 0;
}

.mm-page .mm-card-body {
    padding: 16px 20px;
}

.mm-page .mm-card-text {
    font-size: 14px;
    color: var(--font_1);
    line-height: 1.8;
    margin: 0;
}

/* Card List Items */
.mm-page .mm-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mm-page .mm-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--font_1);
    line-height: 1.6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.mm-page .mm-card-list li:last-child {
    border-bottom: none;
}

.mm-page .mm-card-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 8px;
}

/* Card Color Themes */
/* Summary - Pink/Purple */
.mm-page .mm-card.mm-summary .mm-card-icon {
    background: rgba(240, 147, 251, 0.15);
    color: #f093fb;
}
.mm-page .mm-card.mm-summary .mm-card-list li::before {
    background: #f093fb;
}

/* Key Points - Blue */
.mm-page .mm-card.mm-keypoints .mm-card-icon {
    background: rgba(79, 172, 254, 0.15);
    color: #4facfe;
}
.mm-page .mm-card.mm-keypoints .mm-card-list li::before {
    background: #4facfe;
}

/* Decisions - Green */
.mm-page .mm-card.mm-decisions .mm-card-icon {
    background: rgba(67, 233, 123, 0.15);
    color: #43e97b;
}
.mm-page .mm-card.mm-decisions .mm-card-list li::before {
    background: #43e97b;
}

/* Action Items - Orange/Red */
.mm-page .mm-card.mm-actions .mm-card-icon {
    background: rgba(245, 87, 108, 0.15);
    color: #f5576c;
}
.mm-page .mm-card.mm-actions .mm-card-list li::before {
    background: #f5576c;
}

/* Notes - Light Purple */
.mm-page .mm-card.mm-notes .mm-card-icon {
    background: rgba(161, 140, 209, 0.15);
    color: #a18cd1;
}

/* Empty State */
.mm-page .mm-empty-state {
    text-align: center;
    padding: 20px;
    color: var(--font_2);
    font-size: 14px;
    font-style: italic;
}

/* Action Bar */
.mm-page .mm-action-bar {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    background: var(--card_bg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.mm-page .mm-action-btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mm-page .mm-copy-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    box-shadow: 0 3px 12px rgba(240, 147, 251, 0.3);
}

.mm-page .mm-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(240, 147, 251, 0.4);
}

.mm-page .mm-reset-btn {
    background: var(--bg);
    color: var(--font_1);
    border: 1px solid rgba(85, 85, 85, 0.2);
}

.mm-page .mm-reset-btn:hover {
    background: var(--bg_darken);
}

/* ===== Toast ===== */
.mm-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #333;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mm-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.mm-toast.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.mm-toast.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* ===== Responsive Design ===== */

/* Tablet and below */
@media (max-width: 768px) {
    .mm-page .mm-container {
        padding: 20px 16px 50px;
    }

    .mm-page .mm-hero {
        padding: 40px 16px;
    }

    .mm-page .mm-hero h1 {
        font-size: 26px;
    }

    .mm-page .mm-hero-icon i {
        font-size: 46px;
    }

    .mm-page .mm-hero-desc {
        font-size: 14px;
    }

    .mm-page .mm-upload-section {
        padding: 20px;
    }

    .mm-page .mm-upload-zone {
        padding: 40px 20px;
    }

    .mm-page .mm-upload-icon i {
        font-size: 46px;
    }

    .mm-page .mm-submit-btn {
        width: 100%;
        padding: 14px 24px;
    }

    .mm-page .mm-progress-steps {
        flex-direction: column;
        gap: 16px;
    }

    .mm-page .mm-progress-step {
        width: 100%;
        justify-content: flex-start;
    }

    .mm-page .mm-step-line {
        display: none;
    }

    .mm-page .mm-step-label {
        max-width: none;
    }

    .mm-page .mm-processing {
        padding: 40px 20px;
    }

    .mm-page .mm-transcription-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .mm-page .mm-transcription-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .mm-page .mm-char-count {
        text-align: center;
    }

    .mm-page .mm-regenerate-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .mm-page .mm-card-header {
        padding: 14px 16px;
    }

    .mm-page .mm-card-body {
        padding: 14px 16px;
    }

    .mm-page .mm-action-bar {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .mm-page .mm-action-btn {
        width: 100%;
        justify-content: center;
    }

    .mm-page .mm-file-info {
        flex-wrap: wrap;
    }

    .mm-page .mm-file-name {
        width: calc(100% - 60px);
    }

    .mm-page .mm-usage-info {
        flex-wrap: wrap;
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .mm-page .mm-hero h1 {
        font-size: 22px;
    }

    .mm-page .mm-hero-icon i {
        font-size: 40px;
    }

    .mm-page .mm-tag {
        font-size: 11px;
        padding: 3px 10px;
    }

    .mm-page .mm-upload-zone h3 {
        font-size: 16px;
    }

    .mm-page .mm-card-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .mm-page .mm-card-title {
        font-size: 14px;
    }

    .mm-page .mm-processing-text {
        font-size: 15px;
    }
}

/* ===== Dark Mode Enhancements ===== */
@media (prefers-color-scheme: dark) {
    .mm-page .mm-upload-section,
    .mm-page .mm-processing,
    .mm-page .mm-transcription,
    .mm-page .mm-card,
    .mm-page .mm-action-bar {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    }

    .mm-page .mm-upload-zone {
        border-color: rgba(255, 255, 255, 0.15);
    }

    .mm-page .mm-upload-zone:hover,
    .mm-page .mm-upload-zone.drag-over {
        background: rgba(64, 158, 255, 0.06);
    }

    .mm-page .mm-transcription-header,
    .mm-page .mm-card-header {
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    .mm-page .mm-card-list li {
        border-bottom-color: rgba(255, 255, 255, 0.04);
    }

    .mm-page .mm-transcription-textarea {
        border-color: rgba(255, 255, 255, 0.15);
    }

    .mm-page .mm-reset-btn {
        border-color: rgba(255, 255, 255, 0.15);
    }

    .mm-page .mm-usage-info {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    }

    .mm-toast {
        background: #444;
    }
}

/* ===== Accessibility ===== */
.mm-page .mm-upload-zone:focus,
.mm-page .mm-submit-btn:focus,
.mm-page .mm-regenerate-btn:focus,
.mm-page .mm-action-btn:focus,
.mm-page .mm-transcription-textarea:focus {
    outline: 2px solid var(--active);
    outline-offset: 2px;
}

.mm-page .mm-upload-zone:focus:not(:focus-visible),
.mm-page .mm-submit-btn:focus:not(:focus-visible),
.mm-page .mm-regenerate-btn:focus:not(:focus-visible),
.mm-page .mm-action-btn:focus:not(:focus-visible) {
    outline: none;
}

.mm-page .mm-upload-zone:focus-visible,
.mm-page .mm-submit-btn:focus-visible,
.mm-page .mm-regenerate-btn:focus-visible,
.mm-page .mm-action-btn:focus-visible {
    outline: 2px solid var(--active);
    outline-offset: 2px;
}

/* ===== Reduced Motion Support ===== */
@media (prefers-reduced-motion: reduce) {
    .mm-page .mm-sound-wave span {
        animation: none;
        height: 20px;
    }

    .mm-page .mm-card,
    .mm-page .mm-step,
    .mm-page .mm-transcription {
        animation: none;
        opacity: 1;
    }

    .mm-page .mm-progress-step.active .mm-step-circle {
        animation: none;
    }

    .mm-page .mm-upload-zone,
    .mm-page .mm-submit-btn,
    .mm-page .mm-regenerate-btn,
    .mm-page .mm-action-btn,
    .mm-page .mm-card,
    .mm-page .mm-toast {
        transition: none;
    }

    .mm-page .mm-submit-btn:hover,
    .mm-page .mm-regenerate-btn:hover,
    .mm-page .mm-copy-btn:hover,
    .mm-page .mm-card:hover {
        transform: none;
    }
}
