html, body {
  background: #f3f4f5;
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}

button[disabled] {
  pointer-events: none !important;
}

button.raised {
  background-color: #001A33;
  color: white;
  box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.4);
}

button.raised[disabled] {
  background-color: #a5a5a5;
  box-shadow: none;
}

button:hover {
  background-color: rgba(0,0,0,0.05);
}

button.raised:hover {
  background-color: #0a2e50;
}

button:focus {
  background-color: rgba(0,0,0,0.15);
}

.header {
  width: calc(100% - 50px);
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.header .logo {
  width: 150px;
}

.content {
  flex: 1 1 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.footer {
  font-size: 12px;
  padding: 5px 10px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 90%;
  max-width: 1300px;
  margin: auto;
  margin-top: 2rem;
}

.list .table-operations {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-bar {
  display: flex;
  background-color: white;
  flex: 1 1 0;
  border-radius: 8px;
}

.search-bar input {
  border: none;
  flex: 1 1 0;
  padding: 10px;
  border-radius: 8px 0px 0px 8px;
}

.search-bar input:focus {
  outline-offset: 5px;
}

.paginator {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.list table {
  margin-top: 15px;
  border-collapse: separate;
  border-spacing: 10px;
}

.list table th {
  text-align: left;
  color: #a5a5a5;
  font-weight: 500;
  font-size: 0.7rem;
}

.list table tr:nth-child(2n) {
  background-color: rgba(0,0,0,0.02);
}

.list table td {
  font-size: 15px;
}

.list table .actions {
  text-align: right;
}

.dialog-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: dialog-wrapper-op 250ms;
}

@keyframes dialog-wrapper-op {
  from {background-color: rgba(0,0,0,0)}
  to {background-color: rgba(0,0,0,0.6)}
}

.dialog-wrapper .dialog {
  background-color: white;
  padding: 20px 30px;
  border-radius: 7px;
  animation: dialog-op 250ms;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow: auto;
}

@keyframes dialog-op {
  0% {scale: 0}
  85% {scale: 1.1}
  100% {scale: 1}
}

.dialog-wrapper .dialog h1 {
  font-size: 1.1rem;
  color: #202020;
}

.dialog-wrapper .dialog h2 {
  font-size: 0.85rem;
  color: #202020;
}

.dialog-wrapper .dialog strong {
  font-size: 0.7rem;
  color: #2e0303;
}

.dialog-wrapper .dialog .dialog-actions {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.tenant-edit-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tenant-edit-form .input-wrapper {
  background-color: white;
  border: 1px solid #d0d0d0;
  box-sizing: border-box;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  padding-top: 10px;
}

.tenant-edit-form .input-wrapper.disabled {
  background-color: #e0e0e0;
  pointer-events: none;
}

.tenant-edit-form .input-wrapper label {
  position: absolute;
  color: #a5a5a5;
  font-size: 0.8rem;
  top: 50%;
  left: 10px;
  transform: scale(1) translateY(-50%);
  pointer-events: none;
  transform-origin: top left;
  transition: transform 250ms;
}

.tenant-edit-form input {
  padding: 10px;
  border: none;
  outline: none;
  width: 100%;
  height: 100%;
}

.tenant-edit-form .input-wrapper:focus-within {
  outline: none;
  border-bottom: 2px solid #001A33;
}

.tenant-edit-form .input-wrapper:focus-within label, .tenant-edit-form .input-wrapper.filled-out label {
  transform: scale(0.6) translateY(-130%);
}

.list .searchline {
  display: flex;
  flex-direction: row;
  font-size: 14px;
  color: #a5a5a5;
  align-items: center;
  gap: 15px;
  margin: 10px 0px;
  background: rgba(0,0,0,0.02);
  padding: 10px;
  border-radius: 7px;
}

.list .searchline .search-indicator {
  flex: 1 1 0;
}

.list .searchline button, .list .searchline button .material-icons {
  color: #a5a5a5;
}

/* loading spinner */
.lds-ring {
  /* change color here */
  color: #001A33;
  margin: auto;
}
.lds-ring,
.lds-ring div {
  box-sizing: border-box;
}
.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid currentColor;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: currentColor transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

body .content > .lds-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.form-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.form-row .input-wrapper {
  flex: 1 1 0;
}
