body {
    background: 
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    background-size: 20px 20px, 20px 20px, 100% 100%;
}

@keyframes measurePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.measure-line {
    stroke: #00D4FF;
    stroke-width: 2;
    stroke-dasharray: 5 3;
    animation: measurePulse 2s ease-in-out infinite;
}

@keyframes drawIn {
    from { 
        stroke-dashoffset: 100; 
        opacity: 0;
    }
    to { 
        stroke-dashoffset: 0; 
        opacity: 1;
    }
}

.dimension-line {
    stroke-dasharray: 100;
    animation: drawIn 0.5s ease-out forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.room-card {
    animation: fadeUp 0.3s ease-out;
}

@keyframes confetti {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100vh) rotate(720deg); }
}

.confetti-piece {
    animation: confetti 2s ease-out forwards;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Custom focus states */
input:focus, select:focus, button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.3);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .fixed.bottom-4 {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        transform: none;
        border-radius: 1rem;
    }
}

/* Print styles for dimension schedule */
@media print {
    body {
        background: white !important;
    }
    
    .fixed {
        display: none !important;
    }
    
    button {
        display: none !important;
    }
    
    .font-mono {
        font-family: 'Courier New', monospace !important;
    }
}