@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

.canvas-container {
    position: relative;
    display: inline-block;
}

.corner-handle {
    width: 20px;
    height: 20px;
    background: #3b82f6;
    border: 2px solid white;
    border-radius: 50%;
    position: absolute;
    cursor: move;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.corner-handle:hover {
    background: #2563eb;
    scale: 1.1;
}

.crop-overlay {
    position: absolute;
    pointer-events: none;
    border: 2px dashed #3b82f6;
    z-index: 5;
}

.step-transition {
    transition: all 0.3s ease-in-out;
}

.hidden-step {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

.active-step {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

@media print {
    @page {
        size: A4;
        margin: 0;
    }

    body {
        background: white !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .no-print {
        display: none !important;
    }

    main {
        padding: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        width: 100% !important;
    }

    #step-3 {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #a4-page {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 210mm !important;
        height: 297mm !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        border: none !important;
        background: white !important;
    }

    #print-content {
        padding: 15mm !important;
        display: flex !important;
        /* Removed flex-direction: column to allow JS classes to work */
        align-items: center !important;
        justify-content: center !important;
        gap: 10mm !important;
    }

    #print-content img {
        display: block !important;
        box-shadow: none !important;
        border: none !important;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.btn-hover-effect {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(59, 130, 246, 0.5);
}

.btn-hover-effect:active {
    transform: translateY(0);
}