.ys-ai-pro {
    max-width: 780px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background: #fff;
}

.ys-ai-pro textarea {
    width: 100%;
    min-height: 120px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.ys-controls {
    display: flex;
    flex-wrap: wrap; /* ✅ Allows breaking to new line */
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.ys-controls label {
    flex: 1 1 250px; /* ✅ Flexible width for dropdowns */
    min-width: 200px;
}

.ys-controls button {
    flex: 1 1 100%; /* ✅ Button will break to new line */
    min-width: 150px;
}

.ys-output {
    white-space: pre-wrap;
    padding: 10px;
    border: 1px dashed #ccc;
    border-radius: 6px;
    background: #fafafa;
    min-height: 120px;
    margin-top: 10px;
}

/* ✅ Responsive styles for small screens */
@media (max-width: 600px) {
    .ys-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .ys-controls label,
    .ys-controls button {
        width: 100%; /* ✅ Full width stack */
    }
}
