/* Instagram Reels Safe Zone Checker - tool-specific styles on top of the
 * shared image-tools.css (dropzone + controls). */

.isz-actions[hidden] { display: none; }
.it-actions .ghost-btn[hidden] { display: none; }

.isz-stage-card {
    margin: 18px 0 4px;
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 18px 28px;
}
.isz-stage {
    flex: 0 0 auto;
    width: 100%;
    max-width: 330px;
    border-radius: 26px;
    overflow: hidden;
    border: 6px solid #111827;
    background: #111827;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.18);
}
.isz-stage canvas { display: block; width: 100%; height: auto; }

.isz-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.88rem;
    color: #374151;
    flex: 1 1 220px;
    min-width: 200px;
}
.isz-legend li { display: flex; align-items: center; gap: 8px; }
.isz-swatch { display: inline-block; width: 18px; height: 18px; border-radius: 4px; flex: 0 0 auto; }
.isz-swatch-covered { background: rgba(214, 41, 118, 0.45); }
.isz-swatch-safe { border: 3px solid #22c55e; box-sizing: border-box; }
.isz-swatch-crop { border: 2px dashed #64748b; box-sizing: border-box; }
.isz-swatch-square { border: 2px dashed #fbbf24; box-sizing: border-box; }
.isz-status { flex: 1 1 100%; margin: 0; font-size: 0.85rem; color: #64748b; }

@media (max-width: 640px) {
    .isz-stage { max-width: 260px; margin: 0 auto; }
    .isz-legend { flex-basis: 100%; }
}
