:root {
  --tblr-primary: #3269d8;
  --tblr-primary-rgb: 50, 105, 216;
  --tblr-body-color: #27344d;
  --tblr-body-font-family:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --tblr-border-radius: 14px;
  --tblr-border-color: rgba(111, 137, 170, 0.14);
}
body {
  min-height: 100vh;
  background: #edf2f9;
  background-image:
    radial-gradient(ellipse at 9% 30%, #dee9fb 0, transparent 45%),
    radial-gradient(ellipse at 92% 18%, #e5dcf6 0, transparent 42%),
    radial-gradient(ellipse at 75% 85%, #def1f0 0, transparent 45%);
  background-attachment: fixed;
}
button,
a,
input {
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
.glass-top {
  background: #ffffff70;
  backdrop-filter: blur(24px);
  border-bottom: 1px solid #ffffffb0;
  min-height: 78px;
  box-shadow: none;
}
.navbar-brand {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -1.3px;
  gap: 10px;
  color: #27344d;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #6a97f5, #3c69d9);
  width: 38px;
  height: 38px;
  border-radius: 13px;
  color: white;
  box-shadow: 0 4px 14px #4671cf30;
}
.brand-dot {
  color: #517cde;
  margin-left: -9px;
}
.icon {
  width: 21px;
  height: 21px;
  stroke-width: 1.7;
  flex-shrink: 0;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: #91a0b6;
  border-radius: 50%;
}
.status-dot.online {
  background: #46a58b;
  box-shadow: 0 0 0 4px #46a58b12;
}
.app-container {
  max-width: 1100px;
  padding-bottom: 120px;
}
.intro {
  text-align: center;
  margin: 22px 0 40px;
}
.glass-badge {
  color: #7082a0;
  font-size: 10px;
  letter-spacing: 1.6px;
  background: #ffffff50;
  border: 1px solid #ffffffb0;
  border-radius: 100px;
  padding: 8px 12px;
  font-weight: 600;
  gap: 6px;
}
.glass-badge .icon {
  width: 13px;
  height: 13px;
}
.intro p {
  font-size: 13px;
  color: #8a98ad;
  margin-top: 10px;
}
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 26px;
  gap: 15px;
}
.page-pretitle {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #8290a7;
  font-weight: 600;
}
.page-title {
  font-size: 36px;
  letter-spacing: -1.1px;
  line-height: 1.2;
  font-weight: 650;
}
.text-secondary {
  color: #7b89a0 !important;
}
.btn {
  gap: 8px;
  background: #ffffff65;
  border: 1px solid #ffffffd0;
  box-shadow: 0 2px 6px #405a7910;
  color: #526581;
  border-radius: 12px;
  min-height: 42px;
  font-weight: 500;
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn:hover {
  background: #fff;
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(140deg, #6293ee, #3c6ed9);
  color: #fff;
  border-color: #ffffff80;
  box-shadow: 0 5px 16px #497cdb25;
}
.btn-primary:hover {
  background: #3868ce;
  color: white;
}
.btn-danger {
  background: #df6071;
  color: white;
}
.btn-success {
  background: #379b7e;
  color: white;
}
.btn-link {
  background: none;
  border: 0;
  box-shadow: none;
}
.btn-icon {
  padding: 9px;
}
.glass-card {
  background: #ffffff65;
  border: 1px solid #ffffffdf;
  backdrop-filter: blur(22px);
  box-shadow:
    0 14px 45px #4c62800a,
    inset 0 1px 0 #fff;
  border-radius: 20px;
  overflow: hidden;
}
.card-header {
  background: #ffffff25;
  min-height: 72px;
  padding: 16px 22px;
}
.card-body {
  padding: 28px;
}
.nav-pills .nav-link {
  font-size: 12px;
  color: #7b89a0;
  border-radius: 10px;
}
.nav-pills .nav-link.active {
  background: #fff9;
  color: #3c65a7;
  box-shadow: 0 2px 8px #4662820a;
}
.nav-pills .badge {
  background: #e6ebf3;
  color: #8594aa;
  font-size: 10px;
}
.list-group-item {
  background: transparent;
  border-color: #c6d2e328;
  padding: 20px 24px;
}
.avatar {
  background: #e0e9f9;
  color: #6884b6;
  border: 1px solid #fff9;
  border-radius: 14px;
  font-weight: 500;
}
.contact-avatar {
  width: 46px;
  height: 46px;
  font-size: 17px;
}
.contact-name {
  font-size: 14px;
  font-weight: 600;
  color: #3e4f6a;
}
.contact-meta {
  font-size: 12px;
  color: #8d9bb0;
  margin-top: 5px;
}
.contact-meta .icon {
  width: 14px;
  height: 14px;
  margin-right: 3px;
}
.list-call {
  border-radius: 50%;
  min-height: 36px;
  width: 36px;
  padding: 8px;
  background: #eef6f66b;
  color: #6a9b9d;
}
.list-call .icon {
  width: 17px;
  height: 17px;
}
.connect-card h2 {
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.6px;
  line-height: 1.3;
}
.connect-card p {
  font-size: 13px;
  line-height: 1.8;
  margin: 18px 0 24px;
}
.connect-card .avatar {
  border-radius: 20px;
  background: linear-gradient(150deg, #fff8, #d8e5fd) !important;
  box-shadow: 0 8px 20px #6a88b312;
  color: #7197da;
}
.connect-card .avatar .icon {
  width: 35px;
  height: 35px;
}
.privacy-note {
  display: flex;
  gap: 12px;
  margin: 24px 10px;
  color: #92a0b5;
}
.privacy-note > .icon {
  width: 17px;
  height: 17px;
}
.privacy-note strong {
  font-size: 12px;
  font-weight: 500;
  color: #7b8ba3;
}
.privacy-note p {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 6px;
}
.bottom-nav {
  position: fixed;
  bottom: calc(23px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #ffffffed;
  border-radius: 23px;
  background: #ffffff85;
  backdrop-filter: blur(25px);
  box-shadow:
    0 10px 40px #465e8215,
    inset 0 1px 0 white;
  padding: 7px;
  z-index: 1000;
}
.bottom-nav .nav {
  flex-wrap: nowrap;
  gap: 5px;
}
.bottom-nav .nav-link {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 114px;
  font-size: 11px;
  padding: 10px 15px;
  border-radius: 17px;
}
.bottom-nav .nav-link.active {
  color: #4775c8;
  background: linear-gradient(145deg, #fff9, #dfebfd90);
  box-shadow: 0 3px 12px #5073aa0c;
}
.app-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 44px;
  font-size: 11px;
  color: #a1aec0;
}
.app-footer .icon {
  width: 16px;
  height: 16px;
}
.empty {
  padding: 65px 24px;
  text-align: center;
}
.empty-icon {
  display: inline-flex;
  background: #e7edf780;
  border: 1px solid white;
  padding: 20px;
  border-radius: 22px;
  color: #90a8cb;
  margin-bottom: 20px;
}
.empty-icon .icon {
  width: 30px;
  height: 30px;
}
.empty h3 {
  font-size: 18px;
  font-weight: 550;
}
.empty p {
  font-size: 13px;
  line-height: 1.8;
  max-width: 300px;
  margin: 0 auto 20px;
}
.profile-card {
  max-width: 470px;
}
.profile-card .card-body {
  padding: 35px;
}
.profile-avatar {
  background: linear-gradient(135deg, #c4d7fa, #e1d7f2);
  color: #5777ae;
}
.qr-code {
  background: white;
  border-radius: 20px;
  padding: 20px;
  width: 226px;
  height: 226px;
  margin: 25px auto 0;
  box-shadow: 0 8px 30px #526e9710;
}
.qr-code svg {
  display: block;
  width: 100%;
  height: 100%;
}
.public-key {
  display: block;
  word-break: break-all;
  font-size: 13px;
  line-height: 1.8;
  color: #6d7f9c;
  background: #e9eef65e;
  padding: 14px;
  border-radius: 12px;
}
.settings-card {
  max-width: 650px;
  margin: auto;
}
.form-control {
  background: #ffffff80;
  border-color: #d5dfe980;
  border-radius: 10px;
}
.form-control:focus {
  background: #fffc;
}
.modal-content {
  background: #f5f8fbed;
  border: 1px solid white;
  border-radius: 22px;
  box-shadow: 0 30px 100px #263d6022;
  backdrop-filter: blur(30px);
}
.modal-header,
.modal-footer {
  border-color: #d5dfe960;
}
.modal-title {
  font-size: 18px;
}
.toast-container {
  z-index: 2000;
  bottom: 120px !important;
}
.toast {
  background: #f8fbfff5;
  border-radius: 13px;
  color: #405475;
}
#camera {
  width: 100%;
  border-radius: 14px;
  background: #1a263a;
  max-height: 400px;
  object-fit: cover;
}
.alert {
  border-radius: 14px;
  font-size: 12px;
}
.alert-warning {
  background: #fff8eac9;
  border-color: #f6e7c3;
  color: #86704b;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #6999e7;
  outline-offset: 3px;
}
.missed {
  color: #d47683 !important;
}
@media (min-width: 1400px) {
  .intro {
    margin-top: 35px;
    margin-bottom: 55px;
  }
  .page-body {
    margin-top: 25px;
  }
}
@media (max-width: 767px) {
  .glass-top {
    min-height: 64px;
  }
  .glass-top .container-xl {
    padding: 0 22px;
  }
  .app-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .intro {
    margin: 16px 0 28px;
  }
  .intro p {
    display: none;
  }
  .page-title {
    font-size: 29px;
  }
  .page-header {
    margin-bottom: 20px;
  }
  .page-header > .btn {
    padding: 10px;
    font-size: 12px;
  }
  .page-header p {
    font-size: 12px;
  }
  .card-header {
    padding: 14px;
  }
  .list-group-item {
    padding: 17px 16px;
  }
  .empty {
    padding: 45px 20px;
  }
  aside .connect-card {
    display: none;
  }
  .privacy-note {
    justify-content: center;
    margin-top: 0;
  }
  .privacy-note p {
    max-width: 260px;
  }
  .profile-card .card-body {
    padding: 25px 20px;
  }
  .bottom-nav {
    bottom: calc(15px + env(safe-area-inset-bottom));
  }
  .bottom-nav .nav-link {
    min-width: 98px;
  }
  .app-footer {
    margin-top: 25px;
  }
  .alert {
    flex-wrap: wrap;
    gap: 10px;
  }
  .contact-name {
    font-size: 13px;
  }
  .contact-meta {
    font-size: 11px;
  }
  .settings-card .card-body {
    padding: 22px;
  }
  .page-pretitle {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
/* Keep Tabler's page heading and its action side by side at phone widths too. */
.app-container .page-header {
  flex-direction: row;
  text-align: left;
}
.connect-card .page-pretitle {
  display: block;
}
.empty-icon {
  width: 72px;
  height: 72px;
  padding: 0;
  align-items: center;
  justify-content: center;
}
@media (max-width: 360px) {
  #new-call > span:last-child {
    display: none;
  }
}
