@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #155e95;
  padding: 50px 20px;
}

form {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 900px;
}

.input-fields-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.col {
  flex: 1;
  min-width: 280px;
}

.col-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  gap: 10px;
  margin-top: 30px;
}


.col span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}

.col span p {
  margin: 0;
}

.col span p:nth-child(1) {
  font-weight: 500;
  text-align: left;
}

.col span p:nth-child(2) {
  text-align: right;
  min-width: auto;
  white-space: nowrap; 
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 9px;
}

select, input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: 0.3s ease;
}

input:focus, select:focus {
  border-color: #155e95;
  outline: none;
}

#ship-country{
  margin-top: 2px;
}

.table-section {
  margin-top: 20px;
  overflow-x: auto;
}

.table-section p {
  font-weight: 600;
  margin-bottom: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

th, td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

th {
  background-color: #155e95;
  color: #fff;
}

.shipping-section {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.button-section {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #155e95;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background-color: #0f4b75;
}

.mt{
  margin-top: 10px;
}

@media screen and (max-width: 768px) {
  .container{
    padding: 20px;
  }
  form {
    padding: 15px;
  }
  .input-fields-section {
    flex-direction: column;
    gap: 10px;
  }
  .col {
    min-width: 100%;
  }

  .shipping-section {
    grid-template-columns: 1fr;
  }
  .col-end {
    width: 100%;
}

  table {
    min-width: 100%;
    display: block;
    overflow-x: auto;
  }
}
