body {
    font-family: sans-serif;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.header-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    color: #4a4a4a;
}

p {
    max-width: 600px;
    text-align: center;
    line-height: 1.5;
}

input, button {
    margin: 10px 0;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
}

button:hover {
    background-color: #0056b3;
}

.controls {
    display: flex;
    gap: 10px;
}

.tool-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #e9ecef;
    padding: 5px 15px;
    border-radius: 5px;
}

button#undoButton {
    background-color: #6c757d;
}

button#undoButton:hover {
    background-color: #5a6268;
}

button#grayscaleButton {
    background-color: #343a40;
}

button#grayscaleButton:hover {
    background-color: #23272b;
}

button#addTextButton {
    background-color: #17a2b8;
}

button#addTextButton:hover {
    background-color: #138496;
}

#lang-switcher {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 5px;
}

#lang-switcher button {
    padding: 5px 10px;
    background-color: #e9ecef;
    color: #495057;
    border: 1px solid #ced4da;
    font-weight: bold;
}

canvas {
    border: 2px dashed #ccc;
    margin-top: 20px;
    max-width: 100%;
    cursor: crosshair;
}

#recommendations {
    margin-top: 40px;
    width: 100%;
    max-width: 600px;
}

#recommendations h2 {
    text-align: center;
    margin-bottom: 20px;
}

#recommendations details {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
}

#recommendations summary {
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    outline: none;
}

#recommendations summary:hover {
    background-color: #f8f9fa;
}

.recommendation-content {
    padding: 0 15px 15px 15px;
    border-top: 1px solid #ddd;
}

.recommendation-content ul {
    padding-left: 20px;
}

#about-us {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    width: 100%;
    max-width: 600px;
    text-align: center;
}

#about-us h3 {
    margin-bottom: 10px;
}

.recommendation-example-image {
    max-width: 100%;
    border-radius: 5px;
    margin-top: 15px;
    border: 1px solid #eee;
}
