.marketing-tool-container {
    max-width: 800px;
    margin: 30px 0;
    font-family: Arial, sans-serif;
}

.tool-header {
    text-align: center;
    margin-bottom: 30px;
}

.tool-header h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 24px;
}

.tool-description {
	text-align: left;
    color: #666;
    font-size: 16px;
}

.marketing-ai-form {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e1e1e1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.field-hint {
    display: block;
    color: #666;
    font-size: 12px;
    margin-top: 5px;
    font-style: italic;
}

.generate-button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    transition: all 0.3s;
}

.generate-button:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.generate-button:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.loading-container {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 5px;
    margin: 20px 0;
    border: 1px solid #e1e1e1;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.result-container {
    background: white;
    padding: 25px;
    border-radius: 5px;
    border-left: 5px solid #27ae60;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.result-content {
    white-space: pre-line;
    line-height: 1.6;
    font-size: 14px;
    max-height: 600px;
    overflow-y: auto;
}

.error-message {
    color: #e74c3c;
    padding: 15px;
    background: #fdf2f2;
    border-radius: 4px;
    border-left: 4px solid #e74c3c;
}

/* Стили для разных типов результатов */
.result-content h4 {
    color: #2c3e50;
    margin: 25px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #ecf0f1;
}

.result-content h4:first-child {
    margin-top: 0;
}

.result-content ul {
    margin: 10px 0 20px 0;
    padding-left: 20px;
}

.result-content li {
    margin: 8px 0;
    padding: 5px 0;
    border-bottom: 1px dotted #f0f0f0;
}