/* Custom Cursor Tester Layout */
.custom-cursor-section {
    max-width: 800px;
    margin: 0 auto;
}

#customCursorTest {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 500;
}

.hotspot-controls {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.hotspot-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hotspot-input-group input {
    width: 80px;
}

@media (max-width: 576px) {
    .hotspot-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .hotspot-input-group input {
        width: 100%;
    }
}

/* Preview area styles */
#previewCanvas {
    border: 1px solid #ddd;
    cursor: default;
}

#shapeJsonEditor {
    font-size: 0.875rem;
}

#generatedJson {
    font-size: 0.875rem;
    background-color: #f8f9fa;
}

.btn-group label {
    cursor: pointer;
}

/* Cursor test area separator */
.cursor-separator {
    width: 100%;
    text-align: center;
    margin: 20px 0;
    padding: 10px 0;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

.cursor-separator h5 {
    margin: 0;
    color: #333;
    font-weight: 600;
}

/* Make cursor divs appear clickable */
.cursorDiv {
    transition: all 0.2s ease;
}

.cursorDiv:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cursorDiv.selected {
    border: 3px solid #0078ff !important;
    box-shadow: 0 0 10px rgba(0, 120, 255, 0.5);
}

/* Selected cursor display */
#selectedCursorDisplay {
    padding: 0.25rem 0.5rem;
    background-color: #e7f3ff;
    border: 1px solid #0078ff;
    border-radius: 0.25rem;
    color: #0056b3;
}

.cursor-preview {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    margin: 0 0.25rem;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    font-size: 1.2rem;
    line-height: 1;
}

.cursor-preview-img {
    display: inline-block;
    max-width: 32px;
    max-height: 32px;
    margin: 0 0.25rem;
    vertical-align: middle;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* Cursor test area styling */
#content {
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}
