.nutrition-hero {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 4rem 5%;
    position: relative;
    overflow: hidden;
}

.nutrition-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    opacity: 0.3;
    z-index: 0;
}

.nutrition-hero:after {
    content: "";
    position: absolute;
    top: -20px;
    left: 5%;
    height: 70px;
    width: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.nutrition-hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.nutrition-hero h2:after {
    content: "";
    position: absolute;
    height: 6px;
    border-radius: 3px;
    width: 80px;
    background: rgba(255, 255, 255, 0.4);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.nutrition-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.nutrition-container {
    display: flex;
    background-color: var(--white);
    min-height: 700px;
}

.nutrition-sidebar {
    width: 320px;
    background-color: #f8fafc;
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--medium-gray);
    height: 100%;
    position: sticky;
    top: 80px;
    align-self: flex-start;
    box-shadow: inset -5px 0 10px -7px rgba(0, 0, 0, 0.05);
    border-radius: 18px;
    margin: 2rem 0 2rem 2rem;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    color: #000;
}

.nutrition-content {
    flex: 1;
    padding: 2.5rem;
    background-color: var(--white);
}

.search-box {
    margin-bottom: 2.2rem;
}

.search-box h3 {
    color: #000;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.search-box h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
}

.search-input {
    display: flex;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background: #fff;
}

.search-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-right: none;
    border-top-left-radius: var(--border-radius-sm);
    border-bottom-left-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.search-input input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(39, 43, 28, 0.1);
}

.search-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-top-right-radius: var(--border-radius-sm);
    border-bottom-right-radius: var(--border-radius-sm);
    padding: 0;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn i {
    color: #fff;
    font-size: 1.3rem;
    margin: 0;
    pointer-events: none;
}

.search-btn:hover {
    background-color: var(--secondary-dark);
}

.filter-section {
    margin-bottom: 2.2rem;
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 1.5rem;
    opacity: 1;
}

.filter-section:last-of-type {
    border-bottom: none;
}

.filter-section h4 {
    color: #000;
    margin-bottom: 1.1rem;
    font-size: 1.08rem;
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
    font-weight: 700;
    letter-spacing: 0.01em;
    opacity: 1;
}

.filter-section h4::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
}

.filter-section ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.filter-section ul li {
    margin-bottom: 0.8rem;
}

.filter-section label {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 6px 0 6px 2px;
    font-size: 1rem;
    gap: 0.5rem;
    color: #000;
    font-weight: 500;
    opacity: 1;
}

.filter-section label:hover {
    color: var(--secondary-color);
}

.filter-section input[type="checkbox"] {
    margin-right: 10px;
    accent-color: var(--secondary-color);
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid var(--medium-gray);
    background: #fff;
    transition: border-color 0.2s;
}

.filter-section input[type="checkbox"]:focus {
    outline: 2px solid var(--secondary-color);
}

.range-filter {
    margin-bottom: 1.5rem;
}

.range-filter label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
}

.range-inputs {
    display: flex;
    gap: 8px;
}

.range-inputs input {
    width: 70px;
    padding: 10px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius-sm);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.range-inputs input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(39, 43, 28, 0.1);
}

.go-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 0 15px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.go-btn:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
}

.reset-btn {
    width: 100%;
    margin-top: 1.5rem;
    transition: transform 0.3s ease;
}

.reset-btn:hover {
    transform: translateY(-3px);
}

.wide-search {
    display: flex;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.wide-search input {
    flex: 1;
    padding: 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    font-size: 1.05rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wide-search input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(39, 43, 28, 0.1);
}

.wide-search .search-btn {
    padding: 0 25px;
    font-size: 1.05rem;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.results-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

.results-header h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #000;
}

#result-count {
    font-weight: 600;
    color: #000;
}

#filter-summary {
    font-size: 1rem;
    color: #000;
}

.filter-tag {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 15px;
    margin: 0 5px 5px 0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-tag:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}

.food-item {
    padding: 15px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--medium-gray);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
    overflow: hidden;
}

.food-item.low-sodium {
    border-left-color: var(--secondary-color);
}

.food-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.food-item h4 {
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
}

.food-code {
    color: var(--dark-gray);
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    font-family: monospace;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
}

.view-nutrition-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background-color: var(--white);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.view-nutrition-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(39, 43, 28, 0.25);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2.5rem;
}

.page-btn {
    color: #000;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--medium-gray);
    background-color: var(--white);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-btn.active {
    color: #000;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 8px rgba(39, 43, 28, 0.25);
}

.page-btn:hover:not(.active) {
    color: #000;
    background-color: var(--light-gray);
    transform: translateY(-3px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.nutrient-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.nutrient-modal-content {
    background-color: var(--white);
    margin: 5% auto;
    width: 85%;
    max-width: 800px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-nutrient-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    transition: transform 0.3s ease;
    z-index: 5;
}

.close-nutrient-btn:hover {
    transform: rotate(90deg);
}

.nutrient-header {
    background: #272B1C;
    color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    position: relative;
}

.nutrient-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    opacity: 0.2;
    z-index: 0;
}

.nutrient-header h2 {
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}

.nutrient-food-code {
    opacity: 0.8;
    font-family: monospace;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.nutrient-data {
    padding: 2.5rem;
}

.nutrient-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 2rem;
}

.tag {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tag::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.low-sodium-tag {
    background-color: #e6f7ff;
    color: #272b1C;
    border: 1px solid #272b1C;
}

.low-sodium-tag::before {
    background-color: #272b1C;
}

.low-potassium-tag {
    background-color: #f0f7ff;
    color: #272b1C;
    border: 1px solid #272b1C;
}

.low-potassium-tag::before {
    background-color: #272b1C;
}

.low-phosphorus-tag {
    background-color: #f5f0ff;
    color: #7e3ff2;
    border: 1px solid #7e3ff2;
}

.low-phosphorus-tag::before {
    background-color: #7e3ff2;
}

.low-protein-tag {
    background-color: #fff8e6;
    color: #e69500;
    border: 1px solid #e69500;
}

.low-protein-tag::before {
    background-color: #e69500;
}

.nutrient-table-container {
    margin-bottom: 2rem;
    max-height: 400px;
    overflow-y: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.nutrient-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
}

.nutrient-table th,
.nutrient-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--medium-gray);
}

.nutrient-table th {
    background-color: var(--light-gray);
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 2;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.nutrient-table tr:last-child td {
    border-bottom: none;
}

.nutrient-table tr:hover {
    background-color: var(--light-gray);
}

.nutrient-table td:nth-child(2) {
    font-weight: 600;
    color: var(--secondary-color);
}

.nutrient-table td:nth-child(3) {
    color: var(--dark-gray);
}

.serving-info {
    margin-bottom: 2rem;
    padding: 1.2rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-around;
}

.serving-info p {
    margin: 0;
    color: var(--text-color);
}

.serving-info strong {
    color: var(--dark-gray);
    margin-right: 8px;
}

.nutrient-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.nutrient-actions button {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.nutrient-actions button:hover {
    transform: translateY(-3px);
}

.nutrient-actions .primary-btn {
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 992px) {
    .nutrition-container {
        flex-direction: column;
    }
    .nutrition-sidebar {
        width: 100%;
        min-width: 0;
        margin: 1.5rem 0;
        border-radius: 14px;
        padding: 1.5rem 1rem;
        position: static;
        top: 0;
    }
    
    .nutrition-hero h2 {
        font-size: 2.4rem;
    }
    
    .filter-section {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 2rem;
    }
}

@media (max-width: 768px) {
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .nutrient-tags {
        justify-content: center;
    }

    .nutrient-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .wide-search {
        flex-direction: column;
        border-radius: var(--border-radius-sm);
        overflow: hidden;
        box-shadow: none;
    }
    
    .wide-search input {
        border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
        border: 1px solid var(--medium-gray);
    }
    
    .wide-search .search-btn {
        border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
        padding: 12px;
        width: 100%;
    }
    
    .nutrition-hero h2 {
        font-size: 2.1rem;
    }
    
    .food-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .food-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .range-inputs {
        flex-wrap: wrap;
    }

    .range-inputs input {
        width: calc(50% - 4px);
    }

    .go-btn {
        width: 100%;
        margin-top: 8px;
        padding: 10px;
    }
    
    .nutrient-table th, 
    .nutrient-table td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }
    
    .nutrition-hero h2 {
        font-size: 1.8rem;
    }
    
    .nutrition-hero p {
        font-size: 1rem;
    }
    
    .food-item.recipe-item {
        padding: 12px;
        min-height: auto;
        max-height: none;
    }
    
    .nutrient-modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 15px;
    }
    
    .nutrient-header h2 {
        font-size: 1.3rem;
    }
    
    .nutrient-table {
        font-size: 0.9rem;
    }
    
    .view-recipe-btn {
        width: 100%;
        margin-top: 8px;
    }
    
    .food-item.recipe-item.low-carb::after,
    .food-item.recipe-item.diabetes-friendly::after,
    .food-item.recipe-item.low-carb.diabetes-friendly::after {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
}

@media (max-width: 600px) {
    .search-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        font-size: 1.1rem;
    }
    .search-btn i {
        font-size: 1.1rem;
    }
}

/* Recipe items styling - fixing overlapping issues */
.food-item.recipe-item {
    border-left: 4px solid #272b1C;
    position: relative;
    overflow: hidden;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.food-item .nutrition-brief span {
    display: inline-flex;
    align-items: center;
}

.food-item .nutrition-brief i {
    margin-right: 5px;
    color: #272b1C;
}

.view-recipe-btn {
    background-color: #272b1C;
}

.view-recipe-btn:hover {
    background-color: #1a1d13;
}

/* Section headers in nutrient modal */
.section-header {
    background-color: #f9f9f9;
    padding: 8px 0;
    margin-top: 15px;
}

.section-header h4 {
    margin: 0;
    color: #333;
}

/* Low carb and diabetes-friendly indicators */
.food-item.recipe-item.low-carb::after {
    content: "Low Carb";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #eaebe6;
    color: #272b1C;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.food-item.recipe-item.diabetes-friendly::after {
    content: "Diabetes Friendly";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #eaebe6;
    color: #272b1C;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.food-item.recipe-item.low-carb.diabetes-friendly::after {
    content: "Low Carb • Diabetes Friendly";
    max-width: 180px;
}

/* Style adjustments for Chinese language */
html[lang="zh-TW"] .food-item.recipe-item.low-carb::after {
    content: "低碳水";
    font-size: 0.8rem;
    padding: 3px 6px;
}

html[lang="zh-TW"] .food-item.recipe-item.diabetes-friendly::after {
    content: "適合糖尿病";
    font-size: 0.8rem;
    padding: 3px 6px;
}

html[lang="zh-TW"] .food-item.recipe-item.low-carb.diabetes-friendly::after {
    content: "低碳水 • 適合糖尿病";
    font-size: 0.8rem;
    padding: 3px 6px;
}

/* Fix for recipe Chinese titles */
html[lang="zh-TW"] .food-item h4 {
    font-size: 1rem;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
    max-height: 2.8em;
    overflow: hidden;
}

/* Fix for nutrition brief display in recipes */
.food-item .nutrition-brief {
    margin-top: 5px;
    font-size: 0.9em;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Better adaptive layout for mobile devices */
@media (max-width: 576px) {
    .food-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* Fix recipe card height on mobile */
    .food-item.recipe-item {
        padding: 12px;
        min-height: auto;
        max-height: none;
    }
    
    /* Make the "View Recipe" button full width */
    .view-recipe-btn {
        width: 100%;
        margin-top: 8px;
    }
    
    /* Adjust tag display for low-carb and diabetes-friendly indicators */
    .food-item.recipe-item.low-carb::after,
    .food-item.recipe-item.diabetes-friendly::after,
    .food-item.recipe-item.low-carb.diabetes-friendly::after {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
}

/* Fix for the indicators after recipe items */
.food-item.recipe-item.low-carb::after,
.food-item.recipe-item.diabetes-friendly::after,
.food-item.recipe-item.low-carb.diabetes-friendly::after {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Adjust specific spacing for zh-TW text */
html[lang="zh-TW"] .food-item.recipe-item.low-carb::after,
html[lang="zh-TW"] .food-item.recipe-item.diabetes-friendly::after,
html[lang="zh-TW"] .food-item.recipe-item.low-carb.diabetes-friendly::after {
    font-size: 0.8rem;
    padding: 3px 6px;
}

/* Recipes header section */
.recipes-header {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
    text-align: center;
}

.recipes-header h3 {
    font-size: 1.8rem;
    color: #272b1C;
    margin-bottom: 10px;
}

.recipes-header p {
    color: #666;
    max-width: 800px;
    margin: 0 auto 20px;
}

/* Connection error styling */
.connection-error {
    text-align: center;
    padding: 30px;
    margin: 20px auto;
    max-width: 600px;
    background-color: #fff9f9;
    border: 1px solid #ffebee;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.connection-error i {
    font-size: 3rem;
    color: #f44336;
    margin-bottom: 15px;
}

.connection-error h3 {
    color: #d32f2f;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.connection-error p {
    margin-bottom: 15px;
    color: #555;
}

.connection-error ul {
    text-align: left;
    max-width: 200px;
    margin: 15px auto;
    color: #666;
}

.connection-error button {
    margin-top: 20px;
    background-color: #272b1C;
}

.connection-error button:hover {
    background-color: #1a1d13;
}

.loading {
    text-align: center;
    padding: 30px;
    font-size: 1.2rem;
    color: #666;
}

.loading i {
    margin-right: 10px;
    color: #2196f3;
} 