.client-dashboard-page {
  background: #f1efe3;
  color: #303126;
}

.client-navbar {
  min-height: 72px;
  background: #faf8ef;
  border-bottom: 1px solid #e3dfcf;
}

.client-navbar .nav-link {
  color: #77778f;
  font-size: .9rem;
  font-weight: 600;
}

.client-navbar .nav-link:hover, .client-navbar .nav-link.active {
  color: #68704f;
}

.client-account-link {
  color: #68704f !important;
}

.client-main {
  min-height: calc(100vh - 130px);
  padding: 3rem 0 4rem;
}

.client-welcome {
  align-items: end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.client-eyebrow {
  color: #68704f;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  margin-bottom: .65rem;
}

.client-welcome h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.04em;
  margin-bottom: .6rem;
}

.client-lead, .client-panel-header p, .client-support-card p {
  color: #777867;
  margin-bottom: 0;
}

.client-stat-card {
  align-items: center;
  background: #faf8ef;
  border: 1px solid #e3dfcf;
  border-radius: 14px;
  display: flex;
  gap: 1rem;
  min-height: 110px;
  padding: 1.25rem;
}

.client-stat-icon, .client-support-icon {
  align-items: center;
  background: #e6e6d4;
  border-radius: 11px;
  color: #68704f;
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.client-stat-icon-warning {
  background: #f4ead6;
  color: #a17842;
}

.client-stat-icon-success {
  background: #e7eee3;
  color: #658157;
}

.client-stat-label {
  color: #777867;
  font-size: .82rem;
  margin-bottom: .25rem;
}

.client-stat-card strong {
  font-size: 1.45rem;
  letter-spacing: -.03em;
}

.client-panel {
  background: #faf8ef;
  border: 1px solid #e3dfcf;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(39, 38, 74, .035);
  overflow: hidden;
}

.client-panel-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1.15rem;
}

.client-panel-header h2 {
  font-size: 1.25rem;
  margin-bottom: .35rem;
}

.client-invoice-tabs {
  border-bottom: 1px solid #e3dfcf;
  padding: 0 1.5rem;
}

.client-invoice-tabs .nav-link {
  border: 0;
  color: #777867;
  font-size: .88rem;
  font-weight: 600;
  padding: .9rem 1rem;
}

.client-invoice-tabs .nav-link:first-child {
  padding-left: 0;
}

.client-invoice-tabs .nav-link.active, .client-invoice-tabs .nav-link:hover {
  background: transparent;
  color: #68704f;
}

.client-invoice-tabs .nav-link.active {
  border-bottom: 2px solid #68704f;
}

.client-invoice-tabs .nav-link span {
  background: #e6e6d4;
  border-radius: 999px;
  font-size: .7rem;
  margin-left: .35rem;
  padding: .18rem .45rem;
}

.client-invoice-table {
  margin-bottom: 0;
}

.client-invoice-table th {
  background: #f6f4e9;
  border-bottom: 1px solid #e3dfcf;
  color: #777867;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 1rem 1.5rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.client-invoice-table td {
  border-color: #eeeadd;
  color: #55564a;
  padding: 1rem 1.5rem;
  white-space: nowrap;
}

.client-invoice-table td:first-child strong, .client-invoice-table td:first-child small {
  display: block;
}

.client-invoice-table td:first-child strong {
  color: #303126;
}

.client-invoice-table td:first-child small {
  color: #999887;
  font-size: .75rem;
  margin-top: .2rem;
}

.invoice-status {
  border-radius: 999px;
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: .35rem .65rem;
}

.invoice-status-paid {
  background: #e7eee3;
  color: #658157;
}

.invoice-status-due {
  background: #f4ead6;
  color: #a17842;
}

.client-table-action {
  color: #68704f;
  padding: .3rem .45rem;
}

.client-table-action:hover {
  background: #e6e6d4;
  color: #51583d;
}

.empty-invoice-state {
  color: #777867;
  padding: 4rem 1rem;
  text-align: center;
}

.empty-invoice-state i {
  color: #68704f;
  font-size: 2rem;
}

.empty-invoice-state h3 {
  color: #303126;
  font-size: 1.1rem;
  margin: 1rem 0 .4rem;
}

.client-support-card {
  align-items: center;
  background: #e6e6d4;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
}

.client-support-card > div {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.client-support-card h2 {
  font-size: 1rem;
  margin-bottom: .3rem;
}

.client-footer {
  background: #faf8ef;
  border-top: 1px solid #e3dfcf;
  color: #777867;
  font-size: .8rem;
  padding: 1.25rem 0;
}

.client-footer .container-fluid {
  display: flex;
  justify-content: space-between;
}

.client-footer a {
  color: #68704f;
  text-decoration: none;
}

@media (max-width: 767px) {
  .client-main {
    padding-top: 2rem;
  }
}

@media (max-width: 767px) {
  .client-welcome, .client-support-card, .client-support-card > div {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .client-welcome .btn, .client-support-card .btn {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .client-panel-header {
    align-items: flex-start;
    gap: 1rem;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .client-invoice-tabs {
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .client-footer .container-fluid {
    flex-direction: column;
    gap: .4rem;
  }
}

