
:root {
  --color-brand--1: #ffb545;
  --color-brand--2: #00c46a;

  --color-dark--1: #0e1d34;
  --color-dark--2: rgb(173,209,158);
  --color-light--1: #aaa;
  --color-light--2: #ececec;
  --color-light--3: rgb(214, 222, 224);
}

/* SIDEBAR */
.sidebar {
  width: 30%;
  background-color: var(--color-dark--1);
  padding: 20px 10px;
  display: flex;
  flex-direction: column;

}

.incidents {
  list-style: none;
  height: 77vh;
  overflow-y: scroll;
  overflow-x: hidden;
  padding-left : 0;
}

.incidents::-webkit-scrollbar {
  width: 0;
}

.incident {
  background: rgb(191,81,17);
  background: linear-gradient(0deg, rgba(191,81,17,1) 0%, rgba(253,187,45,1) 100%);
  border-radius: 5px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 0.75rem;
}

.incident__title {
  font-size: 1.7rem;
  font-weight: 600;
  grid-column: 1 / -1;
}

.incident__status {
  font-size: 26px;
  border-bottom: 1px solid #000;
}
.incident__details {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-size: 20px;
}

.form {
  background: rgb(191,81,17);
  background: linear-gradient(0deg, rgba(191,81,17,1) 0%, rgba(253,187,45,1) 100%);
  border-radius: 5px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.5s, transform 1ms;
}

.form.hidden {
  transform: translateY(-30rem);
  height: 0;
  padding: 0 2.25rem;
  margin-bottom: 0;
  opacity: 0;
}

.form__row {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.form__row--hidden {
  display: none;
}
.form-input-wrapper {
  margin-bottom: 20px;
}

.form__label {
  flex: 0 0 50%;
  font-size: 1.5rem;
  font-weight: 600;
  color: #000;
}

.form__input {
  width: 100%;
  padding: 0.3rem 1.1rem;
  font-family: inherit;
  font-size: 1.1rem;
  border: none;
  border-radius: 3px;
  background-color: var(--color-light--3);
  transition: all 0.2s;
  box-shadow: 2px 1px 3px rgba(0,0,0,0.4);
}

.form__input:focus {
  outline: none;
  background-color: #fff;
}

.form__btn {
  border: none;
  border-radius: 4px;
  padding: 7px 10px;
  outline: none;
  font-size: 20px;
  text-transform: uppercase;
  max-width: 50%;
  margin: auto;
  display: block;
  background: #D6DEE0;
  color: #000;
  box-shadow: 2px 1px 3px rgba(0,0,0,0.4);
}
.form__btn:hover {
  background: rgba(214, 222, 224,0.80);
}

/* MAP */
#map {
  flex: 1;
  height: auto;
  background-color: var(--color-light--1);
}

/* Popup width is defined in JS using options */
.leaflet-popup .leaflet-popup-content-wrapper {
  background: rgb(191,81,17);
  background: linear-gradient(0deg, rgba(191,81,17,1) 0%, rgba(253,187,45,1) 100%);
  color: #000;
  border-radius: 5px;
  padding-right: 0.6rem;
}

.leaflet-popup .leaflet-popup-content {
  font-size: 20px;
  text-align: center;
}

.leaflet-popup .leaflet-popup-tip {
  background-color: var(--color-dark--1);
}

.leaflet-popup-content-wrapper {
  border-left: 5px solid darkred;
}

.flex-container {
  display: flex;
}

