/* v0.4.0 */
#mp-container.mp-panel {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #fff;
}

#mp-container .mp-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

#mp-container .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-top-color: #666;
    border-radius: 50%;
    display: inline-block;
    animation: mp-spin 0.8s linear infinite;
}

@keyframes mp-spin {
    to {
        transform: rotate(360deg);
    }
}

#mp-items .mp-item {
    margin-bottom: 14px;
}

#mp-items .mp-item .mp-item-title {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

#mp-items .mp-item .mp-thumb {
    margin-top: 8px;
}

#mp-items .mp-item .mp-thumb img {
    max-width: 96px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
}

#mp-options .mp-subtitle {
    margin: 10px 0 6px;
    font-weight: 600;
}

.mp-option {
    padding: 10px;
    border: 1px dashed #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
    background: #fafafa;
}

.mp-option-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mp-option .form-control {
    width: auto;
    min-width: 220px;
}

.mp-option .mp-opt-thumb {
    margin-top: 8px;
}

.mp-option .mp-opt-thumb img {
    max-width: 96px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
}

.mp-summary {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.mp-total-line {
    font-size: 16px;
}

#mp-warnings .alert {
    margin: 8px 0 0;
}