/* assets/css/srf-transcription.css */
.srf-step {
    display: none;
    margin: 20px 0;
    direction: rtl;
}

.srf-step.active {
    display: block;
}

.srf-recording-section {
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    visibility: visible; /* اطمینان از نمایش */
}

.srf-btn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 8px;
    margin: 5px 0;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: inline-block; /* نمایش به صورت بلوک */
}

.srf-btn:hover {
    background: linear-gradient(135deg, #5a6fd6, #683e91);
    transform: translateY(-2px);
}

#srf-transcription-text {
    margin-top: 10px;
    width: 100%;
    resize: vertical;
    min-height: 100px;
    max-height: 300px;
    direction: rtl;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    background-color: #fff;
}

.sound-wave {
    width: 100%;
    height: 50px;
    background: repeating-linear-gradient(to right, #0073aa 0, #0073aa 10px, transparent 10px, transparent 20px);
    background-size: 30px 100%;
    animation: wave 1s infinite linear;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    border-radius: 4px;
}

@keyframes wave {
    0% { background-position: 0 0; }
    100% { background-position: 30px 0; }
}

input[type="text"], input[type="email"] {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    direction: rtl;
    font-size: 14px;
}

#srf-error-message {
    direction: rtl;
    color: #d32f2f;
    font-size: 14px;
    margin-top: 5px;
}

.hidden {
    display: none !important; /* اطمینان از مخفی شدن درست */
}