/* 笔记转录页面样式 */

/* 上传区域样式 */
.upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin: 1rem 0;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.upload-area:hover, .upload-area.dragover {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

.upload-icon {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

/* 录音控制样式 */
.recording-controls {
    display: flex;
    align-items: center;
}

#recordingStatus {
    color: #dc3545;
    font-weight: 500;
}

/* 转录结果样式 */
.transcription-result {
    min-height: 150px;
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    background-color: #f8f9fa;
    margin-top: 1rem;
}

/* 笔记列表样式 */
.notes-list {
    max-height: 400px;
    overflow-y: auto;
}

.note-item {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    position: relative;
}

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

.note-content {
    margin-bottom: 0.5rem;
    white-space: pre-line;
}

.note-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6c757d;
}

.note-actions {
    display: flex;
    gap: 0.5rem;
}

.note-actions button {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

/* 音频播放器容器 */
#audioPlayerContainer {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.25rem;
    margin-top: 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .upload-area {
        padding: 1rem;
    }
    
    .upload-icon {
        font-size: 2rem;
    }
    
    .recording-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    #recordingStatus {
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
}