/* Custom styles for Lumber Calculator application */

/* General styling */
body {
    background-color: #f8f9fa;
    color: #212529;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Card styling */
.card {
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    font-weight: 600;
}

/* Form styling */
.form-control:focus, .form-select:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.btn-primary {
    background-color: #198754;
    border-color: #198754;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #157347;
    border-color: #146c43;
}

/* Navigation styling */
.navbar-brand {
    font-weight: 700;
}

.nav-link.active {
    font-weight: 600;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    
    h1, .h1 {
        font-size: 1.75rem;
    }
    
    h2, .h2 {
        font-size: 1.5rem;
    }
}

/* Progress indicator for multi-step forms */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.step-indicator .step {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    position: relative;
}

.step-indicator .step.active {
    font-weight: 600;
    color: #198754;
}

.step-indicator .step::after {
    content: '';
    height: 2px;
    width: 100%;
    background-color: #dee2e6;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
}

.step-indicator .step:last-child::after {
    display: none;
}

.step-indicator .step.completed::after {
    background-color: #198754;
}

/* Custom table styling */
.table-lumber {
    border-collapse: separate;
    border-spacing: 0;
}

.table-lumber th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.table-lumber td, .table-lumber th {
    padding: 0.75rem;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    body {
        background-color: #fff;
    }
}
