.aicg-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.aicg-main-title {
    font-size: 32px;
    font-weight: bold;
}

.aicg-header {
    text-align: center;
    margin-bottom: 30px;
}

.aicg-header h2 {
    color: #333;
    font-size: 28px;
}

.aicg-form {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.aicg-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #444;
}

.aicg-form input[type='text'],
.aicg-form input[type='email'] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.aicg-form button {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.aicg-form button:hover {
    background: #1a2530;
}

.aicg-form button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.aicg-loading {
    text-align: center;
    margin: 20px 0;
    display: none;
}

.aicg-loading .spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.aicg-result {
    display: none;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.aicg-content {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px; /* Added smaller font size */
    color: #000000; /* Added black text color */
}

.aicg-content h2, .aicg-content h3 {
    color: #000000; /* Changed to black */
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    font-size: 18px; /* Reduced font size for headings */
}

.aicg-content p {
    margin-bottom: 1em;
    font-size: 14px; /* Consistent font size for paragraphs */
}

.aicg-content strong {
    font-weight: bold;
    color: #000000; /* Changed to black to match heading style */
}

.aicg-content ul, .aicg-content ol {
    margin-left: 20px;
    margin-bottom: 1em;
}

.aicg-content li {
    margin-bottom: 0.5em;
    font-size: 14px; /* Consistent font size for list items */
}

.aicg-actions {
    margin-top: 20px;
    text-align: center;
}

.aicg-actions button {
    background: #27ae60;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 14px;
}

.aicg-actions button:hover {
    background: #219653;
}

.aicg-error {
    background: #ffecec;
    color: #f44336;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
}

.aicg-limit-reached {
    background: #fff8e1;
    color: #ff9800;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
}

.aicg-content ol {
    margin-left: 20px;
    margin-bottom: 1em;
    list-style-type: decimal;
}

.aicg-content ol li {
    margin-bottom: 0.5em;
    font-size: 14px;
}

/* FAQ styling */
.aicg-faq-section {
    margin-top: 2em;
    margin-bottom: 2em;
}

.aicg-faq-question {
    font-weight: 700;
    color: #000000;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-size: 13px;
}

.aicg-faq-answer {
    margin-bottom: 1.5em;
    padding-left: 1em;
    border-left: 3px solid #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .aicg-form {
        padding: 15px;
    }
    
    .aicg-header h2 {
        font-size: 24px;
    }
}