html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* ── Top header bar ─────────────────────────────── */
.pcoded-header.gf-header {
  background: #1e2736 !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  box-shadow: 0 1px 6px rgba(0,0,0,0.25) !important;
}

/* Hamburger stripes visible on dark header */
.gf-header .m-header a span,
.gf-header .m-header a span::before,
.gf-header .m-header a span::after {
  background: #fff !important;
}

/* Right-side user info strip — plain divs avoid Bootstrap navbar-nav direction overrides */
.gf-header-right {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1.5rem;
  margin-left: auto;
  padding-right: 1.5rem;
  height: 100%;
}

/* Each info chip: icon inline with label/value */
.gf-header-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.45rem;
  color: #fff;
  white-space: nowrap;
}

.gf-header-icon {
  font-size: 1.05rem;
  opacity: 0.65;
  flex-shrink: 0;
}

/* Label stacked above value */
.gf-header-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.gf-header-label {
  font-size: 0.62rem;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gf-header-value {
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
}

/* Circular user avatar */
.gf-header-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

/* Vertical divider */
.gf-header-sep {
  width: 1px;
  height: 2rem;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* Logout icon link */
.gf-logout-btn {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.5);
  font-size: 1.15rem;
  transition: color 0.15s;
  text-decoration: none !important;
}

.gf-logout-btn:hover {
  color: #fff;
}

/* Global in-progress overlay */
#gf-loader {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.85rem;
}

.gf-loader-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.75rem;
  padding: 2rem 2.5rem;
}

.gf-loader-spinner {
  width: 2.75rem;
  height: 2.75rem;
  border-width: 3px;
  color: #fff;
}

.gf-loader-text {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* SMS logs table (SentSMS) */
#smsLogsTable {
  width: 100% !important;
}
#smsLogsTable thead {
  position: sticky;
  z-index: 1;
  top: 0;
  background: white !important;
  border-top-style: hidden !important;
}
#smsLogsTable th,
#smsLogsTable td {
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
