@font-face {
  font-family: Tondo;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/public/static/brand/tondo-regular.woff2") format("woff2");
}

@font-face {
  font-family: Tondo;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/public/static/brand/tondo-bold.woff2") format("woff2");
}

@font-face {
  font-family: Tondo;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/public/static/brand/tondo-bold.woff2") format("woff2");
}

@font-face {
  font-family: Tondo;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/public/static/brand/tondo-bold.woff2") format("woff2");
}

:root {
  --bs-primary: #EC1B24;
  --bs-primary-rgb: 236, 27, 36;
  --airtel-ink: #3a3a3a;
}

.btn-primary {
  --bs-btn-bg: #EC1B24;
  --bs-btn-border-color: #EC1B24;
  --bs-btn-hover-bg: #c4161c;
  --bs-btn-hover-border-color: #b8141a;
  --bs-btn-active-bg: #b8141a;
  --bs-btn-active-border-color: #a81218;
  --bs-btn-disabled-bg: #EC1B24;
  --bs-btn-disabled-border-color: #EC1B24;
  --bs-btn-focus-shadow-rgb: 236, 27, 36;
}

.btn-outline-primary {
  --bs-btn-color: #EC1B24;
  --bs-btn-border-color: #EC1B24;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #EC1B24;
  --bs-btn-hover-border-color: #EC1B24;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #c4161c;
  --bs-btn-active-border-color: #c4161c;
  --bs-btn-disabled-color: #EC1B24;
  --bs-btn-disabled-border-color: #EC1B24;
  --bs-btn-focus-shadow-rgb: 236, 27, 36;
}

#header.bg-dark {
  background: #fff !important;
  border-color: #eeeeee !important;
  box-shadow: none !important;
}

.navbar-vertical-aside.bg-dark {
  background-color: #fff !important;
  border-color: #eeeeee !important;
}

.navbar-vertical-aside .nav-link,
.navbar-vertical-aside .nav-link .nav-icon {
  color: #3a3a3a !important;
}

#header .navbar-aside-toggler,
#header .navbar-aside-toggler .bi {
  color: #3a3a3a !important;
}

.navbar-vertical-aside .nav-link {
  background-color: transparent !important;
  border-radius: 4px !important;
  margin: 2px 12px;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.navbar-vertical-aside .nav-link:hover,
.navbar-vertical-aside .nav-link:focus {
  color: #EC1B24 !important;
  background-color: #f7f7f7 !important;
}

.navbar-dark .nav-pills .nav-link.active,
.navbar-vertical-aside .nav-link.active,
.navbar-vertical-aside .nav-link.active:hover,
.navbar-vertical-aside .nav-link.active:focus {
  background-color: #EC1B24 !important;
  color: #fff !important;
}

.navbar-vertical-aside .nav-link.active .nav-icon,
.navbar-vertical-aside .nav-link.active .nav-link-title {
  color: #fff !important;
}

body,
button,
input,
select,
textarea,
.nav-link,
.btn,
h1, h2, h3, h4, h5, h6 {
  font-family: Tondo, Arial, sans-serif !important;
  color: #3a3a3a;
}

body {
  background: #f7f7f7 !important;
}

.main .content {
  padding-top: 1.5rem;
}

.footer {
  background: transparent !important;
  border: 0 !important;
  color: #8d767a;
}

.footer p {
  color: #8d767a;
}

.ac-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: auto;
  max-width: none;
  overflow: visible;
  text-decoration: none;
}

.ac-brand img {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: block;
}

.ac-brand-name {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-family: Tondo, Arial, sans-serif !important;
  font-weight: 500;
  font-size: 1.05rem !important;
  line-height: 1 !important;
  letter-spacing: -0.03em;
  color: #1a1a1a !important;
  white-space: nowrap !important;
}

.navbar-vertical-aside .ac-brand {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  height: 3.875rem;
  padding: 0 1rem !important;
  overflow: visible !important;
}

@media (min-width: 1200px) {
  #header .ac-brand {
    display: none !important;
  }
}

.ac-brand-login {
  display: flex !important;
  justify-content: center;
  margin: 0 auto 1.35rem;
}

.ac-brand-login img {
  width: 36px;
  height: 36px;
}

.ac-brand-login .ac-brand-name {
  font-size: 1.7rem;
}

.navbar-vertical-aside-mini-mode .ac-brand-name {
  display: none !important;
}

.ac-page .page-header {
  border: 0;
  padding-bottom: 0.25rem;
}

.ac-page .page-header-title {
  font-size: 1.35rem;
  font-weight: 600;
}

.ac-page .card {
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  box-shadow: none;
}

.ac-stat .card-body {
  padding: 1.25rem 1.3rem 1.15rem;
}

.ac-stat .card-subtitle {
  font-size: 0.85rem;
  font-weight: 500;
  color: #677788;
}

.ac-stat .display-6,
.ac-stat .h4 {
  font-weight: 600;
}

.ac-page .card-header {
  background: transparent;
  border-bottom: 1px solid #f3e8ea;
  padding: 1.1rem 1.25rem;
}

.ac-page .table thead th {
  font-size: 0.85rem;
  font-weight: 600;
  color: #677788;
  border-bottom-color: #e6e6e6;
}

.ac-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f3e8ea;
  color: #5c3036;
}

.ac-status-success { background: #e8f7ee; color: #157347; }
.ac-status-failed { background: #fde8ea; color: #b42318; }
.ac-status-processing,
.ac-status-pending { background: #fff4e5; color: #b54708; }

body.ac-login {
  min-height: 100vh;
  margin: 0;
  background: #fff !important;
}

.ac-login-wrap {
  width: 22rem;
  max-width: calc(100% - 2rem);
  margin: 8vh auto 0;
}


.ac-login-wrap h1 {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: #1e2022;
}

.ac-login-wrap label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: #1e2022;
}

.ac-login-wrap input {
  display: block;
  width: 100%;
  height: 2.6rem;
  margin: 0 0 1rem;
  padding: 0 0.75rem;
  border: 1px solid #cfd4da;
  border-radius: 4px;
  font-size: 0.95rem;
}

.ac-login-wrap input:focus {
  outline: 2px solid rgba(237, 28, 36, 0.25);
  border-color: #EC1B24;
}

.ac-login-wrap button {
  width: 100%;
  height: 2.6rem;
  margin-top: 0.25rem;
  border: 0;
  border-radius: 4px;
  background: #EC1B24;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.ac-login-wrap button:hover {
  background: #c4161c;
}

.ac-password {
  position: relative;
  margin: 0 0 1rem;
}

.ac-password input {
  margin: 0;
  padding-right: 2.6rem;
}

.ac-login-wrap .ac-password button {
  position: absolute;
  top: 0;
  right: 0;
  width: 2.6rem;
  height: 2.6rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #677788;
}

.ac-login-wrap .ac-password button:hover,
.ac-login-wrap .ac-password button.is-visible {
  background: transparent;
  color: #EC1B24;
}

.ac-password svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.ac-password button.is-visible svg {
  stroke-linecap: round;
}

.ac-password button.is-visible svg path {
  stroke-dasharray: 0;
}

.ac-password button.is-visible::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 2px;
  background: currentColor;
  transform: rotate(-35deg);
}
