.aio-quiz-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 1100px;
    margin: 20px auto;
    color: #333;
}

.aio-quiz-header {
    background-color: #b2f5ea;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-radius: 30px;
    margin-bottom: 25px;
}

.aio-nav-btn {
    background: #00c4cc;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
}

.aio-quiz-body {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 30px;
}

.aio-question-card {
    display: none;
}

.aio-question-card.active {
    display: block;
}

.aio-badge {
    color: #888;
    font-style: italic;
    font-size: 13px;
}

.aio-sortable-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.aio-sortable-item {
    display: flex;
    align-items: center;
    border: 1.5px solid #00c4cc;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: #fff;
    cursor: grab;
}

.aio-rank-num {
    font-weight: bold;
    margin-right: 15px;
}

.aio-drag-handle {
    margin-right: 15px;
    color: #aaa;
    cursor: grab;
}

.aio-option-letter {
    font-weight: bold;
    margin-right: 8px;
}

.aio-submit-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.aio-card-box {
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 8px;
}

.aio-flag-btn {
    background: #b2f5ea;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
}

/* Breakdown Panel Styling */
.aio-breakdown-box {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.aio-order-group {
    border: 1.5px solid #00c4cc;
    background: #e6fffa;
    padding: 15px;
    border-radius: 8px;
    flex: 1;
}

.aio-correct-sequence, .aio-user-sequence {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.aio-seq-badge {
    background: #000;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
}

.aio-seq-badge.user {
    background: #90cdf4;
}

.aio-seq-badge.wrong {
    background: #feb2b2;
}