.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

#save-slots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
}

.save-slot {
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.save-slot:hover {
    border-color: #8B0000;
    background-color: #f9f9f9;
}

.save-slot.selected {
    border-color: #8B0000;
    background-color: #ffecec;
}

.save-slot h4 {
    margin-bottom: 5px;
    color: #8B0000;
}

.save-slot p {
    margin: 3px 0;
    font-size: 14px;
}

.empty-slot {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}