.ai-generator {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.subtitle {
    color: #666;
    margin-bottom: 20px;
}

.question-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 16px;
    background: #fff;
    min-height: 100px;
		height: 40px !important; /* Add this line */
}

.submit-button {
    background: #10B981;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.submit-button:hover {
    background: #059669;
}

.answer-container {
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.answer-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.answer-title {
    font-weight: 500;
    color: #374151;
}

.copy-button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 6px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-button:hover {
    background: #f3f4f6;
    color: #374151;
}

.copy-button.copied {
    color: #10B981;
}

.answer-content {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.answer-content::-webkit-scrollbar {
    width: 8px;
}

.answer-content::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.answer-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.answer-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.examples {
    margin-top: 40px;
}

.example-questions-container {
    position: relative;
    padding: 0 40px;
    margin: 1rem 0;
}

.example-questions {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 1rem;
    padding: 1rem 0;
}

.example-questions::-webkit-scrollbar {
    display: none;
}

.example-question {
    flex: 0 0 auto;
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    white-space: normal;
    line-height: 1.5;
    color: #374151;
    font-size: 1rem;
}

.example-question:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #374151;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.scroll-button:hover {
    background: #f3f4f6;
}

.scroll-left {
    left: -16px;
}

.scroll-right {
    right: -16px;
}

.loading-state {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #10B981;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ai-response {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #374151;
    white-space: pre-wrap;
}

.ai-response strong {
    color: #1f2937;
    font-weight: 600;
}

.ai-response p {
    margin-bottom: 1rem;
}

.ai-response section {
    margin-bottom: 2rem;
}

.error-message {
    color: #dc2626;
    padding: 1rem;
    background: #fee2e2;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.ai-generated-image {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}