* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f7fa;
}

nav {
  background: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}

.back-btn {
  text-decoration: none;
  color: #28a745;
  font-weight: bold;
}

.calculator {
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
}

.calculator h1 {
  text-align: center;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  width: 100%;
  padding: 12px;
  border: none;
  background: #28a745;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

.result {
  margin-top: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.result h3 {
  margin-bottom: 15px;
}

.result p {
  margin-bottom: 10px;
  font-size: 18px;
}


        .load-calculator{
            max-width:100%;
        }

        .load-calculator h2{
            margin-bottom:15px;
        }

        .input-group{
            display:flex;
            gap:10px;
            flex-wrap:wrap;
            margin-bottom:20px;
        }

        .input-group input{
            flex:1;
            min-width:150px;
            padding:10px;
        }

        .input-group button{
            padding:10px 15px;
            cursor:pointer;
        }

        /* Scrollable table */
        .table-container{
            width:100%;
            overflow-x:auto;
            margin-top:15px;
        }

        table{
            width:100%;
            min-width:700px;
            border-collapse:collapse;
        }

        table th,
        table td{
            border:1px solid #ddd;
            padding:10px;
            text-align:center;
        }

        table th{
            background:#f4f4f4;
        }

        table button{
            padding:5px 10px;
            cursor:pointer;
        }

        .edit-btn{
            background:#007bff;
            color:white;
            border:none;
        }

        .delete-btn{
            background:#dc3545;
            color:white;
            border:none;
        }

        .total-load{
            margin-top:20px;
            font-size:24px;
            font-weight:bold;
            text-align:center;
        }

        @media(max-width:768px){

            table{
                min-width:650px;
            }

            table th,
            table td{
                font-size:14px;
                padding:6px;
            }

            .edit-btn,
            .delete-btn{
                font-size:12px;
                padding:4px 8px;
            }
        }