/* Custom CSS for Inventory App */

.form-group {
    margin-bottom: 1rem;
}

.btn-action {
    margin-right: 5px;
}

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

/* Two-column form layout */
.form-columns {
    display: flex;
    flex-wrap: wrap;
}

.form-column {
    flex: 1;
    min-width: 300px;
    padding: 0 15px;
}

/* Card styling */
.card {
    margin-bottom: 1.5rem;
    box-shadow: 0 0.25rem 0.75rem rgba(18, 38, 63, 0.08);
}

/* Form labels */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Pietre table in form */
.pietre-table {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.pietre-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* Price formatting */
.price {
    font-weight: 500;
}

/* Modal customer view */
.customer-view-modal .modal-body dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 0.5rem;
}

.customer-view-modal .modal-body dt {
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-column {
        flex: 100%;
    }
    
    .customer-view-modal .modal-body dl {
        grid-template-columns: 1fr;
    }
}
