/* =====================================================
   Speech to PDF Tool - Additional Styles
   ===================================================== */

/* Status Indicator */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: var(--bg-light, #f9fafb);
    border-radius: 30px;
    border: 1px solid var(--border, #e5e7eb);
    width: fit-content;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #9ca3af;
    transition: background-color 0.2s;
}

.status-dot.recording {
    background-color: #ef4444;
    animation: pulse 1.5s infinite;
}

.status-dot.processing {
    background-color: #f59e0b;
}

.status-dot.ready {
    background-color: #10b981;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

/* Transcription Section */
.transcription-section {
    margin: 24px 0;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border, #e5e7eb);
    overflow: hidden;
}

.transcription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-light, #f9fafb);
    border-bottom: 1px solid var(--border, #e5e7eb);
}

.transcription-title {
    font-weight: 600;
    color: var(--text, #111827);
}

.word-count {
    font-size: 13px;
    color: var(--text-light, #6b7280);
}

.transcription-container {
    min-height: 300px;
    max-height: 500px;
    overflow-y: auto;
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
    background: white;
    color: var(--text, #111827);
}

/* تنسيق زر danger (غير موجود في tools.css) */
.btn-danger {
    background-color: var(--error, #ef4444);
    color: white;
    border: none;
}
.btn-danger:hover {
    background-color: #dc2626;
}

/* استجابة للأجهزة الصغيرة */
@media (max-width: 640px) {
    .status-indicator {
        width: 100%;
        justify-content: center;
    }
}