.ro-dropzone {
    border: 2px dashed #b5bfc6;
    border-radius: 8px;
    padding: 35px 20px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
}

.ro-dropzone.dragover {
    border-color: #0073aa;
    background: #f0f7ff;
}

.ro-dz-content,
.ro-dz-content * {
    pointer-events: none !important;
}

#ro-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

.ro-dz-icon {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
}

.ro-dz-text {
    font-size: 16px;
    color: #334155;
    margin: 5px 0;
}

.ro-dz-browse {
    color: #0073aa;
    font-weight: 600;
    text-decoration: underline;
}

.ro-dz-sub {
    font-size: 13px;
    color: #64748b;
}

.ro-preview-box {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 15px;
    margin-top: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    max-height: 400px;
    overflow-y: auto;
    box-sizing: border-box;
}

.ro-preview-box canvas,
.ro-preview-box img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ro-highlight-container {
    position: relative;
    width: 100%;
    height: 180px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.ro-backdrop-layer,
.ro-textarea-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 12px;
    box-sizing: border-box;
    font-size: 15px;
    line-height: 1.6;
    font-family: monospace, inherit;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.ro-backdrop-layer {
    color: transparent;
    z-index: 1;
    background: transparent;
    pointer-events: none;
    overflow-y: auto;
}

.ro-textarea-layer {
    z-index: 2;
    background: transparent;
    color: #334155;
    resize: none;
    border: none;
    outline: none;
    overflow-y: auto;
}

.ro-highlight-active {
    background-color: rgba(255, 235, 59, 0.65) !important;
    border-radius: 3px;
    color: transparent;
}

.ro-container button,
.ro-container input,
.ro-container select,
.ro-container textarea {
    box-sizing: border-box;
}

.ro-container .ro-body {
    box-sizing: border-box;
}

.ro-container .ro-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 640px) {

    .ro-container .ro-body {
        padding: 20px !important;
    }

    .ro-controls-row {
        gap: 15px !important;
    }

    .ro-actions .ro-btn {
        width: 100%;
        justify-content: center;
    }

}