*
{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    padding: 20px;
    background-color: #f5f5f5;
}

#wrapper-div
{
    width: 90%;
    margin: auto;
}

#shipment-builder-div
{
    width: 100%;
    min-height: 400px;
    background-color: #ffffff;
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#add-commodity-div
{
    flex: 1;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

#add-commodity-div h3 {
    margin-bottom: 20px;
    color: #333;
}

#commodityForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#commodity-dropdown-div,
#commodity-scu-div {
    display: flex;
    flex-direction: column;
    text-align: left;
}

#commodity-dropdown-div label,
#commodity-scu-div label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

#commodity,
#scuValue {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

#commodityForm button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

#commodityForm button:hover {
    background-color: #0056b3;
}

#commodity-table-div,
#profit-table-div 
{
    flex: 1;
    padding: 20px;
}

#commodity-table-div h3,
#profit-table-div h3 {
    margin-bottom: 20px;
    color: #333;
}

#commodityTable,
#profitTable {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

#commodityTable thead,
#profitTable thead {
    background-color: #007bff;
    color: white;
}

#commodityTable th,
#commodityTable td,
#profitTable th,
#profitable td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#commodityTable tbody tr:hover,
#profitTable tbody tr:hover {
    background-color: #f5f5f5;
}


.delete-btn {
    padding: 6px 12px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.delete-btn:hover {
    background-color: #c82333;
}

#resetBtn {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#resetBtn:hover {
    background-color: #5a6268;
}

/* Tabs Section */
#tabs-section {
    margin-top: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background-color: #f0f0f0;
    border-bottom: 2px solid #ddd;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    background-color: #e0e0e0;
    color: #333;
}

.tab-btn.active {
    background-color: #ffffff;
    color: #007bff;
    border-bottom: 3px solid #007bff;
}

.tab-content-wrapper {
    padding: 30px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    margin-bottom: 15px;
    color: #333;
}

.tab-content p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    #wrapper-div {
        width: 95%;
    }

    #shipment-builder-div {
        flex-direction: column;
    }

    #add-commodity-div,
    #commodity-table-div {
        width: 100%;
    }

    #commodityTable {
        font-size: 14px;
    }

    #commodityTable th,
    #commodityTable td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    #shipment-builder-div {
        padding: 10px;
        gap: 15px;
    }

    #add-commodity-div,
    #commodity-table-div {
        padding: 15px;
    }

    #commodityTable {
        font-size: 12px;
    }

    #commodityTable th,
    #commodityTable td {
        padding: 6px 4px;
    }

    #commodityForm button,
    #resetBtn {
        font-size: 14px;
        padding: 8px 16px;
    }
}