﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 40%, #DC143C 40%, #DC143C 60%, #FFFFFF 60%, #FFFFFF 100%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    width: 100%;
    position: relative;
}

.flags-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.language-hint {
    font-size: 0.9em;
    color: #e0e0e0;
    font-weight: 500;
    text-align: center;
    margin-bottom: 5px;
}

.flags-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.flag {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.flag:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.flag:active {
    transform: scale(0.95);
}

/* Subtle pulse animation to draw attention */
@keyframes flag-pulse {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    50% {
        box-shadow: 0 4px 20px rgba(220, 20, 60, 0.4);
    }
}

.flag {
    animation: flag-pulse 3s ease-in-out infinite;
}

.back-to-english {
    display: none;
    margin: 0 auto 20px;
    padding: 12px 24px;
    background: #DC143C;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
    opacity: 0;
    transform: translateY(-10px);
}

.back-to-english:hover {
    background: #B0171F;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 20, 60, 0.4);
}

.back-to-english.show {
    display: block;
    animation: fadeInDown 0.4s ease forwards;
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dutch-message {
    display: none;
    background: orange;
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1em;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(33, 70, 139, 0.3);
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
}

.dutch-message.show {
    display: block;
    animation: slideDownScale 0.5s ease forwards;
}

@keyframes slideDownScale {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.flag-dutch {
    display: flex;
    flex-direction: column;
}

.flag-dutch .stripe {
    height: 33.33%;
    width: 100%;
}

.flag-dutch .stripe-1 {
    background: #AE1C28;
}

.flag-dutch .stripe-2 {
    background: #FFFFFF;
}

.flag-dutch .stripe-3 {
    background: #21468B;
}

.flag-polish {
    display: flex;
    flex-direction: column;
}

.flag-polish .stripe {
    height: 50%;
    width: 100%;
}

.flag-polish .stripe-1 {
    background: #FFFFFF;
}

.flag-polish .stripe-2 {
    background: #DC143C;
}

.flag-heart {
    font-size: 30px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

h1 {
    text-align: center;
    color: #DC143C;
    margin-bottom: 20px;
    font-size: 2.2em;
    font-weight: 700;
    line-height: 1.3;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

h1.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

p {
    text-align: center;
    color: #333;
    font-size: 1.1em;
    margin-bottom: 30px;
    font-weight: 500;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

p.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.time-display {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
    position: relative;
}

.time-unit {
    background: #DC143C;
    padding: 25px 15px;
    border-radius: 12px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
    transition: transform 0.3s ease;
}

.time-unit:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(220, 20, 60, 0.4);
}

.time-unit-value {
    font-size: 2.5em;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    margin-bottom: 5px;
}

.time-unit-label {
    font-size: 0.85em;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.time-unit-label.fade-out {
    opacity: 0;
    transform: translateY(-5px);
}

.pierogi-count {
    background: linear-gradient(135deg, #DC143C 0%, #B0171F 100%);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.3);
    border: 4px solid #FFD700;
}

.pierogi-count p {
    color: white;
    margin-bottom: 20px;
    font-size: 1em;
    line-height: 1.6;
    opacity: 0.95;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.pierogi-count p.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.pierogi-label {
    font-size: 1.3em;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.pierogi-label.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.pierogi-value {
    font-size: 4.5em;
    font-weight: 800;
    color: #FFD700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cooking-status {
    margin-top: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 2px solid #FFD700;
}

.status-label {
    font-size: 1.1em;
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.status-label.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.progress-bar-container {
    width: 100%;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    border-radius: 20px;
    transition: width 1s ease;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.current-step {
    font-size: 1.1em;
    font-weight: 600;
    color: white;
    text-align: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.current-step.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.step-list {
    margin-top: 20px;
    display: grid;
    gap: 12px;
    color: white;
    opacity: 0.9;
}

.step-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 15px;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-item.active {
    background: rgba(255, 215, 0, 0.15);
    border-color: #FFD700;
    color: #FFD700;
    font-weight: 700;
    opacity: 1;
}

.step-item.completed {
    color: #90EE90;
    opacity: 0.8;
}

.step-number {
    font-weight: 700;
    font-size: 1em;
}

.step-name {
    text-align: left;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.step-name.fade-out {
    opacity: 0;
    transform: translateX(-10px);
}

.step-time {
    font-size: 0.9em;
    opacity: 0.8;
    font-style: italic;
}

.step-progress {
    font-size: 0.85em;
    font-weight: 600;
    min-width: 60px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.step-item.active .step-progress {
    color: #FFD700;
}

.step-item.completed .step-progress {
    color: #90EE90;
}

.completed {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 40px;
    color: #DC143C;
    font-size: 2em;
    font-weight: 700;
    display: none;
    line-height: 1.5;
    transition: opacity 0.3s ease;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 100;
    width: calc(100% - 80px);
    box-sizing: border-box;
}

.completed.show {
    display: block;
    opacity: 1;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #DC143C;
    font-size: 2.5em;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 50%;
}

.close-popup:hover {
    background: rgba(220, 20, 60, 0.1);
    transform: scale(1.1);
}

.close-popup:active {
    transform: scale(0.95);
}

.completed.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.footer-text {
    text-align: center;
    padding: 30px 20px;
    font-size: 1.5em;
    font-weight: 600;
    color: #DC143C;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Removed rule that hides content - keeping original page visible */

.footer-text.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

/* Translation Manager */
.translation-manager {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    overflow-y: auto;
    padding: 20px;
}

.translation-manager.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.translation-panel {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.translation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #DC143C;
}

.translation-header h2 {
    color: #DC143C;
    font-size: 2em;
    margin: 0;
}

.close-manager {
    background: #DC143C;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.close-manager:hover {
    background: #B0171F;
    transform: translateY(-2px);
}

.manager-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.manager-tab {
    padding: 12px 24px;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #333;
}

.manager-tab.active {
    background: #DC143C;
    color: white;
}

.manager-tab:hover {
    background: #e0e0e0;
}

.manager-tab.active:hover {
    background: #B0171F;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Tracker Tabs */
.tracker-tabs-container {
    margin-bottom: 30px;
}

.tracker-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tracker-tab {
    padding: 12px 24px;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #333;
    flex: 1;
    min-width: 150px;
}

.tracker-tab.active {
    background: #DC143C;
    color: white;
}

.tracker-tab:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.tracker-tab.active:hover {
    background: #B0171F;
}

.tracker-tab-content {
    display: none;
}

.tracker-tab-content.active {
    display: block;
}

.tracker-tab-content iframe {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.food-counting-placeholder {
    background: #f9f9f9;
    border-radius: 12px;
    text-align: center;
    color: #666;
    font-size: 1.1em;
}

.add-translation-form {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #DC143C;
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.language-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.language-input {
    display: flex;
    flex-direction: column;
}

.language-input label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.add-translation-btn {
    background: #DC143C;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-translation-btn:hover {
    background: #B0171F;
    transform: translateY(-2px);
}

.translations-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.translations-table th {
    background: #DC143C;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.translations-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.translations-table tr:hover {
    background: #f9f9f9;
}

.translation-key {
    font-weight: 600;
    color: #DC143C;
    font-family: 'Courier New', monospace;
}

.translation-value {
    max-width: 300px;
    word-wrap: break-word;
}

.translation-value.missing {
    color: #ff6b6b;
    font-style: italic;
}

.edit-translation-btn,
.delete-translation-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85em;
    margin-right: 5px;
    transition: all 0.3s ease;
}

.edit-translation-btn {
    background: #4CAF50;
    color: white;
}

.edit-translation-btn:hover {
    background: #45a049;
}

.delete-translation-btn {
    background: #f44336;
    color: white;
}

.delete-translation-btn:hover {
    background: #da190b;
}

.export-import {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.export-btn,
.import-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.export-btn {
    background: #2196F3;
    color: white;
}

.export-btn:hover {
    background: #0b7dda;
}

.import-btn {
    background: #FF9800;
    color: white;
}

.import-btn:hover {
    background: #e68900;
}

.hidden-file-input {
    display: none;
}

.stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f0f0f0;
    border-radius: 8px;
}

.stat-item {
    flex: 1;
}

.stat-label {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.5em;
    font-weight: 700;
    color: #DC143C;
}

#jsonPreview {
    background: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.copy-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #45a049;
}

.toggle-manager-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #DC143C;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.4);
    z-index: 1500;
    transition: all 0.3s ease;
    display: none;
}

.toggle-manager-btn:hover {
    background: #B0171F;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 20, 60, 0.5);
}

.toggle-manager-btn.show {
    display: block;
}

/* Confetti */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #f0f;
    animation: confetti-fall linear infinite;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100%) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 20px 15px;
    }

    .flags-container {
        gap: 10px;
        margin-bottom: 20px;
    }

    .language-hint {
        font-size: 0.85em;
    }

    .flag {
        width: 60px;
        height: 45px;
    }

    .flag-heart {
        font-size: 24px;
    }

    .back-to-english {
        margin-bottom: 15px;
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .dutch-message {
        padding: 12px 15px;
        font-size: 1em;
        margin-bottom: 15px;
    }

    h1 {
        font-size: 1.5em;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    p {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .time-display {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        margin-bottom: 20px;
    }

    .time-unit {
        padding: 18px 10px;
    }

    .time-unit-value {
        font-size: 2em;
    }

    .time-unit-label {
        font-size: 0.7em;
    }

    .tracker-tabs-container {
        margin-bottom: 20px;
    }

    .tracker-tabs {
        gap: 8px;
        margin-bottom: 15px;
    }

    .tracker-tab {
        padding: 10px 16px;
        font-size: 0.9em;
        min-width: 120px;
    }

    .tracker-tab-content iframe {
        height: 350px;
    }

    .food-counting-placeholder {
        font-size: 1em;
    }

    .pierogi-count {
        padding: 20px 15px;
        border-width: 3px;
    }

    .pierogi-count p {
        font-size: 0.85em;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .pierogi-label {
        font-size: 1em;
        margin-bottom: 6px;
        letter-spacing: 1.5px;
    }

    .pierogi-value {
        font-size: 3em;
    }

    .cooking-status {
        margin-top: 15px;
        padding: 15px;
    }

    .status-label {
        font-size: 0.9em;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }

    .progress-bar-container {
        height: 30px;
        margin-bottom: 10px;
    }

    .current-step {
        font-size: 0.95em;
        margin-bottom: 10px;
    }

    .step-list {
        gap: 6px;
        margin-top: 12px;
    }

    .step-item {
        grid-template-columns: auto 1fr auto;
        gap: 8px;
        padding: 8px 10px;
    }

    .step-number {
        font-size: 0.9em;
    }

    .step-name {
        font-size: 0.9em;
    }

    .step-time {
        display: none;
    }

    .step-progress {
        text-align: right;
        padding-left: 0;
        font-size: 0.85em;
        min-width: 45px;
    }

    .completed {
        font-size: 1.5em;
        padding: 25px 15px;
        width: calc(100% - 40px);
    }

    .close-popup {
        top: 5px;
        right: 5px;
        font-size: 2em;
        width: 35px;
        height: 35px;
    }

    .footer-text {
        font-size: 1.3em;
        padding: 25px 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 8px;
    }

    .container {
        padding: 15px 12px;
    }

    .flags-container {
        gap: 8px;
        margin-bottom: 15px;
    }

    .language-hint {
        font-size: 0.8em;
    }

    .flag {
        width: 50px;
        height: 38px;
    }

    .flag-heart {
        font-size: 20px;
    }

    .back-to-english {
        margin-bottom: 12px;
        padding: 8px 16px;
        font-size: 0.85em;
    }

    h1 {
        font-size: 1.3em;
        margin-bottom: 10px;
    }

    p {
        font-size: 0.9em;
        margin-bottom: 15px;
    }

    .time-display {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
        margin-bottom: 15px;
    }

    .time-unit {
        padding: 14px 8px;
    }

    .time-unit-value {
        font-size: 1.7em;
    }

    .time-unit-label {
        font-size: 0.65em;
        letter-spacing: 1px;
    }

    .tracker-tabs-container {
        margin-bottom: 15px;
    }

    .tracker-tabs {
        gap: 6px;
        margin-bottom: 12px;
    }

    .tracker-tab {
        padding: 8px 12px;
        font-size: 0.85em;
        min-width: 100px;
    }

    .tracker-tab-content iframe {
        height: 300px;
    }

    .food-counting-placeholder {
        font-size: 0.95em;
    }

    .pierogi-count {
        padding: 15px 12px;
    }

    .pierogi-count p {
        font-size: 0.8em;
        margin-bottom: 10px;
    }

    .pierogi-label {
        font-size: 0.9em;
        margin-bottom: 5px;
        letter-spacing: 1.2px;
    }

    .pierogi-value {
        font-size: 2.5em;
    }

    .cooking-status {
        margin-top: 12px;
        padding: 12px;
    }

    .status-label {
        font-size: 0.85em;
        margin-bottom: 8px;
    }

    .progress-bar-container {
        height: 26px;
        margin-bottom: 8px;
    }

    .current-step {
        font-size: 0.9em;
        margin-bottom: 8px;
    }

    .step-list {
        gap: 5px;
        margin-top: 10px;
    }

    .step-item {
        padding: 6px 8px;
        font-size: 0.85em;
        grid-template-columns: auto 1fr auto;
    }

    .step-number {
        font-size: 0.85em;
    }

    .step-name {
        font-size: 0.85em;
    }

    .step-time {
        display: none;
    }

    .step-progress {
        font-size: 0.8em;
        min-width: 40px;
        text-align: right;
    }

    .completed {
        font-size: 1.2em;
        padding: 20px 12px;
        width: calc(100% - 24px);
    }

    .close-popup {
        top: 5px;
        right: 5px;
        font-size: 1.8em;
        width: 30px;
        height: 30px;
    }

    .footer-text {
        font-size: 1.1em;
        padding: 20px 12px;
    }
}

/* Translation Manager Responsive */
@media (max-width: 768px) {
    .translation-panel {
        padding: 20px 15px;
        margin-top: 10px;
    }

    .translation-header h2 {
        font-size: 1.5em;
    }

    .manager-tabs {
        flex-direction: column;
    }

    .manager-tab {
        width: 100%;
    }

    .language-inputs {
        grid-template-columns: 1fr;
    }

    .translations-table {
        font-size: 0.85em;
    }

    .translations-table th,
    .translations-table td {
        padding: 8px;
    }

    .translation-value {
        max-width: 150px;
    }

    .stats {
        flex-direction: column;
        gap: 10px;
    }

    .export-import {
        flex-direction: column;
    }

    .toggle-manager-btn {
        bottom: 10px;
        right: 10px;
        padding: 12px 16px;
        font-size: 0.8em;
    }
}