@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
* {
  font-family: "Open Sans", sans-serif;
  color: aliceblue;
}
/* General Styling */
body {
  height: 100vh;
  margin: 0;
  overflow: hidden;
}
.hidden {
  display: none;
}

h1 {
  margin-top: 0;
  padding-left: 5px;
}
h2 {
  margin-top: 0;
}
.button {
  background-color: #04aa6d;
  padding: 5px;
  border: 0;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}
button:hover {
  opacity: 85%;
}
.center {
  text-align: center;
}
textarea {
  resize: none;
  background-color: rgb(34, 55, 73);
  border: none;
  border-radius: 5px;
  box-sizing: border-box;
  padding: 10px;
}
label {
  font-weight: bold;
}
input {
  background-color: rgb(34, 55, 73);
  border: none;
  border-radius: 5px;
  box-sizing: border-box;
  padding: 10px;
}
::placeholder {
  color: aliceblue;
}

/* Main Page layout Styling */
.gridContainer {
  display: grid;
  grid-template-columns: 600px auto;
  grid-template-rows: auto 500px;
  height: 100vh;
  width: 100vw;
  gap: 10px;
  padding: 10px;
  background-color: rgb(34, 55, 73);
}
.sideBar {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding: 15px;
  margin-bottom: 15px;
  background-color: rgb(56, 85, 110);
  border-radius: 5px;
}
#map {
  grid-column: 2;
  grid-row: 1;
  border-radius: 5px;
}
.jobDetailsContainer {
  padding: 15px;
  margin-bottom: 15px;
  margin-right: 15px;
  background-color: rgb(56, 85, 110);
  border-radius: 5px;
  grid-column: 2;
  grid-row: 2;
}
/* Job detail styling (bottom right box)*/
.selectedJob {
  font-weight: bold;
}
.orderFormGrid {
  display: grid;
  grid-template-columns: auto auto;
  margin-top: 15px;
  width: 100%;
  gap: 20px;
}
.orderFormGrid * {
  width: 100%;
}
.orderFormName {
  grid-column: 1;
  grid-row: 1;
}
.orderFormPostcode {
  grid-column: 2;
  grid-row: 1;
}
.orderFormAddress {
  grid-column: 1 / span 2;
  grid-row: 2;
}
.orderFormComments {
  grid-column: 1 / span 2;
  grid-row: 3;
}
.orderFormSubmit {
  grid-column: 1 / span 2;
  grid-row: 4;
}
#orderFormErrors {
  grid-column: 1 / span 2;
  grid-row: 5;
  color: orange;
  font-weight: bold;
  width: 100%;
}

/* Job list styling (left box)*/
.jobElement {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: rgb(34, 55, 73);
  margin: 5px;
  padding: 5px;
  border-radius: 5px;
  cursor: pointer;
}
.name-container,
.value-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.name-item,
.value-item {
  width: 30%;
  text-align: left;
  padding: 5px 0;
}
.name-item {
  font-weight: bold;
}
.name-container .name-item:first-child {
  width: 10%;
}
.value-container .value-item:first-child {
  width: 10%;
}
