body {
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f0f0f0;
    margin: 0;
    padding: 20px;
}

h1 {
    color: #333;
}

#gameCanvas {
    background-color: #fff;
    border: 2px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#progress-panel {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 800px;
    margin-top: 20px;
    padding: 10px;
    background-color: #e9ecef;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#progress-panel span, #stats-panel span {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

#stats-panel {
    display: flex;
    justify-content: space-around;
    width: 800px;
    margin-top: 20px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#stats-panel span {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

#ui-panel {
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    margin: 0 10px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

button:hover {
    background-color: #f8f8f8;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    text-align: center;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.shop-items {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.shop-item {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 5px;
    width: 30%;
}

#export-import-modal textarea {
    width: 95%;
    min-height: 80px;
    margin-top: 10px;
    font-family: monospace;
}

#export-import-modal hr {
    margin: 20px 0;
}

#dialogue-box {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 780px;
    min-height: 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#walter-dialogue {
    margin: 0;
    font-style: italic;
    color: #555;
}

/* Cooking Modal Styles */
#inventory-panel {
    margin: 15px 0;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

#inventory-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.inventory-item {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 5px;
}

#recipe-list button {
    display: block;
    margin: 10px auto;
}

#minigame-bar-container {
    width: 80%;
    height: 30px;
    background-color: #eee;
    border: 1px solid #ccc;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
}

#minigame-target {
    position: absolute;
    left: 60%;
    width: 15%;
    height: 100%;
    background-color: #4CAF50; /* Green */
}

#minigame-marker {
    position: absolute;
    left: 0%;
    width: 5px;
    height: 100%;
    background-color: #f44336; /* Red */
    animation: moveMarker 2s linear infinite;
}

@keyframes moveMarker {
    0% { left: 0%; }
    100% { left: 100%; }
} 