/* Global styles */
body {
  background: linear-gradient(to right, #15171c, #080a0f, #15171c);
  color: #f5f5f5;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  text-align: center;
  vertical-align: middle;
  display: grid;
  grid-template-areas: 'wrapper wrapper wrapper wrapper';
}

h1 {
  text-align: center;
}

/* Container styles */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  background-color: #21232a;
  display: grid;
  place-items: center;
}

.container table {
  margin-left: auto;
  margin-right: auto;
}

.wrapper {
  grid-area: wrapper;
}

#details {
  grid-area: wrapper2;
  width: 350px;
  text-align: right;
  font-weight: bold;
}

#details input {
  background-color: #3e3f46;
  color: #f5f5f5;
  margin: 10px;
  width: 200px;
}

#shipping {
  width: 200px;
  margin: 10px;
}

#button-container {
  margin: 0 auto;
  width: 250px;
  display: flex;
  gap: 10px;
  align-items: center;
}

#clear-button {
  background-color: #3f3f47;
}

#clear-button:hover {
  background-color: #585863;
}

/* Table styles */
.table-container {
  margin-top: 20px;
  background-color: #333;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  vertical-align: middle;
}

hr {
  display: none;
}

table {
  width: 800px;
  border-collapse: collapse;
  margin-bottom: 20px;
}

td {
  border: 1px solid #3f3f47;
  padding: 8px;
  text-align: left;
}

/* Alternate row background colors */
tr:nth-child(even) {
  background-color: #21232a;
}

/* Styles for other elements */
label,
button {
  display: inline;
  margin-bottom: 10px;
}

textarea,
select {
  width: 800px;
  padding: 8px;
  border-radius: 5px;
  border: none;
  background-color: #3e3f46;
  color: #f5f5f5;
}

button {
  background-color: #007bff;
  border: none;
  color: #f5f5f5;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  display: block;
  margin: 20px auto;
}

button:hover {
  background-color: #10507b;
}

#table-container table:first-child {
  display: none;
}

#storage-input {
  width: 200px;
  display: inline;
}

#table-container {
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 40px;
}

#output-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Additional CSS for copy buttons */
.copy-button {
  background-color: #007bff;
  border: none;
  color: #f5f5f5;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translateY(-50%);
  margin-top: 0px;
}

/* Adjust the table header text alignment */
th {
  width: 100%;
  text-align: center;
  position: relative;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
  padding: 8px;
  box-sizing: border-box;
  background-color: #202e43;
}

/* Clear the position for the table header cells */
.th::after {
  content: '';
  display: table;
  clear: both;
}
