/* LayerNexus Custom Styles */

/* Smooth theme transition */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navbar brand styling */
.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Card hover effects */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Progress bar in project cards */
.progress {
    height: 8px;
    border-radius: 4px;
}

/* Status badges */
.badge-status {
    font-size: 0.8rem;
    padding: 0.4em 0.8em;
}

/* STL Viewer container */
#viewer-container {
    background: #1a1a2e;
    border-radius: 8px;
    overflow: hidden;
    min-height: 400px;
    position: relative;
}

#viewer-container canvas {
    display: block;
}

/* Bed layout visual */
.bed-visual {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

[data-bs-theme="dark"] .bed-visual {
    border-color: #495057;
}

.bed-part-marker {
    position: absolute;
    background: rgba(13, 110, 253, 0.3);
    border: 2px solid #0d6efd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #0d6efd;
    font-weight: 600;
}

/* Footer */
footer {
    margin-top: auto;
    padding: 1.5rem 0;
    border-top: 1px solid var(--bs-border-color);
}

/* Form styling */
.form-label {
    font-weight: 500;
}

/* Quick action buttons on dashboard */
.quick-actions .btn {
    min-width: 160px;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Utility classes */
.project-card-img { height: 160px; object-fit: cover; }
.progress-thin { height: 8px; }
.thumb-sm { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; }

/* Print preview */
@media print {
    .navbar, footer, .btn, .no-print {
        display: none !important;
    }
}
