/*
 * L2 Nostalgic · Panel Reborn
 * Sistema visual compartido por las vistas públicas del área de cuenta.
 */

:root {
  --p-bg: #07080b;
  --p-surface: rgba(15, 13, 16, .90);
  --p-surface-soft: rgba(23, 19, 20, .78);
  --p-surface-raised: rgba(29, 23, 23, .90);
  --p-line: rgba(211, 175, 109, .15);
  --p-line-strong: rgba(221, 184, 116, .30);
  --p-gold: #c8a76b;
  --p-gold-bright: #ead3a3;
  --p-text: #f2ece3;
  --p-muted: #aea497;
  --p-success: #72d293;
  --p-danger: #ee7777;
  --p-info: #8fb8df;
}

@font-face {
  font-family: "Bayonetta";
  src: url("/templates/AtualStudio11/font/Bayonetta.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html,
body {
  min-width: 0;
  min-height: 100%;
}

body.icp-refined {
  min-height: 100vh;
  color: var(--p-text) !important;
  background:
    linear-gradient(90deg, rgba(5, 6, 9, .98), rgba(5, 6, 9, .78) 28%, rgba(5, 6, 9, .82) 72%, rgba(5, 6, 9, .98)),
    linear-gradient(180deg, rgba(5, 6, 9, .45), #07080b 78%),
    url("/images/fondo panel.jpg") center top / 1920px auto fixed no-repeat !important;
  font-family: "Poppins", Arial, sans-serif !important;
}

body.icp-refined::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 15%, rgba(54, 81, 123, .10), transparent 28rem),
    radial-gradient(circle at 25% 70%, rgba(119, 42, 46, .09), transparent 32rem);
}

body.icp-refined *,
body.icp-refined *::before,
body.icp-refined *::after {
  box-sizing: border-box;
}

body.icp-refined a:focus-visible,
body.icp-refined button:focus-visible,
body.icp-refined input:focus-visible,
body.icp-refined select:focus-visible,
body.icp-refined textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(221, 184, 116, .22) !important;
}

body.icp-refined header.navbar,
body.icp-refined header.navbar.navbar-dark.sticky-top.bg-white.flex-md-nowrap.p-0.shadow {
  z-index: 1040;
  display: flex;
  min-height: 72px;
  padding: 0 18px 0 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--p-line) !important;
  background: rgba(7, 8, 11, .90) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .24) !important;
  backdrop-filter: blur(20px) saturate(1.08);
  -webkit-backdrop-filter: blur(20px) saturate(1.08);
}

body.icp-refined header.navbar .navbar-brand,
body.icp-refined header.navbar.navbar-dark.sticky-top.bg-white.flex-md-nowrap.p-0.shadow .navbar-brand {
  display: flex !important;
  flex: 0 0 270px !important;
  align-items: center !important;
  gap: 11px;
  width: 270px !important;
  min-width: 270px !important;
  max-width: 270px !important;
  min-height: 72px;
  margin: 0 !important;
  padding: 0 20px !important;
  color: var(--p-text) !important;
  border-right: 1px solid var(--p-line) !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 1.15;
}

.panel-brand-mark {
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #1c1309;
  border: 1px solid #d7b978;
  border-radius: 11px;
  background: linear-gradient(135deg, #ecd29e, #a98246);
  box-shadow: 0 8px 18px rgba(161, 120, 63, .14);
  font-family: "Cinzel", Georgia, serif !important;
  font-size: 29px;
  line-height: 1;
}

.panel-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.panel-brand-copy strong {
  color: #edddbd;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2px;
}

.panel-brand-copy small {
  margin-top: 3px;
  color: var(--p-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
}

body.icp-refined header.navbar .nav.w-100 {
  min-width: 24px;
  flex: 1 1 auto;
}

body.icp-refined header.navbar .btn-group {
  margin: 0 4px 0 auto !important;
}

body.icp-refined header.navbar .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 11px !important;
}

.panel-balance-label {
  color: var(--p-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
}

body.icp-refined header.navbar .navbar-nav {
  padding: 0 0 0 7px !important;
}

body.icp-refined header.navbar .navbar-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 12px !important;
  color: #d9d0c4 !important;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 600;
}

body.icp-refined header.navbar .navbar-nav .nav-link:hover {
  color: #fff !important;
  border-color: rgba(238, 119, 119, .16);
  background: rgba(238, 119, 119, .06);
}

body.icp-refined .container-fluid {
  padding: 0 !important;
}

body.icp-refined .container-fluid > .row {
  flex-wrap: nowrap;
  margin: 0 !important;
}

body.icp-refined #sidebarMenu,
body.icp-refined #sidebarMenu.col-md-3.col-lg-2 {
  position: fixed !important;
  z-index: 1020;
  top: 72px !important;
  bottom: 0;
  left: 0;
  display: block;
  flex: 0 0 270px !important;
  width: 270px !important;
  max-width: 270px !important;
  height: calc(100vh - 72px);
  padding: 0 !important;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0 !important;
  border-right: 1px solid var(--p-line) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .018), transparent 11rem),
    rgba(7, 8, 11, .92) !important;
  box-shadow: 14px 0 40px rgba(0, 0, 0, .16) !important;
  scrollbar-color: rgba(198, 163, 99, .20) transparent;
  scrollbar-width: thin;
  backdrop-filter: blur(18px);
}

body.icp-refined #sidebarMenu .position-sticky {
  top: 0 !important;
  padding: 20px 14px 34px !important;
}

body.icp-refined #sidebarMenu .nav {
  gap: 3px;
}

body.icp-refined #sidebarMenu .menu-title,
body.icp-refined #sidebarMenu .sidebar-heading,
body.icp-refined #sidebarMenu .menu-title *,
body.icp-refined #sidebarMenu .sidebar-heading * {
  display: block;
  margin: 18px 8px 8px !important;
  padding: 0 2px 9px !important;
  color: #cbb17c !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(211, 175, 109, .13) !important;
  background: transparent !important;
  font-family: "Poppins", Arial, sans-serif !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 1.35px !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
}

body.icp-refined #sidebarMenu .menu-title::after,
body.icp-refined #sidebarMenu .sidebar-heading::after {
  display: none !important;
}

body.icp-refined #sidebarMenu .nav-link,
body.icp-refined .sidebar .nav-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin: 0 !important;
  padding: 0 12px !important;
  color: #cec5b9 !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.3;
}

body.icp-refined #sidebarMenu .nav-link svg,
body.icp-refined .sidebar .nav-link svg {
  width: 15px;
  height: 15px;
  margin-right: 10px;
  color: #9e895f;
  stroke-width: 1.8;
}

body.icp-refined #sidebarMenu .nav-link:hover,
body.icp-refined .sidebar .nav-link:hover {
  color: #fff !important;
  border-color: rgba(211, 175, 109, .13) !important;
  background: rgba(211, 175, 109, .045) !important;
  transform: translateX(2px);
}

body.icp-refined #sidebarMenu .nav-link.active,
body.icp-refined .sidebar .nav-link.active {
  color: #f6e8ca !important;
  border-color: rgba(211, 175, 109, .24) !important;
  background: linear-gradient(90deg, rgba(205, 169, 103, .13), rgba(205, 169, 103, .035)) !important;
  box-shadow: inset 3px 0 0 #c2a164 !important;
}

body.icp-refined main,
body.icp-refined main.col-md-9.ms-sm-auto.col-lg-10 {
  flex: 1 1 auto !important;
  width: calc(100% - 270px) !important;
  max-width: calc(100% - 270px) !important;
  min-height: calc(100vh - 72px);
  margin: 0 0 0 270px !important;
  padding: 0 28px 40px !important;
}

.panel-content-shell {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding-top: 28px;
}

body.icp-refined .panel-heading-block {
  margin: 0 0 18px !important;
  padding: 0 0 18px !important;
  border-bottom: 1px solid var(--p-line) !important;
}

body.icp-refined .panel-heading-block .h2,
body.icp-refined h1.h2,
body.icp-refined h1.h3,
body.icp-refined .h2,
body.icp-refined .h3 {
  margin: 0;
  color: #f3e5c7 !important;
  font-family: "Cinzel", Georgia, serif !important;
  font-size: 38px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

body.icp-refined .panel-subtitle {
  margin-top: 7px;
  color: var(--p-muted);
  font-size: 11px;
  line-height: 1.65;
}

.panel-overline {
  display: block;
  margin-bottom: 8px;
  color: var(--p-gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

body.icp-refined .metric-grid,
body.icp-refined .panel-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

body.icp-refined .metric-card {
  position: relative;
  min-height: 126px;
  padding: 18px !important;
  overflow: hidden;
  border: 1px solid var(--p-line) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .025), transparent 55%),
    rgba(14, 12, 15, .78) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16) !important;
}

body.icp-refined .metric-card::after {
  position: absolute;
  right: -25px;
  bottom: -32px;
  width: 100px;
  height: 100px;
  content: "";
  border: 1px solid rgba(211, 175, 109, .09);
  border-radius: 50%;
}

body.icp-refined .metric-label {
  display: block;
  margin-bottom: 10px;
  color: var(--p-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

body.icp-refined .metric-value {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 31px;
  color: #f1dfbc;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

body.icp-refined .metric-note {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 8px;
  color: var(--p-muted);
  font-size: 9px;
  line-height: 1.5;
}

body.icp-refined .server-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--p-danger);
}

body.icp-refined .server-state::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

body.icp-refined .server-state.online {
  color: var(--p-success);
}

body.icp-refined .card,
body.icp-refined .dashboard-card {
  overflow: hidden;
  color: var(--p-text) !important;
  border: 1px solid var(--p-line) !important;
  border-radius: 17px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .018), transparent 8rem),
    rgba(13, 11, 14, .82) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .16) !important;
}

body.icp-refined .card-header {
  min-height: 52px;
  padding: 0 17px !important;
  display: flex;
  align-items: center;
  color: #e9d7b4 !important;
  border-bottom: 1px solid var(--p-line) !important;
  background: rgba(27, 22, 22, .76) !important;
  font-family: "Poppins", Arial, sans-serif !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase;
}

body.icp-refined .card-header.text-center {
  justify-content: center;
}

body.icp-refined .card-body {
  padding: 18px !important;
  color: #ddd5ca !important;
  background: transparent !important;
  font-size: 11px;
  line-height: 1.7;
}

body.icp-refined .info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.icp-refined .info-item {
  min-height: 67px;
  padding: 12px 13px;
  border: 1px solid rgba(211, 175, 109, .10);
  border-radius: 11px;
  background: rgba(255, 255, 255, .014);
}

body.icp-refined .info-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--p-muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

body.icp-refined .info-item span {
  color: #f0e7db;
  font-size: 11px;
  font-weight: 600;
}

body.icp-refined .mini-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

body.icp-refined .mini-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  color: #d9d0c4;
  border: 1px solid rgba(211, 175, 109, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .015);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .45px;
  text-transform: uppercase;
}

body.icp-refined .btn,
body.icp-refined .custom-btn,
body.icp-refined .btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 39px;
  padding: 0 13px;
  border: 1px solid var(--p-line-strong) !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, rgba(40, 32, 30, .96), rgba(16, 14, 16, .98)) !important;
  box-shadow: 0 7px 17px rgba(0, 0, 0, .14) !important;
  color: #eee4d4 !important;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .35px;
  text-transform: uppercase;
  transition: transform .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

body.icp-refined .btn.btn-sm {
  min-height: 34px;
  padding: 0 11px;
  font-size: 8px;
}

body.icp-refined .btn-primary {
  color: #171109 !important;
  border-color: #d1af6f !important;
  background: linear-gradient(135deg, #e6cb94, #a98449) !important;
}

body.icp-refined .btn-danger {
  color: #ffecec !important;
  border-color: rgba(238, 119, 119, .28) !important;
  background: linear-gradient(180deg, rgba(93, 39, 42, .86), rgba(45, 20, 23, .92)) !important;
}

body.icp-refined .btn:hover,
body.icp-refined .custom-btn:hover,
body.icp-refined .btn-brand:hover {
  color: #fff !important;
  border-color: rgba(230, 195, 129, .52) !important;
  box-shadow: 0 10px 23px rgba(0, 0, 0, .20) !important;
  transform: translateY(-1px);
}

body.icp-refined .btn-primary:hover {
  color: #110c07 !important;
  border-color: #ead09a !important;
}

body.icp-refined .dropdown-menu {
  padding: 7px;
  border: 1px solid var(--p-line) !important;
  border-radius: 12px !important;
  background: rgba(11, 10, 13, .97) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .30) !important;
}

body.icp-refined .dropdown-item {
  display: flex;
  align-items: center;
  min-height: 37px;
  padding: 0 10px;
  color: #d9d0c4 !important;
  border-radius: 8px;
  font-size: 10px;
}

body.icp-refined .dropdown-item:hover {
  color: #fff !important;
  background: rgba(211, 175, 109, .07) !important;
}

body.icp-refined .table-responsive {
  border-radius: 12px;
}

body.icp-refined .table {
  margin-bottom: 0;
  color: #dcd4c9 !important;
  border-color: rgba(211, 175, 109, .09) !important;
  background: transparent !important;
  font-size: 10px;
}

body.icp-refined .table thead th,
body.icp-refined .table tfoot th {
  padding: 11px 10px !important;
  color: #e8d7b6 !important;
  border-color: rgba(211, 175, 109, .11) !important;
  background: rgba(29, 23, 23, .80) !important;
  font-size: 8px !important;
  font-weight: 800;
  letter-spacing: .75px;
  text-transform: uppercase;
}

body.icp-refined .table tbody td {
  padding: 10px !important;
  color: #d9d1c6 !important;
  border-color: rgba(211, 175, 109, .07) !important;
  background: rgba(255, 255, 255, .008) !important;
  vertical-align: middle;
}

body.icp-refined .table-striped tbody tr:nth-of-type(odd) td {
  background: rgba(255, 255, 255, .015) !important;
}

body.icp-refined .table tbody tr:hover td {
  background: rgba(211, 175, 109, .035) !important;
}

body.icp-refined .form-control,
body.icp-refined .form-select,
body.icp-refined textarea,
body.icp-refined select,
body.icp-refined input[type="text"],
body.icp-refined input[type="url"],
body.icp-refined input[type="number"],
body.icp-refined input[type="email"],
body.icp-refined input[type="password"],
body.icp-refined input[type="search"] {
  min-height: 43px;
  color: var(--p-text) !important;
  border: 1px solid rgba(211, 175, 109, .15) !important;
  border-radius: 10px !important;
  background-color: rgba(8, 8, 11, .76) !important;
  background-image: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .015) !important;
  font-size: 11px;
}

body.icp-refined .form-control::placeholder,
body.icp-refined textarea::placeholder,
body.icp-refined input::placeholder {
  color: rgba(225, 216, 203, .38) !important;
}

body.icp-refined .form-control:focus,
body.icp-refined .form-select:focus,
body.icp-refined textarea:focus,
body.icp-refined select:focus,
body.icp-refined input:focus {
  border-color: rgba(221, 184, 116, .42) !important;
  background-color: rgba(10, 9, 12, .92) !important;
  box-shadow: 0 0 0 3px rgba(211, 175, 109, .09) !important;
}

body.icp-refined .form-control:disabled,
body.icp-refined .form-select:disabled,
body.icp-refined textarea:disabled,
body.icp-refined input:disabled {
  color: #81796f !important;
  background-color: rgba(31, 27, 28, .64) !important;
  opacity: .72;
}

body.icp-refined .form-check-input,
body.icp-refined .custom-control-input {
  accent-color: var(--p-gold);
}

body.icp-refined label {
  color: #c8beb1;
  font-size: 10px;
  font-weight: 600;
}

body.icp-refined .alert {
  color: #e8dfd3;
  border: 1px solid var(--p-line);
  border-radius: 12px;
  background: rgba(22, 18, 20, .90);
  font-size: 10px;
}

body.icp-refined .breadcrumb {
  padding: 10px 13px;
  border: 1px solid var(--p-line);
  border-radius: 11px;
  background: rgba(255, 255, 255, .015);
}

body.icp-refined .breadcrumb-item,
body.icp-refined .breadcrumb-item a {
  color: var(--p-muted);
  font-size: 9px;
}

body.icp-refined .modal-content {
  overflow: hidden;
  color: var(--p-text);
  border: 1px solid var(--p-line-strong) !important;
  border-radius: 17px !important;
  background: #0d0c10 !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .48);
}

body.icp-refined .modal-header,
body.icp-refined .modal-footer {
  border-color: var(--p-line) !important;
  background: rgba(28, 22, 22, .78) !important;
}

body.icp-refined .modal-body {
  color: #ded6cb !important;
  background: rgba(13, 11, 14, .96) !important;
}

body.icp-refined .close {
  color: #fff !important;
  text-shadow: none;
}

body.icp-refined .progress {
  height: 9px;
  overflow: hidden;
  border: 1px solid rgba(211, 175, 109, .10);
  border-radius: 999px;
  background: rgba(4, 5, 8, .72);
}

body.icp-refined .progress-bar {
  background: linear-gradient(90deg, #9d7c44, #dfc38e) !important;
}

body.icp-refined .rule-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.icp-refined .rule-list li {
  position: relative;
  margin: 0;
  padding: 10px 0 10px 21px;
  color: #d6cec2;
  border-bottom: 1px solid rgba(211, 175, 109, .07);
  font-size: 10px;
  line-height: 1.6;
}

body.icp-refined .rule-list li:last-child {
  border-bottom: 0;
}

body.icp-refined .rule-list li::before {
  position: absolute;
  top: 16px;
  left: 4px;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--p-gold);
  box-shadow: 0 0 9px rgba(200, 167, 107, .20);
}

.panel-onboarding {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.panel-onboarding > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 190px;
  padding: 14px;
  border: 1px solid rgba(211, 175, 109, .10);
  border-radius: 12px;
  background: rgba(255, 255, 255, .012);
}

.panel-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 25px;
  margin-bottom: 12px;
  color: #1b1309;
  border-radius: 7px;
  background: linear-gradient(135deg, #ddc18b, #9f7d45);
  font-size: 8px;
  font-weight: 800;
}

.panel-onboarding strong {
  color: #eee1ca;
  font-size: 10px;
}

.panel-onboarding p {
  flex: 1 1 auto;
  margin: 7px 0 13px;
  color: var(--p-muted);
  font-size: 9px;
  line-height: 1.6;
}

body.icp-refined .form-signin {
  width: min(420px, calc(100% - 28px));
  max-width: 420px;
  margin: 8vh auto 40px !important;
  padding: 29px !important;
  color: var(--p-text);
  border: 1px solid var(--p-line) !important;
  border-radius: 20px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 8rem),
    rgba(10, 9, 12, .91) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38) !important;
  backdrop-filter: blur(18px);
}

body.icp-refined main.form-signin {
  width: min(420px, calc(100% - 28px)) !important;
  max-width: 420px !important;
  min-height: 0 !important;
  margin: 8vh auto 40px !important;
  padding: 29px !important;
}

body.icp-refined .form-signin::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 17px;
  content: "N";
  color: #171007;
  border: 1px solid #d8b876;
  border-radius: 15px;
  background: linear-gradient(135deg, #edd39e, #a88348);
  font-family: "Cinzel", Georgia, serif;
  font-size: 39px;
}

body.icp-refined .form-signin h1,
body.icp-refined .form-signin .h3 {
  color: #f0dfbc !important;
  font-family: "Cinzel", Georgia, serif !important;
  font-size: 36px !important;
  font-weight: 400 !important;
}

body.icp-refined .form-signin .text-muted,
body.icp-refined .form-signin p {
  color: var(--p-muted) !important;
  font-size: 9px;
  line-height: 1.7;
}

body.icp-refined .form-signin a {
  color: var(--p-gold-bright) !important;
}

body.icp-refined img {
  max-width: 100%;
}

body.icp-refined .card img[width="100"][height="100"] {
  border: 1px solid var(--p-line) !important;
  border-radius: 13px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .20);
}

.account-page {
  --bs-gutter-x: 18px;
}

.account-page > .col-sm-3 {
  flex: 0 0 260px;
  width: 260px;
  max-width: 260px;
}

.account-page > .col {
  min-width: 0;
}

.account-page h1.h3 {
  font-size: 31px !important;
}

.account-greeting {
  margin: 0 0 4px 18px;
  color: var(--p-muted);
  font-size: 10px;
  line-height: 1.5;
}

.account-page .card tbody tr[style*="font-size"] {
  font-size: 8px !important;
  line-height: 1.5;
}

.account-page > .col > .row > .col-sm-6 {
  display: flex;
}

.account-page > .col > .row > .col-sm-6 > .card {
  width: 100%;
}

.account-page .card-body > .text-center .table-responsive {
  overflow: visible;
}

.account-page .card-body > .text-center table,
.account-page .card-body > .text-center tbody,
.account-page .card-body > .text-center tr {
  display: flex;
  width: 100% !important;
  flex-wrap: wrap;
  gap: 6px;
}

.account-page .card-body > .text-center td {
  display: block;
  flex: 1 1 90px;
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
}

.account-page .card-body > .text-center .btn {
  width: 100% !important;
  min-height: 35px;
  margin: 0 !important;
  padding: 4px 8px !important;
  white-space: normal;
}

@media (max-width: 1199px) {
  body.icp-refined .metric-grid,
  body.icp-refined .panel-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.icp-refined .info-list {
    grid-template-columns: 1fr;
  }

  .panel-onboarding {
    grid-template-columns: 1fr;
  }

  .panel-onboarding > div {
    min-height: 0;
  }

  .account-page > .col-sm-3 {
    flex: 0 0 230px;
    width: 230px;
    max-width: 230px;
  }
}

@media (max-width: 767px) {
  body.icp-refined header.navbar {
    min-height: 64px;
    padding-right: 10px !important;
  }

  body.icp-refined header.navbar .navbar-brand,
  body.icp-refined header.navbar.navbar-dark.sticky-top.bg-white.flex-md-nowrap.p-0.shadow .navbar-brand {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 64px;
    padding: 0 13px !important;
    border-right: 0 !important;
  }

  .panel-brand-mark {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
  }

  .panel-brand-copy {
    display: none;
  }

  body.icp-refined header.navbar .navbar-toggler {
    position: static !important;
    order: -1;
    margin-left: 7px;
    border: 1px solid var(--p-line);
  }

  body.icp-refined header.navbar .nav.w-100 {
    display: none;
  }

  .panel-balance-label {
    display: none;
  }

  body.icp-refined header.navbar .dropdown-toggle {
    min-height: 37px;
    padding: 0 10px;
    font-size: 8px;
  }

  body.icp-refined header.navbar .navbar-nav .nav-link {
    width: 39px;
    min-height: 37px;
    padding: 0 !important;
    justify-content: center;
    overflow: hidden;
    font-size: 0;
  }

  body.icp-refined header.navbar .navbar-nav .nav-link svg {
    width: 16px;
    height: 16px;
  }

  body.icp-refined #sidebarMenu,
  body.icp-refined #sidebarMenu.col-md-3.col-lg-2 {
    top: 64px !important;
    width: min(290px, 86vw) !important;
    max-width: min(290px, 86vw) !important;
    height: calc(100vh - 64px);
  }

  body.icp-refined #sidebarMenu.collapse:not(.show) {
    display: none !important;
  }

  body.icp-refined main,
  body.icp-refined main.col-md-9.ms-sm-auto.col-lg-10 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    padding: 0 13px 28px !important;
  }

  .panel-content-shell {
    padding-top: 20px;
  }

  body.icp-refined .metric-grid,
  body.icp-refined .panel-metric-grid {
    grid-template-columns: 1fr;
  }

  body.icp-refined .panel-heading-block .h2,
  body.icp-refined h1.h2,
  body.icp-refined h1.h3,
  body.icp-refined .h2,
  body.icp-refined .h3 {
    font-size: 32px !important;
  }

  .account-page > .col-sm-3,
  .account-page > .col {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .account-greeting {
    display: block;
    width: 100%;
    margin: 8px 0 0;
  }
}
