body {
    background-color: #f4f7f9;
    font-family: Arial, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    display: none;
    gap: 10px;
    align-items: center;
    flex-direction: column;
    /* Los hijos: .top y .bottom van apilados */
    width: 715px;
}

.top {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.bottom {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.box {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
}

button {
    background-color: #e8e8e8;
    border: 1px solid #bbb;
    border-radius: 4px;
    padding: 2px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    background-color: #fff;
    font-weight: 400;
}

button:hover {
    background-color: #d0d0d0;
}

.image-container {
    width: 480px;
    background-color: white;
    border: 2px solid #999;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    display: flex;
}

.image-container img {
    width: 100%;
    height: auto;
    margin: auto;
}

.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    font-size: 10px;
    background-color: #f3b7b7;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    color: #222;
    font-weight: 600;
}

.set {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tags button {
    margin: 2px;
}

.error {
    display: flex;
    flex-direction: column;
}

.error span {
    text-align: center;
}

.error img {
    width: 100%;
}

@media (min-width: 750px) {
    .container {
        display: flex;
    }
}

@media (min-width: 749px) {
    .error {
        display: none;
    }
}