/* Board Foot Calculator Custom Styles */

/* Lock button styles */
.lock-btn {
    transition: all 0.2s ease-in-out;
}

.lock-btn:hover {
    transform: scale(1.1);
}

/* Input field locked state */
.input-locked {
    background-color: #f3f4f6 !important;
    cursor: not-allowed !important;
}

.select-locked {
    background-color: #e5e7eb !important;
    cursor: not-allowed !important;
}

/* Warning message animation */
.warning-message {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Progress bar animation */
.progress-bar {
    transition: width 0.5s ease-in-out;
}

/* Ring animation for visual feedback */
.ring-animation {
    animation: ringPulse 1s ease-in-out;
}

@keyframes ringPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* SVG wood board hover effects */
.wood-board-svg:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease-in-out;
}

/* Dimension key styles */
.dimension-key {
    user-select: none;
}

/* Button states */
.btn-preset {
    transition: all 0.2s ease-in-out;
}

.btn-preset:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

/* Custom scrollbar for long content */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .wood-board-svg svg {
        width: 240px;
        height: 140px;
    }
    
    .dimension-key {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

/* Print styles */
@media print {
    .lock-btn,
    .btn-preset,
    button {
        display: none !important;
    }
    
    .warning-message {
        display: none !important;
    }
} 