/* Custom styles for Fix & Flip Calculator */

.category-section {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.375rem;
    padding: 1rem;
    background-color: var(--bs-body-bg);
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--bs-border-color);
    color: var(--bs-primary);
}

.section-total {
    font-weight: 700;
    color: var(--bs-success);
    font-size: 0.9rem;
}

.cost-input {
    font-size: 0.875rem;
}

.input-group-text {
    font-size: 0.8rem;
    min-width: 160px;
    justify-content: flex-start;
}

.card-header h5,
.card-header h6 {
    color: var(--bs-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .input-group-text {
        min-width: 140px;
        font-size: 0.75rem;
    }
    
    .cost-input {
        font-size: 0.8rem;
    }
    
    .category-section {
        padding: 0.75rem;
    }
}

/* Summary dashboard styling */
.bg-info.bg-opacity-10 {
    background-color: rgba(var(--bs-info-rgb), 0.1) !important;
}

.bg-warning.bg-opacity-10 {
    background-color: rgba(var(--bs-warning-rgb), 0.1) !important;
}

.bg-success.bg-opacity-10 {
    background-color: rgba(var(--bs-success-rgb), 0.1) !important;
}

.bg-primary.bg-opacity-10 {
    background-color: rgba(var(--bs-primary-rgb), 0.1) !important;
}

/* Widget mode adjustments */
.widget-mode .container-fluid {
    padding: 1rem;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Smooth transitions */
.cost-input,
.form-control {
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Focus states */
.cost-input:focus,
.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Custom scrollbar for better UX */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bs-body-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--bs-border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bs-secondary);
}
