.crop-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.aspect-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aspect-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.aspect-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.aspect-btn:hover {
    background: #f0f0f0;
}

.aspect-btn.active {
    background: #007bff;
    color: white;
    border-color: #0056b3;
}

.crop-size {
    display: flex;
    gap: 20px;
}

#cropperContainer {
    position: relative;
    max-width: 100%;
    height: 400px;
    overflow: hidden;
}

#originalPreview {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.cropper-container {
    direction: ltr;
    font-size: 0;
    line-height: 0;
    position: relative;
    touch-action: none;
    user-select: none;
}

.cropper-wrap-box {
    overflow: hidden;
}

.cropper-drag-box {
    background-color: rgba(0, 0, 0, 0.5);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.cropper-view-box {
    display: block;
    height: 100%;
    outline: 1px solid #39f;
    outline-color: rgba(51, 153, 255, 0.75);
    overflow: hidden;
    width: 100%;
}

.cropper-face {
    background-color: #fff;
    left: 0;
    opacity: 0.1;
    position: absolute;
    top: 0;
}
