.ays-hotspot-field {
    display: block;
}

.ays-hotspot-instructions {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.ays-hotspot-stage,
.ays-hotspot-result-stage {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #f6f7fb;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.ays-hotspot-stage {
    cursor: crosshair;
}

.ays-hotspot-image,
.ays-hotspot-result-image {
    display: block;
    width: 100%;
    height: auto;
}

.ays-hotspot-image-missing,
.ays-hotspot-result-image-missing {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #6b7280;
    font-size: 15px;
}

.ays-hotspot-markers,
.ays-hotspot-result-markers {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ays-hotspot-marker,
.ays-hotspot-result-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    pointer-events: auto;
}

.ays-hotspot-marker {
    background: transparent;
    color: transparent;
    border: 0;
    box-shadow: none;
    opacity: 0;
}

.ays-hotspot-marker span {
    opacity: 0;
}

.ays-hotspot-marker.is-selected {
    opacity: 1;
    color: #fff;
    background: rgba(37, 99, 235, 0.35);
    border: 2px solid #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.ays-hotspot-marker.is-selected span {
    opacity: 1;
}

.ays-hotspot-selection-summary,
.ays-hotspot-result-summary {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
}

.ays-hotspot-selection-title,
.ays-hotspot-result-summary-label {
    font-weight: 600;
}

.ays-hotspot-results {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 18px;
    align-items: start;
}

.ays-hotspot-result-sidebar {
    display: grid;
    gap: 12px;
}

.ays-hotspot-result-card {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
}

.ays-hotspot-result-card.correct {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.08);
}

.ays-hotspot-result-card.wrong {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.08);
}

.ays-hotspot-result-card h5 {
    margin: 0 0 8px;
    font-size: 15px;
}

.ays-hotspot-result-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.ays-hotspot-result-marker {
    border: 2px solid transparent;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.ays-hotspot-result-marker.user {
    background: rgba(37, 99, 235, 0.75);
    border-color: #2563eb;
}

.ays-hotspot-result-marker.correct {
    background: rgba(34, 197, 94, 0.8);
    border-color: #16a34a;
}

.ays-hotspot-result-marker.user.correct {
    background: rgba(34, 197, 94, 0.8);
    border-color: #16a34a;
}

.ays-hotspot-results-wrapper {
    pointer-events: auto;
}

@media screen and (max-width: 767px) {
    .ays-hotspot-results {
        grid-template-columns: 1fr;
    }

    .ays-hotspot-result-card {
        padding: 12px 14px;
    }
}
