/* Amazon Shipment Styles */

/* Shipment status badges */
.badge.bg-secondary {
    background-color: #6c757d;
}

.badge.bg-success {
    background-color: #198754;
}

.badge.bg-dark {
    background-color: #212529;
}

/* Quantity control */
.quantity-control {
    max-width: 150px;
    margin: 0 auto;
}

.quantity-input {
    width: 60px;
    text-align: center;
}

/* Card styling */
.card.shadow-sm {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

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

/* Shipment form */
.new-shipment-name {
    transition: all 0.3s ease;
}

/* Profit/Loss coloring */
.text-profit {
    color: #198754;
}

.text-loss {
    color: #dc3545;
}

/* Modal styling */
#addToShipmentModal .modal-dialog {
    max-width: 500px;
}

/* Responsive tables */
@media (max-width: 767.98px) {
    .table-responsive {
        border: 0;
    }
    
    .table-responsive table {
        width: 100%;
    }
    
    .table-responsive th,
    .table-responsive td {
        padding: 0.5rem;
    }
    
    .quantity-control {
        max-width: 100%;
    }
}

/* Add to shipment button styles */
.add-to-shipment-btn {
    transition: all 0.2s ease;
}

.add-to-shipment-btn:hover {
    background-color: #0d6efd;
    color: white;
}

/* Alert container */
#alertContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1060;
    max-width: 350px;
}

#alertContainer .alert {
    margin-bottom: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
