body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #222;
    color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#game-container {
    display: flex;
    border: 3px solid #555;
    background-color: #333;
}

#gameCanvas {
    display: block;
}

#ui-panel {
    width: 200px;
    padding: 15px;
    border-left: 3px solid #555;
    display: flex;
    flex-direction: column;
}

#ui-panel h2, #ui-panel h3 {
    text-align: center;
    color: #4CAF50;
    border-bottom: 1px solid #555;
    padding-bottom: 10px;
    margin-top: 0;
}

.info-box {
    display: flex;
    justify-content: space-between;
    font-size: 1.2em;
    margin: 10px 0;
}

.info-box span:last-child {
    font-weight: bold;
}

hr {
    border: 1px solid #555;
    width: 100%;
    margin: 15px 0;
}

#tower-selection .tower-option {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 2px solid #555;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

#tower-selection .tower-option.selected {
    background-color: #4a4a4a;
    border-color: #4CAF50;
}

#tower-selection .tower-option:hover {
    background-color: #444;
}

.tower-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border: 1px solid #777;
}

.tower-icon.gatling {
    background-color: #aaa;
}
.tower-icon.cannon {
    background-color: #666;
}

#start-wave-btn {
    padding: 15px;
    font-size: 1.2em;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: auto; /* Pousse le bouton en bas */
}

#start-wave-btn:disabled {
    background-color: #555;
    cursor: not-allowed;
}

#game-message {
    text-align: center;
    margin-top: 15px;
    font-size: 1.1em;
    color: #f44336;
    font-weight: bold;
}
