.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.btn-toolbar {
    margin-bottom: 0 !important;
}

.table-responsive {
    overflow-x: auto;
}

.card {
    margin-bottom: 1rem;
}

.line-item-row {
    margin-bottom: 1rem;
}

.payment-stage-row {
    margin-bottom: 1rem;
}

.estimate-details {
    margin-bottom: 2rem;
}

.invoice-details {
    margin-bottom: 2rem;
}

.customer-details {
    margin-bottom: 2rem;
}

.profitability-chart {
    height: 300px;
}

.status-badge {
    font-size: 0.8rem;
}

.estimate-header {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.invoice-header {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.customer-header {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.print-section {
    padding: 2rem;
    border: 1px solid #dee2e6;
    margin-bottom: 2rem;
}

@media print {
    .no-print {
        display: none !important;
    }
    
    .print-section {
        border: none;
        padding: 0;
    }
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
}

.required-field::after {
    content: " *";
    color: red;
}

.cursor-pointer {
    cursor: pointer;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
