/* ============================================================
   SIMULATED index.css
   (Exact design tokens from your uploaded files)
   ============================================================ */

/* ── SCREEN SYSTEM (index.css) ─────────────────────────────── */
.home-screen {
    display: block;
}

.tool-screen {
    display: none;
}

.screen.active {
    display: block;
    margin-top: 1rem;
}

/* ── HERO (index.css) ──────────────────────────────────────── */
.hero {
    text-align: center;
    padding: 40px 0 48px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid var(--accent-muted);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.hero-eyebrow svg {
    width: 12px;
    height: 12px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 420px;
    margin: 0 auto 8px;
    line-height: 1.6;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    color: var(--success);
    background: var(--success-light);
    padding: 5px 12px;
    border-radius: 100px;
    margin-top: 16px;
    font-weight: 500;
}

.trust-badge svg {
    width: 13px;
    height: 13px;
}

/* ── TOOLS GRID (index.css) ────────────────────────────────── */
.tools-section h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-secondary);
    letter-spacing: .02em;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.tool-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.tool-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:active {
    transform: translateY(0);
}

.tool-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent-muted);
}

.tool-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
    fill: none;
}

.tool-info h3 {
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.tool-info p {
    font-size: .8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── TOOL SCREEN (index.css) ───────────────────────────────── */
.tool-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-secondary);
    flex-shrink: 0;
}

.back-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.back-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
}

.tool-header-info h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tool-header-info p {
    font-size: .85rem;
    color: var(--text-secondary);
}

/* ── DROPZONE (global.css §5 + index.css overrides) ────────── */
.dropzone {
    background: var(--bg-dropzone);
    border: 2px dashed var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.dropzone.drag-over {
    border-color: var(--accent);
    background: var(--accent-light);
    box-shadow: 0 0 0 4px var(--accent-muted);
}

.dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.dropzone-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border: 1.5px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.dropzone:hover .dropzone-icon {
    border-color: var(--accent);
}

.dropzone-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent);
    fill: none;
}

.dropzone-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.dropzone-sub {
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 100px;
    pointer-events: none;
}

.dropzone:hover .upload-btn {
    background: var(--accent-hover);
}

/* ── FILE LIST (index.css) ─────────────────────────────────── */
.preview-section {
    margin-top: 24px;
}

.preview-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.preview-section-header h3 {
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.preview-section-header .file-count {
    font-size: .78rem;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid var(--border);
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.file-item:hover {
    border-color: var(--border-hover);
}

.file-thumb {
    width: 52px;
    height: 52px;
    background: var(--bg-secondary);
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.file-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-meta {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: .87rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.file-size {
    font-size: .75rem;
    color: var(--text-muted);
}

.file-dim {
    font-size: .72rem;
    color: var(--accent);
    font-weight: 500;
    margin-top: 2px;
}

.file-remove {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-muted);
    flex-shrink: 0;
}

.file-remove:hover {
    border-color: var(--error);
    color: var(--error);
    background: var(--error-light);
}

.file-remove svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
}

/* ── OPTIONS PANEL (index.css) ─────────────────────────────── */
.options-panel {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
}

.options-panel h3 {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.option-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.option-label {
    font-size: .87rem;
    font-weight: 500;
    color: var(--text-primary);
}

.option-sub {
    font-size: .76rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.option-controls {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.pill-btn {
    padding: 6px 14px;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    transition: var(--transition);
    cursor: pointer;
}

.pill-btn:hover,
.pill-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

/* ── INPUTS (index.css) ────────────────────────────────────── */
input[type="range"] {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--bg-card);
}

input[type="number"] {
    width: 70px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: .87rem;
    text-align: center;
    outline: none;
    transition: var(--transition);
}

input[type="number"]:focus {
    border-color: var(--accent);
}

input[type="text"] {
    width: 100%;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: .87rem;
    outline: none;
    transition: var(--transition);
}

input[type="text"]:focus {
    border-color: var(--accent);
}

/* ── BOTTOM BAR (global.css §6) ────────────────────────────── */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 12px 20px;
    display: none;
    backdrop-filter: blur(16px);
    transition: var(--transition);
}

.bottom-bar.visible {
    display: block;
}

.bottom-bar-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.process-btn {
    flex: 1;
    height: 52px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-md);
    font-size: .95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(146, 57, 223, .25);
}

.process-btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(146, 57, 223, .35);
}

.process-btn:active {
    transform: scale(.98);
}

.process-btn:disabled {
    background: var(--bg-secondary);
    color: var(--text-muted);
    box-shadow: none;
    cursor: not-allowed;
}

.process-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
}

.add-more-btn {
    height: 52px;
    width: 52px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-secondary);
    flex-shrink: 0;
}

.add-more-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.add-more-btn svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
}

/* ── TOAST (global.css §7) ─────────────────────────────────── */
.toast-container {
    position: fixed;
    top: 72px;
    right: 16px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    min-width: 240px;
    max-width: 320px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    animation: slideIn .3s ease;
    pointer-events: all;
}

.toast.success {
    border-color: var(--success);
}

.toast.error {
    border-color: var(--error);
}

.toast-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.toast.success .toast-icon {
    color: var(--success);
}

.toast.error .toast-icon {
    color: var(--error);
}

.toast-body {
    flex: 1;
}

.toast-title {
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.toast-msg {
    font-size: .78rem;
    color: var(--text-secondary);
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

/* ── PROGRESS (global.css §8) ──────────────────────────────── */
.progress-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(6px);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
}

.progress-overlay.active {
    display: flex;
}

.progress-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    text-align: center;
    width: 280px;
    box-shadow: var(--shadow-lg);
}

.progress-spinner {
    width: 52px;
    height: 52px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.progress-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.progress-sub {
    font-size: .82rem;
    color: var(--text-secondary);
}

.progress-bar-wrap {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin-top: 16px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    transition: width .3s ease;
    width: 0%;
}

/* ── RESULT BANNER (global.css §9) ────────────────────────── */
.result-banner {
    background: var(--success-light);
    border: 1.5px solid var(--success);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: none;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.result-banner.visible {
    display: flex;
}

.result-icon {
    width: 44px;
    height: 44px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.result-icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    fill: none;
}

.result-info {
    flex: 1;
}

.result-info strong {
    font-size: .9rem;
    display: block;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.result-info span {
    font-size: .78rem;
    color: var(--text-secondary);
}

.download-btn {
    background: var(--success);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: .85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
}

.download-btn:hover {
    filter: brightness(1.1);
}

.download-btn svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
}

/* ── TRUST ROW (global.css §9) ─────────────────────────────── */
.trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: .76rem;
    color: var(--success);
    margin-top: 10px;
    font-weight: 500;
}

.trust-row svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
}

/* ── IMAGE CANVAS PREVIEW ──────────────────────────────────── */
.img-preview-canvas {
    width: 100%;
    max-width: 360px;
    margin: 16px auto 0;
    display: block;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    /* checkerboard for transparency */
    background-image: linear-gradient(45deg, var(--bg-secondary) 25%, transparent 25%),
        linear-gradient(-45deg, var(--bg-secondary) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--bg-secondary) 75%),
        linear-gradient(-45deg, transparent 75%, var(--bg-secondary) 75%);
    background-size: 12px 12px;
    background-position: 0 0, 0 6px, 6px -6px, -6px 0px;
}

/* ── COLOR SWATCHES ────────────────────────────────────────── */
.color-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.swatch {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.swatch.active {
    outline-color: var(--accent);
}

.swatch-custom {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.swatch-custom:hover {
    border-color: var(--accent);
}

.swatch-custom input[type="color"] {
    position: absolute;
    inset: -4px;
    opacity: 0;
    cursor: pointer;
    width: 140%;
    height: 140%;
}

.swatch-custom svg {
    width: 12px;
    height: 12px;
    stroke: var(--text-muted);
    pointer-events: none;
    fill: none;
}

/* ── RANGE ROW ─────────────────────────────────────────────── */
.range-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.range-val {
    font-size: .82rem;
    font-weight: 600;
    color: var(--accent);
    min-width: 40px;
    text-align: right;
    flex-shrink: 0;
    font-family: var(--font-mono);
}

/* ── SPLIT INFO ────────────────────────────────────────────── */
.info-note {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: .78rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 12px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.info-note svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 1px;
    stroke: var(--text-muted);
    fill: none;
}

/* ── FORMAT BUTTONS ────────────────────────────────────────── */
.format-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.format-btn {
    padding: 7px 16px;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    font-size: .82rem;
    font-weight: 500;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
}

.format-btn.active {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent);
}

/* ── IMAGE GRID (for batch tools) ──────────────────────────── */
.img-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.img-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.img-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.img-card.sortable-ghost {
    opacity: .4;
}

.img-card.sortable-chosen {
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.img-card-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(45deg, var(--bg-secondary) 25%, transparent 25%),
        linear-gradient(-45deg, var(--bg-secondary) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--bg-secondary) 75%),
        linear-gradient(-45deg, transparent 75%, var(--bg-secondary) 75%);
    background-size: 10px 10px;
    background-position: 0 0, 0 5px, 5px -5px, -5px 0px;
}

.img-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-card-footer {
    padding: 5px 7px;
}

.img-card-name {
    font-size: .65rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.img-card-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
}

.img-card:hover .img-card-remove {
    opacity: 1;
}

.img-card-remove svg {
    width: 10px;
    height: 10px;
    stroke: #fff;
    fill: none;
}

/* ── RESPONSIVE (global.css §10 + index.css) ───────────────── */
@media (max-width: 600px) {
    main {
        padding: 20px 16px 110px;
    }

    .hero {
        padding: 24px 0 36px;
    }

    .tools-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .tool-card {
        padding: 18px 14px;
    }

    .img-grid {
        grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
        gap: 8px;
    }

    .result-banner {
        flex-wrap: wrap;
    }

    .option-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 360px) {
    main {
        padding: 16px 12px 110px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }
}

/* ── CROP CANVAS (index.css) ──────────────────────────────── */
.crop-wrapper {
    position: relative;
    margin-top: 16px;
    touch-action: none;
    user-select: none;
    width: 100%;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.crop-canvas {
    max-width: 100%;
    max-height: 60vh;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    display: block;
    cursor: crosshair;
    height: auto;
    width: auto;
    object-fit: contain;
}

.crop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: var(--radius-md);
    pointer-events: none;
}