body {
    background: #f5f7ff;
    font-family: "Roboto Condensed", sans-serif;
}

.question-box {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.big-btn {
    font-size: 53px;
    font-weight: bold;
    padding: 20px;
    border-radius: 20px;
}

.team-box {
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: black;
}

.team1 {
    border:2px solid #000;
}

.team2 {
    border:2px solid #000;
}

.team3 {
    border:2px solid #000;
}

.team4 {
    border:2px solid #000;
}

.correct {
    border:2px solid #2ecc71 !important;
}

.wrong {
    border:2px solid #e74c3c !important;
}

/***************************************************/

.option {
    border-radius: 20px;
    cursor: pointer;
    border: 5px solid transparent;
}

.option:hover {
    border: 5px solid #3498db;
}

.drag {
    cursor: move;
}

.drop {
    height: 150px;
    border: 3px dashed #ccc;
}

.correct {
    border: 2px solid #2ecc71 !important;
}

.wrong {
    border: 2px solid #e74c3c !important;
}

.stars {
    font-size: 22px;
    margin-top: 5px;
}

.star {
    color: yellow;
}

.wrong {
    animation: shake .3s;
}

@keyframes shake {
    0% {
        transform: translateX(0)
    }

    25% {
        transform: translateX(-5px)
    }

    50% {
        transform: translateX(5px)
    }

    75% {
        transform: translateX(-5px)
    }

    100% {
        transform: translateX(0)
    }
}

.pattern-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pattern-box {
    width: 120px;
    height: 120px;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pattern-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.drop img {
    max-width: 90%;
    max-height: 90%;
    pointer-events: none;
}

.drop {
    border: 3px dashed #aaa;
}

.items-row {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.item {
    width: 120px;
}

.pattern-box,
.item-box {
    width: 150px;
    height: 150px;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: white;
}

.pattern-box img,
.item-box img,
.drop img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pattern-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.items-row {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* item kéo */
.item-box img {
    width: 95%;
    height: 95%;
    object-fit: contain;
}

/* ảnh khi đã drop */
.drop img {
    width: 95%;
    height: 95%;
    object-fit: contain;
}

.pattern-box,
.item-box,
.drop {
    width: 150px;
    height: 150px;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: white;
}

.pattern-box img,
.item-box img,
.drop img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

/* item kéo */
.drag {
    width: 95%;
    height: 95%;
}

.pattern-box,
.item-box {
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.drop {
    border: 3px dashed #999;
}

.pattern-box img,
.item-box img,
.drop img {
    display: block;
    margin: auto;
    object-fit: contain;
}

.answer-btn.selected {
    border: 4px solid #ffc107;
    background: #fff3cd;
    transform: scale(1.05);
}

.answer-btn:disabled {
    opacity: 1;
}

.drag,
.drop,
.ui-draggable,
.ui-droppable {
    touch-action: none;
    -ms-touch-action: none;
}

.drag,
.drop {
    touch-action: none;
}