/* General styles for the form */
.ai-prompt-form {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.form-group textarea {
    width: 100%;
    max-width: 100%;  /* Ensure it doesn't extend past the container */
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    color: #333;
    resize: vertical; /* Allows vertical resizing but not horizontal */
    min-height: 150px;
    box-sizing: border-box; /* Ensures padding and borders are included in the width */
}

.form-group select {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #fff;
    color: #333;
}

.ai-submit-button {
    display: inline-block;
    padding: 12px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ai-submit-button:hover {
    background-color: #005f8a;
}

/* Styling for the generated prompt output */
h3 {
    font-size: 1.5rem;
    color: #333;
    margin-top: 30px;
}

pre {
    background-color: #e9ecef;
    padding: 15px;
    border-radius: 6px;
    white-space: pre-wrap; /* Ensures long text wraps inside the box */
    font-size: 1rem;
    font-family: monospace;
    color: #333;
    margin-top: 10px;
}

/* Styling for the copy button */
.copy-btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.copy-btn:hover {
    background-color: #218838;
}

.copy-btn:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}