body.bittech-client-page {
  margin: 0;
  background: #050716;
}

.bt-client-shell {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 140px 20px 72px;
  color: #f6f8ff;
  background:
    radial-gradient(circle at 50% 18%, rgba(47, 87, 224, .16), transparent 34rem),
    linear-gradient(180deg, #080b21 0%, #050716 100%);
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
  isolation: isolate;
}

.bt-client-shell > * {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}

.bt-client-shell *,
.bt-client-shell *::before,
.bt-client-shell *::after {
  box-sizing: border-box;
}

.bt-login-card,
.bt-card,
.bt-ticket,
.bt-modal-card {
  background: #111433;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
}

.bt-login-card {
  max-width: 460px;
  margin: 0 auto;
  padding: 34px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

.bt-login-card h1,
.bt-panel-head h1,
.bt-card h2,
.bt-modal-card h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: Oxanium, system-ui, sans-serif;
}

.bt-login-card p {
  color: #aeb7df;
  line-height: 1.6;
}

.bt-login-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.bt-login-card label,
.bt-modal-card label {
  display: block;
  color: #aeb7df;
  font-size: .9rem;
}

.bt-login-card input,
.bt-modal-card input,
.bt-modal-card select,
.bt-modal-card textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 5px;
  background: #070a1c;
  color: #fff;
  font: inherit;
  line-height: 1.25;
  outline: none;
  min-height: 46px;
}

.bt-login-card input:focus,
.bt-modal-card input:focus,
.bt-modal-card select:focus,
.bt-modal-card textarea:focus {
  border-color: #ec6221;
  box-shadow: 0 0 0 3px rgba(236, 98, 33, .18);
}

.bt-check {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 2px 0 4px;
  color: #aeb7df;
}

.bt-check input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  accent-color: #ec6221;
}

.bt-modal-card textarea {
  min-height: 110px;
  resize: vertical;
}

.bt-button,
.bt-login-card .button-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 5px;
  background: #ec6221;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.bt-login-card .button-primary,
.bt-login-form .bt-button {
  width: 100%;
}

.bt-login-link,
.bt-ghost {
  color: #aeb7df;
  text-decoration: none;
}

.bt-login-link {
  display: inline-block;
  margin-top: 16px;
}

.bt-login-link:hover,
.bt-ghost:hover {
  color: #fff;
}

.bt-alert {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(236, 98, 33, .38);
  border-radius: 6px;
  background: rgba(236, 98, 33, .12);
  color: #ffd0bc;
  line-height: 1.45;
}

.bt-alert-success {
  border-color: rgba(1, 209, 166, .38);
  background: rgba(1, 209, 166, .12);
  color: #b8fff1;
}

.bt-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.bt-panel-head span {
  display: block;
  color: #ec6221;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.bt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.bt-card {
  padding: 24px;
}

.bt-open {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(236, 98, 33, .14), transparent), #111433;
  border: 1px solid #ec6221;
  border-radius: 10px;
  color: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.bt-open strong,
.bt-open small {
  display: block;
}

.bt-open small {
  margin-top: 4px;
  color: #aeb7df;
}

.bt-open b {
  color: #ec6221;
  font-size: 1.7rem;
}

.bt-data {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.bt-data dt {
  color: #7782b5;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.bt-data dd {
  margin: 0 0 12px;
  color: #fff;
  overflow-wrap: anywhere;
}

.bt-ticket {
  padding: 18px;
  margin-bottom: 12px;
}

.bt-ticket header,
.bt-ticket footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.bt-ticket code {
  color: #aeb7df;
}

.bt-ticket h3 {
  margin: 12px 0 8px;
  color: #fff;
  font-size: 1rem;
}

.bt-ticket p,
.bt-ticket footer,
.bt-note {
  color: #aeb7df;
  line-height: 1.55;
}

.bt-ticket footer,
.bt-note time {
  font-size: .8rem;
}

.bt-status {
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.bt-status-aberto { background: rgba(236, 98, 33, .28); color: #ff9a62; }
.bt-status-andamento { background: rgba(47, 87, 224, .28); color: #90a8ff; }
.bt-status-concluido { background: rgba(60, 180, 110, .22); color: #6ad996; }
.bt-status-cancelado { background: rgba(180, 180, 190, .2); color: #d8d8e0; }

.bt-notes {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.bt-note {
  margin-top: 8px;
}

.bt-note time {
  display: block;
  color: #7782b5;
}

.bt-empty,
.bt-loading {
  padding: 24px;
  color: #aeb7df;
  text-align: center;
}

.bt-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 7, 20, .76);
}

.bt-modal[hidden] {
  display: none;
}

.bt-modal-card {
  width: min(560px, 100%);
  position: relative;
  padding: 28px;
  max-height: min(86vh, 760px);
  overflow: auto;
}

.bt-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #aeb7df;
  cursor: pointer;
  font-size: 1.1rem;
}

@media (max-width: 860px) {
  .bt-client-shell {
    padding-top: 110px;
  }

  .bt-grid {
    grid-template-columns: 1fr;
  }

  .bt-panel-head {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .bt-client-shell {
    padding: 96px 14px 48px;
  }

  .bt-login-card,
  .bt-card,
  .bt-ticket,
  .bt-modal-card {
    border-radius: 8px;
  }

  .bt-login-card,
  .bt-card {
    padding: 22px;
  }

  .bt-open {
    align-items: flex-start;
    padding: 18px;
  }

  .bt-open b {
    line-height: 1;
  }

  .bt-modal {
    align-items: end;
    padding: 12px;
  }

  .bt-modal-card {
    padding: 24px 18px;
  }
}
