/* ═══════════════════════════════════════════════════════════
   NLW Product Importer – Frontend Tab Styles (v1.3.0)
   ═══════════════════════════════════════════════════════════ */

/* Tab content wrapper */
.nlw-pi-tab-content {
    padding: 0;
}
.nlw-pi-tab-content h2 {
    font-size: 1.3em;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

/* Analysis table (Αναλυτικά Συστατικά, Θρεπτικά) */
.nlw-pi-analysis-table {
    width: 100%;
    max-width: 600px;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 0.95em;
}
.nlw-pi-analysis-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
}
.nlw-pi-analysis-table tr:last-child td {
    border-bottom: none;
}
.nlw-pi-analysis-table td:first-child {
    color: #555;
    width: 60%;
}
.nlw-pi-analysis-table td:last-child {
    text-align: right;
    white-space: nowrap;
}
.nlw-pi-analysis-table tr:nth-child(even) {
    background: #fafafa;
}

/* Dosage table (Δοσολογία) — supports 2-col and multi-col grids */
.nlw-pi-dosage-table {
    width: 100%;
    max-width: 700px;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 0.95em;
}
.nlw-pi-dosage-table thead th {
    background: #f5f5f5;
    padding: 10px 12px;
    text-align: center;
    font-weight: 600;
    border-bottom: 2px solid #e0e0e0;
    font-size: 0.9em;
    letter-spacing: 0.03em;
    color: #444;
}
.nlw-pi-dosage-table thead th:first-child {
    text-align: left;
}
.nlw-pi-dosage-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}
.nlw-pi-dosage-table td:first-child {
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}
.nlw-pi-dosage-table tr:last-child td {
    border-bottom: none;
}
.nlw-pi-dosage-table tr:nth-child(even) {
    background: #fafafa;
}

/* Dosage section title (above table) */
.nlw-pi-dosage-section-title {
    font-size: 1em;
    margin-bottom: 8px;
    color: #333;
}

/* Energy value (Μεταβολιστέα Ενέργεια) */
.nlw-pi-energy-value {
    font-size: 1.1em;
    background: #f8f8f8;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    border-left: 3px solid #2271b1;
}

/* Ingredient list (Σύνθεση) */
.nlw-pi-ingredients {
    line-height: 1.8;
    color: #444;
}

/* General tab body */
.nlw-pi-tab-body p {
    margin-bottom: 12px;
    line-height: 1.7;
}
.nlw-pi-tab-body ul {
    margin: 10px 0;
    padding-left: 20px;
}
.nlw-pi-tab-body li {
    margin-bottom: 4px;
    line-height: 1.6;
}
