.tts-vu-wrapper {
    width: 100%;
    margin: 30px auto;
    direction: rtl;
    font-family: inherit;
}

.tts-vu-card {
    background: #ffffff;
    border: 1px solid #f1f1f1;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.tts-vu-header {
    margin-bottom: 24px;
    text-align: right;
}

.tts-vu-header h2 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 800;
    color: #1f2937;
}

.tts-vu-subtitle {
    margin: 0;
    font-size: 15px;
    line-height: 2;
    color: #4b5563;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 14px 16px;
    border-radius: 14px;
}

.tts-vu-dropzone {
    position: relative;
    border: 2px dashed #fb923c;
    background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
    border-radius: 22px;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    transition: all 0.25s ease;
}

.tts-vu-dropzone.dragover {
    border-color: #ea580c;
    background: #fff3e8;
    transform: scale(1.01);
}

.tts-vu-dropzone-inner {
    width: 100%;
    max-width: 520px;
}

.tts-vu-icon {
    font-size: 52px;
    margin-bottom: 12px;
}

.tts-vu-dropzone h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 24px;
    font-weight: 800;
}

.tts-vu-dropzone p {
    margin: 0 0 18px;
    color: #6b7280;
    font-size: 15px;
}

.tts-vu-select-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.25s ease;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    padding: 14px 24px;
    min-width: 180px;
    font-size: 15px;
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.25);
}

.tts-vu-select-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.32);
}

#tts-vu-file-input {
    display: none;
}

.tts-vu-honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
}

.tts-vu-allowed-formats {
    margin-top: 16px;
    color: #9ca3af;
    font-size: 13px;
}

.tts-vu-file-list-wrap {
    margin-top: 24px;
}

.tts-vu-list-title {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}

.tts-vu-file-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tts-vu-file-item {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.tts-vu-file-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.tts-vu-file-name {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    word-break: break-word;
}

.tts-vu-file-size {
    font-size: 13px;
    color: #6b7280;
}

.tts-vu-progress-wrap {
    width: 100%;
    height: 12px;
    background: #f3f4f6;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.tts-vu-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #fb923c, #ea580c);
    border-radius: 999px;
    transition: width 0.2s linear;
}

.tts-vu-file-meta {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.tts-vu-progress-text {
    font-size: 13px;
    color: #374151;
    font-weight: 700;
}

.tts-vu-status {
    font-size: 13px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
}

.tts-vu-status.pending {
    background: #fff7ed;
    color: #c2410c;
}

.tts-vu-status.uploading {
    background: #ffedd5;
    color: #c2410c;
}

.tts-vu-status.success {
    background: #dcfce7;
    color: #166534;
}

.tts-vu-status.error {
    background: #fee2e2;
    color: #991b1b;
}

.tts-vu-file-link {
    margin-top: 10px;
    display: inline-block;
    color: #ea580c;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    word-break: break-all;
}

.tts-vu-file-link:hover {
    text-decoration: underline;
}

.tts-vu-global-message {
    margin-top: 20px;
    font-size: 14px;
    color: #374151;
    line-height: 1.9;
}

@media (max-width: 768px) {
    .tts-vu-card {
        padding: 16px;
        border-radius: 18px;
    }

    .tts-vu-header h2 {
        font-size: 22px;
    }

    .tts-vu-subtitle {
        font-size: 14px;
        line-height: 1.9;
    }

    .tts-vu-dropzone {
        min-height: 220px;
        padding: 18px;
        border-radius: 18px;
    }

    .tts-vu-dropzone h3 {
        font-size: 20px;
    }

    .tts-vu-file-top,
    .tts-vu-file-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .tts-vu-wrapper {
        margin: 16px auto;
    }

    .tts-vu-header h2 {
        font-size: 20px;
    }

    .tts-vu-dropzone h3 {
        font-size: 18px;
    }

    .tts-vu-icon {
        font-size: 42px;
    }

    .tts-vu-select-btn {
        width: 100%;
    }
}
