/* Custom styles for PixelPerfect Proportions Analyzer */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom gradient backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* File upload area hover effects */
#upload-area.dragover {
    border-color: #667eea;
    background-color: #f0f4ff;
}

/* Measurement card animations */
.measurement-card {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.measurement-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.measurement-card.estimated {
    border-left-color: #f59e0b;
}

.measurement-card.measured {
    border-left-color: #10b981;
}

/* Responsive canvas */
#image-canvas {
    max-width: 100%;
    height: auto;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c7d2fe;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a5b4fc;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}