body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
}

#demo {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.hidden {
  display: none !important;
}

.navigation {
  background-color: #344e41;
  width: 260px;
  padding: 20px;
  min-height: 100vh;
}

.navigation .logo-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 700;
  width: 200px;
  text-align: left;
  padding: 10px 20px;
}

.navigation .logo-image {
  margin-right: 10px;
}

.navigation a {
  display: flex;
  align-items: center;
  justify-content: left;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  color: #bbc9c3;
}

.navigation a:hover {
  color: #ffcb47;
}

.navigation a svg {
  margin-right: 7px;
}

.navigation a.selected {
  color: #ffcb47;
  background-color: rgba(255, 255, 255, 0.1);
}

.navigation a.subtitle {
  font-size: 14px;
  font-weight: 700;
}

.navigation a.subtitle:hover {
  color: #bbc9c3;
  cursor: default;
}

.main-area {
  padding: 20px;
  flex: 1;
}

.main-area #invoice-page {
  display: flex;
  flex-direction: column;
}

.main-area #invoice-page #success-banner {
  width: 100%;
  background-color: #00b172;
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  display: flex;
  align-items: center;
  height: 50px;
  border-radius: 4px;
  padding: 10px;
}

.main-area #invoice-page .header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.main-area h1 {
  font-size: 36px;
  margin-bottom: 30px;
  font-weight: 400;
}

.main-area h2 {
  font-size: 24px;
  font-weight: 700;
}

.main-area h3 {
  font-size: 18px;
  font-weight: 700;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.main-area .pay {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

.pay table {
  margin-top: 30px;
}

.pay .table-container {
  width: 100%;
}

th,
td {
  font-size: 18px;
  color: #45556c;
  padding: 5px;
}

.pay th,
td {
  padding: 10px;
}

tr {
  border-top: 1px solid #dcdcdc;
}

tbody tr:last-child {
  border-bottom: 2px solid #dcdcdc;
}

th {
  text-align: left;
  color: #3a4d42cc;
  font-size: 13px;
  text-transform: uppercase;
}

table .checkbox:hover {
  cursor: pointer;
}

table .checkbox:checked {
  background-color: #2ac979;
}

input[type='checkbox'] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  color: rgba(0, 0, 0, 0.4);
  border-radius: 3px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

input[type='checkbox']:checked {
  background: #2ac979;
}

.checkbox-col {
  width: 70px;
  padding: 10px;
}

.status-td {
  display: flex;
  justify-content: center;
}

.status-col {
  width: 75px;
}

#invoices .invoice-col {
  padding-left: 50px;
  width: 200px;
}

#invoices .invoice-col-items {
  display: flex;
  align-items: center;
  justify-content: left;
}

.invoice-col svg {
  margin-left: 3px;
}

.invoice-col svg:hover {
  cursor: pointer;
}

.invoice-col-header {
  padding-left: 50px;
}

.status-pill {
  border-radius: 500px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  color: #1d1d1d;
  text-align: center;
  padding: 8px;
  display: block;
}

.status-pill.paid {
  background-color: #2ac979;
  width: 60%;
}

.status-pill.not-paid {
  background-color: rgba(220, 220, 220, 1);
}

.pay-invoices-btn {
  background-color: #2ac979;
  color: #fff;
  padding: 10px 20px;
  font-size: 20px;
  border: none;
  height: 50px;
  border-radius: 8px;
  cursor: pointer;
}

.total {
  margin-top: 5px;
  display: flex;
  flex-direction: row;
  justify-content: right;
  color: #637794;
  font-size: 22px;
}

.client-secret-section h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

#settings-page .options h2 {
  margin-bottom: 0;
}

.client-secret-section .content input {
  width: 360px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0;
  padding-left: 10px;
  padding-right: 10px;
  margin-right: 5px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.07);
  font-size: 16px;
}

input[type='text']:focus {
  outline: 1px solid #2ac979;
}

.client-secret-section .content .generate-client-secret-btn {
  background-color: #2ac979;
  color: #fff;
  font-size: 16px;
  border: none;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  padding: 2px 10px 2px;
}

.options {
  margin-top: 40px;
}

.options .option-items {
  display: flex;
  flex-direction: row;
}

.options .option-item {
  width: 360px;
  margin-right: 20px;
  margin-top: 20px;
}

.options .option-item .content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.07);
  padding: 0px 10px 0px;
}

.options .option-item .content .text {
  font-size: 16px;
  font-weight: 700;
}

.options .subtext {
  font-size: 11px;
  font-weight: 400;
  color: rgba(86, 105, 131, 1);
  margin-top: 6px;
  padding-left: 4px;
}

.save-and-launch-btn {
  background-color: #2ac979;
  color: #fff;
  padding: 15px;
  font-size: 20px;
  border: none;
  height: 41x;
  width: 236px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 60px;
}

.center-text {
  text-align: center;
}

.right-text {
  text-align: right;
}

.toggle {
  width: 40px;
  height: 24px;
  border-radius: 12px;
  background-color: #ccc;
  position: relative;
  cursor: pointer;
}

.slider {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.3s;
}

.toggle.checked .slider {
  left: 18px;
}

.toggle.checked {
  background-color: #2ac979;
}

.toggle input:checked + .slider {
  background-color: #fff;
}

.toggle input {
  display: none;
}

.dropdown {
  width: 150px;
  position: relative;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20fill%3D'black'%20viewBox%3D'0%200%2024%2024'%20xmlns%3D'http%3A//www.w3.org/2000/svg'%3E%3Cpath%20d%3D'M7%2010l5%205%205-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}

.custom-select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3);
}

#connect-checkout {
  text-align: center;
  width: 100%;
  margin: auto;
}

#connect-checkout iframe {
  border: none;
  width: 100%;
}
