:root {
    --primary-color: #1a7f8c;
    --primary-dark: #145b66;
    --secondary-color: #6c757d;
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --border-color: #ddd;
    --text-primary: #333;
    --text-secondary: #666;
    --low-impact: #27ae60;
    --medium-impact: #f39c12;
    --high-impact: #e74c3c;
    --error-color: #dc3545;
    --success-color: #28a745;
    --highlight-bg: #e7f4f6;
    --border-radius: 8px;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    
    /* Impact level colors */
    --high-color: rgba(231, 76, 60, 0.7);
    --high-color-light: rgba(231, 76, 60, 0.2);
    --high-color-dark: rgba(231, 76, 60, 1);
    
    --medium-color: rgba(243, 156, 18, 0.7);
    --medium-color-light: rgba(243, 156, 18, 0.2);
    --medium-color-dark: rgba(243, 156, 18, 1);
    
    --low-color: rgba(39, 174, 96, 0.7);
    --low-color-light: rgba(39, 174, 96, 0.2);
    --low-color-dark: rgba(39, 174, 96, 1);

    /* NEW: Variables for the 5 gauge segments */
    --grade-e-color: #c0392b; /* Red */
    --grade-d-color: #e74c3c; /* Orange */
    --grade-c-color: #f1c40f; /* Yellow */
    --grade-b-color: #90ee90; /* Light Green */
    --grade-a-color: #27ae60; /* Dark Green */
}

/* Base styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background-color: var(--light-bg); color: var(--text-primary); line-height: 1.5; min-height: 100vh; }

/* Dashboard layout */
.dashboard-container { display: grid; grid-template-columns: 300px 1fr 380px; grid-template-rows: auto 1fr auto; min-height: 100vh; gap: 16px; padding: 16px; background-color: var(--light-bg); }

/* Header styles */
.header { grid-column: 1 / -1; grid-row: 1; background-color: var(--card-bg); padding: 16px; border-radius: var(--border-radius); box-shadow: var(--shadow); display: flex; justify-content: space-between; align-items: center; }
.header-title { display: flex; flex-direction: column; }
.header h1 { font-size: 1.5rem; color: var(--primary-color); margin: 0; }
.header p { color: var(--text-secondary); margin: 0; font-size: 0.9rem; }
.creator-link { color: var(--primary-color); text-decoration: none; font-size: 0.9rem; }
.creator-link:hover { text-decoration: underline; }

/* Panel styles */
.panel { background-color: var(--card-bg); border-radius: var(--border-radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; max-height: calc(100vh - 100px); }
.panel-header { padding: 12px 16px; background-color: var(--primary-color); color: white; font-weight: 500; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; }
.panel-content { padding: 16px; overflow-y: auto; flex-grow: 1; }
.ingredients-panel { grid-column: 1; grid-row: 2; }
.center-panel { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; gap: 16px; }
.recipe-panel { width: 100%; max-height: 50%; }
.visualization-panel { width: 100%; max-height: 50%; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.recipe-profile-panel, .ingredient-impact-panel { height: 100%; max-height: 100%; }
.impact-panel { grid-column: 3; grid-row: 2; }
.recipe-header-actions { display: flex; gap: 8px; }

/* Search and ingredient selection */
.search-container { display: flex; margin-bottom: 16px; }
.search-input { flex: 1; padding: 10px 12px; border: 1px solid var(--border-color); border-radius: var(--border-radius) 0 0 var(--border-radius); font-size: 0.9rem; }
.search-btn { background-color: var(--primary-color); color: white; border: none; padding: 0 15px; border-radius: 0 var(--border-radius) var(--border-radius) 0; cursor: pointer; transition: background-color 0.2s; }
.search-btn:hover { background-color: var(--primary-dark); }
.help-btn { background: none; border: none; color: white; cursor: pointer; font-size: 1.1rem; }
.loading-indicator { display: none; text-align: center; padding: 10px; color: var(--text-secondary); }
.error-message { color: var(--error-color); padding: 8px; margin-bottom: 16px; background-color: rgba(220, 53, 69, 0.1); border-radius: var(--border-radius); text-align: center; display: none; }

/* Ingredient tabs */
#ingredient-tabs-wrapper { margin-bottom: 16px; border-bottom: 1px solid var(--border-color); }
.ingredient-tabs { display: flex; border-bottom: none; }
.ingredient-tab { padding: 8px 16px; cursor: pointer; border-bottom: 2px solid transparent; color: var(--text-secondary); transition: all 0.2s; }
.ingredient-tab:hover { color: var(--primary-color); }
.ingredient-tab.active { border-bottom: 2px solid var(--primary-color); color: var(--primary-color); font-weight: 500; }
#saved-tab-container { display: flex; border-top: 1px solid var(--border-color); margin-top: -1px; }
#saved-tab { flex-grow: 1; text-align: center; font-weight: 500; padding: 10px 16px; }
#saved-tab .fas { margin-right: 8px; }
#saved-tab.active { background-color: var(--highlight-bg); color: var(--primary-color); border-bottom: none; }

/* Variants list */
.variants-list { display: none; margin-bottom: 16px; max-height: 400px; overflow-y: auto; }
.variant-item { padding: 12px; border: 1px solid var(--border-color); border-radius: var(--border-radius); margin-bottom: 8px; cursor: pointer; transition: all 0.2s; }
.variant-item:hover { background-color: var(--highlight-bg); border-color: var(--primary-color); }
.category { margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 16px; }
.category:last-child { border-bottom: none; }
.category-title { font-weight: 600; margin-bottom: 12px; color: var(--primary-color); }
.ingredient-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ingredient-box { padding: 10px 8px; background-color: var(--light-bg); border-radius: var(--border-radius); text-align: center; cursor: pointer; transition: all 0.2s ease; font-size: 0.9rem; border: 1px solid transparent; }
.ingredient-box:hover { background-color: var(--highlight-bg); border-color: var(--primary-color); transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,0.1); }

/* Ingredient Detail Form */
.ingredient-detail { background-color: var(--highlight-bg); padding: 16px; border-radius: var(--border-radius); margin-top: 16px; display: none; }
.ingredient-name-header { font-weight: 600; margin-bottom: 12px; }
.weight-controls { display: flex; align-items: center; margin-bottom: 16px; justify-content: space-between; }
.weight-input-group { display: flex; align-items: center; }
.weight-input { width: 70px; padding: 8px; text-align: center; border: 1px solid var(--border-color); border-radius: var(--border-radius); margin-right: 5px; }
.weight-buttons { display: flex; margin-left: 5px; }
.weight-btn { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-color); background-color: white; cursor: pointer; transition: all 0.2s; }
.weight-btn:hover { background-color: var(--light-bg); }
.weight-btn:first-child { border-radius: var(--border-radius) 0 0 var(--border-radius); }
.weight-btn:last-child { border-radius: 0 var(--border-radius) var(--border-radius) 0; }
.helper-text { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 16px; }
.ingredient-actions { display: flex; gap: 8px; }

/* Buttons */
.btn { padding: 8px 16px; border: none; border-radius: var(--border-radius); cursor: pointer; font-size: 0.9rem; transition: background-color 0.2s; font-weight: 500; }
.btn-primary { background-color: var(--primary-color); color: white; flex: 1; }
.btn-primary:hover { background-color: var(--primary-dark); }
.btn-secondary { background-color: var(--secondary-color); color: white; flex: 1; }
.btn-secondary:hover { background-color: #5a6268; }
.btn-warning { background-color: var(--high-impact); color: white; }
.btn-warning:hover { background-color: #c0392b; }
.btn-small { padding: 5px 10px; font-size: 0.8rem; }

/* Empty states */
.empty-recipe-message, .empty-impact-message { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; text-align: center; color: var(--text-secondary); background-color: var(--light-bg); border-radius: var(--border-radius); }
.icon-large { font-size: 3rem; margin-bottom: 16px; opacity: 0.6; }

/* Recipe table */
.recipe-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.recipe-table th, .recipe-table td { padding: 10px; text-align: left; border-bottom: 1px solid var(--border-color); }
.recipe-table th { background-color: var(--light-bg); font-weight: 500; }
.total-row { background-color: var(--light-bg); font-weight: 600; }
.impact-indicator { width: 12px; height: 12px; border-radius: 50%; display: inline-block; margin-right: 6px; border: 1px solid rgba(0, 0, 0, 0.1); }
.impact-indicator.impact-low { background-color: #27ae60; }
.impact-indicator.impact-medium { background-color: #f39c12; }
.impact-indicator.impact-high { background-color: #e74c3c; }
.asterisk { color: var(--primary-color); font-weight: bold; margin-left: 2px; }
.edit-weight-input { width: 60px; padding: 4px; text-align: center; border: 1px solid var(--border-color); border-radius: 4px; }

/* --- CORRECTED: Only one rule for intensity-note --- */
.intensity-note {
    margin-top: 16px;
    padding: 12px;
    background-color: var(--highlight-bg);
    border: 1px solid rgba(26, 127, 140, 0.2);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.intensity-note .icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.intensity-note em {
    font-style: italic;
}

.action-cell { white-space: nowrap; }
.action-btn { background: none; border: none; cursor: pointer; color: var(--secondary-color); padding: 4px; transition: color 0.2s; }
.action-btn:hover { color: var(--primary-color); }
.delete-btn:hover { color: var(--high-impact); }

/* Serving calculator */
.serving-calculator { padding: 16px; border-radius: var(--border-radius); background-color: var(--highlight-bg); margin-top: 16px; }
.serving-header { margin-bottom: 12px; }
.serving-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Impact Analysis */
.impact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.impact-card { background-color: var(--card-bg); box-shadow: 0 4px 12px rgba(0,0,0,0.05); border: 1px solid #eef; border-radius: var(--border-radius); padding: 16px; text-align: center; display: flex; flex-direction: column; position: relative; min-height: 150px; }
.impact-title { font-weight: 500; margin-bottom: 8px; font-size: 0.9rem; }
.impact-value { font-size: 2.2rem; font-weight: 700; line-height: 1.1; margin: 8px 0; }
.impact-unit { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 8px; }
.impact-level { padding: 6px; border-radius: 0 0 var(--border-radius) var(--border-radius); font-size: 0.85rem; font-weight: 500; margin: auto -16px -16px -16px; }
.impact-low { background-color: var(--low-color-light); color: var(--low-color-dark); }
.impact-medium { background-color: var(--medium-color-light); color: var(--medium-color-dark); }
.impact-high { background-color: var(--high-color-light); color: var(--high-color-dark); }
.total-servings-impact-results { margin-top: 24px; padding: 16px; border-top: 1px solid var(--border-color); background-color: var(--highlight-bg); border-radius: var(--border-radius); }
.serving-impact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0; }
.impact-card-neutral { background-color: white; border: 1px solid var(--border-color); padding: 12px; border-radius: var(--border-radius); text-align: center; }
.serving-context { background-color: white; padding: 12px; border-radius: var(--border-radius); margin-top: 16px; font-size: 0.9rem; border: 1px solid rgba(26, 127, 140, 0.2); }
.info-icon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; background-color: var(--primary-color); color: white; border-radius: 50%; font-size: 10px; cursor: pointer; margin-left: 4px; position: absolute; top: 10px; right: 10px; }
.impact-scale { display: flex; justify-content: space-around; align-items: center; background-color: var(--light-bg); border-radius: var(--border-radius); padding: 12px; margin-bottom: 20px; }

/* Charts */
.chart-container { height: 250px; position: relative; margin-bottom: 16px; background-color: var(--light-bg); border-radius: var(--border-radius); padding: 16px; }

/* Modals */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.5); }
.modal-content { background-color: var(--card-bg); margin: 10% auto; padding: 24px; border-radius: var(--border-radius); box-shadow: var(--shadow); max-width: 500px; width: 90%; position: relative; }
.modal-lg { max-width: 700px; }
.modal-title { font-size: 1.2rem; font-weight: 600; margin: 0 0 16px; }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 24px; font-weight: bold; cursor: pointer; color: var(--text-secondary); }
.close-modal:hover { color: var(--text-primary); }

/* Responsive & Mobile */
.menu-toggle { position: relative; display: inline-block; }
#menu-toggle-checkbox { display: none; }
.menu-toggle-label { cursor: pointer; }
.menu-toggle-label .fas.fa-bars { color: var(--primary-color); font-size: 1.2rem; }
.menu-dropdown { display: none; position: absolute; top: 100%; right: 0; background-color: var(--card-bg); min-width: 220px; box-shadow: 0 8px 16px rgba(0,0,0,0.2); border-radius: var(--border-radius); border: 1px solid var(--border-color); z-index: 10001; }
.menu-toggle:hover .menu-dropdown, #menu-toggle-checkbox:checked ~ .menu-dropdown { display: block; }
.menu-dropdown a { color: var(--text-primary); padding: 12px 16px; text-decoration: none; display: block; border-bottom: 1px solid var(--border-color); }
.menu-dropdown a:last-child { border-bottom: none; }
.menu-dropdown a:hover { background-color: var(--light-bg); color: var(--primary-color); }

@media (max-width: 992px) {
    .dashboard-container { display: block; }
    .panel { max-height: none; margin-bottom: 16px; }
    .visualization-panel { display: block; }
    .recipe-profile-panel, .ingredient-impact-panel { margin-bottom: 16px; }
    .impact-grid, .serving-impact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .recipe-table { display: block; overflow-x: auto; white-space: nowrap; }
    .recipe-table th, .recipe-table td { padding: 8px 4px; font-size: 0.75rem; }
    .recipe-table th:first-child, .recipe-table td:first-child { min-width: 90px; white-space: normal; }
}

/* Final Rating Gauge */
#final-rating-section { border: 1px solid var(--border-color); border-radius: var(--border-radius); padding: 20px; margin-bottom: 16px; }
.rating-gauge { width: 200px; height: 100px; margin: 0 auto 10px auto; }
.gauge-svg { width: 100%; height: 100%; }
.gauge-segment { stroke-width: 2; stroke: white; }
#grade-e-segment { fill: var(--grade-e-color); }
#grade-d-segment { fill: var(--grade-d-color); }
#grade-c-segment { fill: var(--grade-c-color); }
#grade-b-segment { fill: var(--grade-b-color); }
#grade-a-segment { fill: var(--grade-a-color); }
.gauge-needle { transform-origin: 100px 100px; transition: transform 0.5s ease-in-out; }
.needle-shape, .needle-pivot { fill: var(--text-primary); }
.final-grade { font-size: 2.5rem; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.final-grade.grade-a { color: var(--low-impact); }
.final-grade.grade-b { color: var(--primary-color); }
.final-grade.grade-c { color: var(--medium-impact); }
.final-grade.grade-d, .final-grade.grade-e { color: var(--high-impact); }
.final-title { font-size: 1.2rem; font-weight: 500; margin-bottom: 8px; color: var(--text-secondary); }
.final-description { font-size: 0.9rem; color: var(--text-secondary); max-width: 80%; margin: 0 auto; }

/* Saved Recipes */
.saved-recipe-item { display: flex; justify-content: space-between; align-items: center; padding: 12px; border: 1px solid var(--border-color); border-radius: var(--border-radius); margin-bottom: 8px; background-color: var(--light-bg); }
.saved-recipe-name { font-weight: 500; }
.saved-recipe-actions { display: flex; gap: 8px; }
.empty-saved-message { padding: 30px; text-align: center; color: var(--text-secondary); }

/* --- Styles for Example Recipes Tab --- */
.example-recipe-item {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.example-recipe-item:hover {
    background-color: var(--highlight-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.example-recipe-item h4 {
    margin: 0 0 4px 0;
    color: var(--primary-color);
    font-size: 1rem;
}

.example-recipe-item p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* --- REVISED Styles for "Next Steps" Section --- */
.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
}

.suggestion-icon {
    font-size: 1.1rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.suggestion-text-content {
    flex-grow: 1;
}

.suggestion-text-content ol {
    list-style-type: decimal;
    list-style-position: inside;
    margin: 0;
    padding-left: 5px;
}

.suggestion-text-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.7rem;
}

.suggestion-text-content li:last-child {
    margin-bottom: 0;
}

.suggestion-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 200;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
}

.suggestion-link:hover {
    text-decoration: underline;
}

.suggestion-link .fas {
    margin-right: 5px;
}

/* --- Styles for Exportable Spec Sheet --- */
.spec-sheet-content {
    background-color: white;
    border: 1px solid #dee2e6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #212529;
    padding: 25px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.spec-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #adb5bd;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.spec-sheet-title-section h2 {
    font-size: 24px;
    margin: 0 0 5px 0;
    color: var(--primary-color);
}
.spec-sheet-title-section span {
    font-size: 16px;
    color: #6c757d;
}

/* REVISED RATING STYLES */
.spec-sheet-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    min-width: 180px;
}
.spec-sheet-rating-scale {
    display: flex;
    justify-content: center;
    gap: 4px;
    width: 100%;
}
.rating-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    border-radius: 4px;
    opacity: 0.35;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.rating-a { background-color: var(--grade-a-color); }
.rating-b { background-color: var(--grade-b-color); }
.rating-c { background-color: var(--grade-c-color); }
.rating-d { background-color: var(--grade-d-color); }
.rating-e { background-color: var(--grade-e-color); }
.rating-item.active {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-color: #34495e;
    z-index: 1;
}
.spec-sheet-rating-title {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
/* END REVISED RATING STYLES */

.spec-sheet-main {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.spec-sheet-column {
    flex: 1;
}
.spec-sheet-column h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #495057;
}

.spec-sheet-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-sheet-table th, .spec-sheet-table td {
    border: 1px solid #e9ecef;
    padding: 8px 12px;
    text-align: left;
    font-size: 14px;
}
.spec-sheet-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.spec-sheet-footer {
    border-top: 2px solid #adb5bd;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}
.footer-cta {
    color: var(--primary-color);
    font-weight: 500;
}
.footer-powered-by {
    color: #6c757d;
}

/* --- FIX: Increase chart container height on mobile --- */
@media (max-width: 768px) {
    /* Target only the chart inside the "Impact by Ingredient" panel */
    .ingredient-impact-panel .chart-container {
        height: 400px; 
    }
}
/* Add this to your styles.css file */
.impact-bar-container {
    height: 8px;
    background-color: var(--light-bg);
    border-radius: 4px;
    margin: 8px 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.impact-bar {
    height: 100%;
    width: 0%; /* Will be set by JS */
    border-radius: 4px;
    transition: width 0.5s ease-in-out, background-color 0.5s ease-in-out;
}

/* We can use the existing impact level classes for colors */
.impact-bar.impact-low { background-color: var(--low-impact); }
.impact-bar.impact-medium { background-color: var(--medium-impact); }
.impact-bar.impact-high { background-color: var(--high-impact); }



.impact-rating-pill {
    display: inline-block;
    width: 80px; /* NEW: Sets a fixed width */
    padding: 4px 0; /* Adjust padding to work with fixed width */
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    color: white;
}

.pill-low {
    background-color: var(--low-impact);
}

.pill-medium {
    background-color: var(--medium-impact);
}

.pill-high {
    background-color: var(--high-impact);
}

/* Optional: Adjust table cell alignment for the new column */
.spec-sheet-table td:last-child, .spec-sheet-table th:last-child {
    text-align: center;
}
.spec-sheet-table td:nth-child(2), .spec-sheet-table th:nth-child(2) {
    text-align: right;
}

.promo-section {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.promo-section .section-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.promo-content {
    display: flex;
    align-items: flex-start; /* CHANGE: Aligns items to the top for cleaner look with wrapped text */
    gap: 15px; /* CHANGE: Slightly increased gap for better breathing room */
}

.promo-icon {
    font-size: 1.1rem; /* CHANGE: Restored larger icon size for visibility */
    color: var(--primary-color);
    flex-shrink: 0;
    padding-top: 2px; /* CHANGE: Nudges icon to align perfectly with first line of text */
}

.promo-text {
    flex-grow: 1;
}

.promo-text ol {
    list-style-type: decimal;
    list-style-position: outside; /* CHANGE: Ensures numbers don't get pushed left */
    margin: 0;
    padding-left: 20px; /* CHANGE: Adds proper indentation for the list */
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.promo-text li {
    margin-bottom: 8px;
}
.promo-text li:last-child {
    margin-bottom: 0;
}

.promo-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500; /* CHANGE: Slightly bolder for better readability */
    font-size: 0.9rem;
    text-align: right; /* CHANGE: Aligns link text to the right */
    flex-shrink: 0; /* CHANGE: Prevents link from being squished */
    width: 110px; /* CHANGE: Gives a fixed, narrower width */
    /* REMOVED white-space: nowrap; to allow wrapping */
    /* REMOVED align-self: center; */
}
.promo-link:hover {
    text-decoration: underline;
}
.promo-link .fas {
    margin-right: 5px;
}
.spec-sheet-rating-descriptor {
    margin-top: 6px;
    font-size: 10.5px;
    font-weight: 500;
    color: #6c757d; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}