/*
Theme Name:		 minimelia
Description:	 minimelia
Author:			 Intercube
Template:		 playgrow
Version:		 1.0.0
Text Domain:	 minimelia
*/

.menu .hidden {
    display: none;
}

/* Product Comparison Styles */
.comparison-table-container {
    margin-top: 30px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.comparison-header {
    display: flex;
    background-color: #f5f5f5;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
}

.comparison-section {
    margin-bottom: 20px;
}

.comparison-section h3 {
    padding: 10px 15px;
    margin: 0;
    background-color: #f9f9f9;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

.comparison-row {
    display: flex;
    border-bottom: 1px solid #eee;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-column {
    flex: 1;
    padding: 10px 15px;
    word-break: break-word;
}

.comparison-feature {
    flex: 0.8;
    font-weight: bold;
    background-color: #f9f9f9;
}

.not-available {
    color: #999;
    font-style: italic;
}

.pros-list, .cons-list {
    margin: 0;
    padding-left: 20px;
}

.pros-list li, .cons-list li {
    margin-bottom: 5px;
}

.full-review-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
}

.full-review-link:hover {
    background-color: #005177;
}

/* Chat Interface Styles */
.comparison-ai-chat,
.product-ai-chat {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.chat-container {
    margin-top: 15px;
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    background-color: white;
    margin-bottom: 15px;
}

.chat-message {
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    max-width: 85%;
}

.user-message {
    background-color: #e6f7ff;
    margin-left: auto;
    border-left: 3px solid #1890ff;
}

.ai-message {
    background-color: #f0f0f0;
    margin-right: auto;
    border-left: 3px solid #52c41a;
}

.error-message {
    background-color: #fff1f0;
    border-left: 3px solid #f5222d;
}

.chat-input-container {
    display: flex;
}

#chat-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}

#chat-submit {
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

#chat-submit:hover {
    background-color: #005177;
}

/* Markdown Content Styles */
.markdown-content {
    margin-top: 5px;
}

.markdown-content p {
    margin-bottom: 10px;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
    margin-top: 15px;
    margin-bottom: 10px;
}

.markdown-content ul,
.markdown-content ol {
    margin-left: 20px;
    margin-bottom: 10px;
}

.markdown-content table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 10px;
}

.markdown-content table th,
.markdown-content table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.markdown-content table th {
    background-color: #f2f2f2;
}

.markdown-content code {
    background-color: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
}

.markdown-content pre {
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 3px;
    overflow-x: auto;
    margin-bottom: 10px;
}

.markdown-content blockquote {
    border-left: 3px solid #ccc;
    padding-left: 10px;
    margin-left: 0;
    color: #666;
}
