/* CROP MODAL */
.crop-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.crop-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.crop-area {
    width: 100%;
    height: 400px;
    background: #333;
    position: relative;
    overflow: hidden;
    cursor: grab;
}

.box-to-crop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid white;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    /* Let clicks pass through */
}

.crop-controls {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.zoom-control {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.btn-secondary {
    background: #F3F4F6;
    color: #374151;
    border: 1px solid #D1D5DB;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Fix Inputs */
.logo-mode-switch {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.logo-mode-btn {
    flex: 1;
    padding: 8px;
    border: 1px dashed var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
}

.logo-mode-btn.active {
    background: #EEF2FF;
    border-style: solid;
}