/* 會議轉錄 AI — Stylesheet */

body {
    background: #f5f7fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Upload Zone */
.upload-card {
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.upload-zone {
    border: 2px dashed #c0c8d4;
    border-radius: 12px;
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    background: #fafbfd;
}

.upload-zone:hover, .upload-zone.drag-over {
    border-color: #0d6efd;
    background: #f0f5ff;
}

/* Spin animation */
.spin {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Progress Steps */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e6ea;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    transition: all .3s;
}

.step.active .step-icon {
    background: #0d6efd;
    color: #fff;
}

.step-label {
    font-weight: 600;
    font-size: 14px;
}

.step-desc {
    font-size: 12px;
    color: #6c757d;
}

.step-line {
    width: 80px;
    height: 2px;
    background: #e2e6ea;
    margin-bottom: 36px;
    transition: all .3s;
}

.step-line.active {
    background: #0d6efd;
}

/* Summary Content */
.summary-content {
    line-height: 1.8;
    font-size: 15px;
}

.summary-content h2, .summary-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.summary-content ul, .summary-content ol {
    padding-left: 20px;
}

.summary-content li {
    margin-bottom: 6px;
}

/* Transcript — PLAUD style */
.transcript-content {
    max-height: 700px;
    overflow-y: auto;
    padding: 4px 0;
}

.transcript-timestamp {
    font-size: 12px;
    font-weight: 700;
    color: #0d6efd;
    margin-top: 16px;
    margin-bottom: 4px;
    padding-left: 2px;
}

.transcript-timestamp:first-child {
    margin-top: 0;
}

.transcript-line {
    padding: 2px 0 2px 12px;
    line-height: 1.7;
    border-left: 2px solid #e8ecf0;
}

.transcript-text {
    color: #333;
    font-size: 14px;
}

.transcript-speaker {
    font-weight: 600;
    color: #6f42c1;
    font-size: 13px;
    margin-right: 4px;
}

/* Speaker Card */
.speaker-card {
    border-left: 3px solid #0d6efd;
}

/* Correction Card */
.correction-card {
    border-left: 3px solid #ffc107;
}

/* Summary table (行動項目) */
.summary-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.summary-content th,
.summary-content td {
    border: 1px solid #dee2e6;
    padding: 8px 12px;
    vertical-align: top;
    font-size: 14px;
}

.summary-content th {
    background: #f0f4f8;
    font-weight: 600;
    white-space: nowrap;
}

.summary-content tr:hover {
    background: #f8f9fa;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 1px 6px rgba(0,0,0,.05);
    border-radius: 10px;
}

/* List group */
.list-group-item {
    border-left: none;
    border-right: none;
    padding: 14px 16px;
    transition: background .15s;
}

.list-group-item:first-child { border-top: none; }

/* Tabs */
.nav-tabs .nav-link {
    color: #6c757d;
    border: none;
    padding: 10px 20px;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom: 2px solid #0d6efd;
    background: none;
}
