body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.container {
    margin-left: auto;
    margin-right: auto;
    width: 1280px;
    height: 720px;
    border: 2px solid #ccc;
}

.clickDiv {
    position: relative;
    bottom: 720px;
    left: 0px;
    width: 1280px;
    height: 720px;
    border: 2px solid #ccc;
    overflow: hidden;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: unset !important;
    /*add this it*/
}

/* Grid overlay styles */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Let clicks pass through to iframe */
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, 1fr);
    border: 2px dashed #999;
    background-color: rgba(255, 255, 255, 0.3);
}

.grid-line {
    border: 1px dashed #666;
    opacity: 0.5;
}

/* Optional: Make grid lines more visible */
.grid-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px dashed #666;
    pointer-events: none;
}

/* Info panel */
.info-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.info-panel h3 {
    margin-top: 0;
}

.info-panel pre {
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 4px;
    overflow-x: auto;
    max-width: 300px;
}

/* Toggle button styles */
.toggle-button {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
}

.toggle-button:hover {
    background: rgba(0, 0, 0, 0.1);
}

#clickCanvas {
    width: 100%;
    height: 100%;
}