.artes-massa-container {
    font-family: 'Poppins', sans-serif;
}

.upload-zone {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(251, 146, 60, 0.1) 100%);
    transition: all 0.3s ease;
}

.upload-zone:hover, .upload-zone.dragover {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(251, 146, 60, 0.2) 100%);
}

.image-card {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.preview-grid {
    display: grid;
    gap: 1rem;
}

.preview-grid.stories {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.preview-grid.feed {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.art-preview {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.art-preview.stories {
    aspect-ratio: 9/16;
}

.art-preview.feed {
    aspect-ratio: 4/5;
}

.download-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.art-preview:hover .download-overlay {
    opacity: 1;
}

.footer-history-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(236, 72, 153, 0.2);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    padding: 4px 8px 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-right: 8px;
    margin-bottom: 8px;
}

.footer-history-remove:hover {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.2);
}

.custom-checkbox input:checked + .checkmark {
    background: #ec4899;
    border-color: #ec4899;
}

.custom-checkbox input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Cropper specific adjustments */
.cropper-view-box,
.cropper-face {
  border-radius: 0;
}

/* Redesign handles for extreme mobile precision */
.cropper-point {
    width: 24px !important; /* Large touch area */
    height: 24px !important;
    background-color: #ec4899 !important;
    opacity: 0.8 !important;
    border: 2px solid white;
    border-radius: 50%;
}

/* Corner handles even larger */
.cropper-point.point-se, 
.cropper-point.point-sw, 
.cropper-point.point-ne, 
.cropper-point.point-nw {
    width: 32px !important;
    height: 32px !important;
    z-index: 100;
}

/* Side handles */
.cropper-point.point-e, .cropper-point.point-w, .cropper-point.point-n, .cropper-point.point-s {
    width: 20px !important;
    height: 20px !important;
}

.cropper-line {
    background-color: #ec4899 !important;
    height: 2px !important;
    width: 2px !important;
}

/* Force no scroll while cropping */
.cropper-container {
    touch-action: none !important;
}

.cropper-drag-box {
    touch-action: none !important;
}

#crop-modal .bg-black {
    min-height: 350px;
}
