/* Image Feedback landing (/image-feedback)
   Shared controls live in apps.css */

.image-feedback-landing-app {
    display: grid;
    gap: 1rem;
    align-items: start;
    width: 100%;
    min-width: 0;
}

.filter-landing-stage.image-feedback-landing-stage {
    position: relative;
    display: block;
    width: 100%;
    min-height: 280px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0b1020;
    box-shadow: none;
}

.image-feedback-landing-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.image-feedback-landing-controls {
    display: grid;
    gap: 0.65rem;
    min-width: 0;
    max-width: 100%;
}

.image-feedback-check-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.1rem 0;
    cursor: pointer;
    font-weight: 600;
}

.image-feedback-check-row input {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
}

.image-feedback-animate-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
}

.image-feedback-pause-btn {
    min-height: 2rem;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    font-weight: 600;
    cursor: pointer;
}

.image-feedback-pause-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.image-feedback-pause-btn[aria-pressed="true"] {
    background: rgba(94, 234, 212, 0.18);
    border-color: rgba(94, 234, 212, 0.45);
}

.image-feedback-record-canvas {
    position: absolute;
    width: 2px;
    height: 2px;
    opacity: 0;
    pointer-events: none;
}

.image-feedback-clip-status {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    margin: 0;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    pointer-events: none;
}

.image-feedback-clip-status[hidden] {
    display: none;
}

.image-feedback-landing-app.is-recording-clip .image-feedback-landing-stage::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 2px solid rgba(248, 113, 113, 0.65);
    border-radius: 10px;
    pointer-events: none;
}

.image-feedback-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Mobile stage height is shared (seo-pages.css generative canvas apps). */

.image-feedback-landing-app .image-feedback-samples {
    margin: 0.35rem 0 0;
    min-width: 0;
    max-width: 100%;
}

.image-feedback-crop-overlay {
    position: absolute;
    z-index: 4;
    display: none;
    touch-action: none;
    user-select: none;
    pointer-events: none;
}

.image-feedback-landing-app.is-cropping .image-feedback-crop-overlay:not([hidden]) {
    display: block;
    pointer-events: auto;
}

.image-feedback-landing-app.is-cropping .image-feedback-landing-controls > :not(.filter-landing-presets):not([data-filter-crop-actions]):not(.filter-landing-crop-meta) {
    display: none !important;
}
