/* general style  */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  color: var(--color-neutral-900);
}

body,
button,
input,
textarea,
select {
  font-family: "IBM Plex Sans Arabic", sans-serif;
}

:root {
  /* font weight start  */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  /* font weight end  */

  /* font size start */
  --font-size-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem); /* 12px -> 14px */
  --font-size-sm: clamp(0.875rem, 0.8rem + 0.3vw, 1rem); /* 14px -> 16px */
  --font-size-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); /* 16px -> 18px */
  --font-size-lg: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); /* 20px -> 24px */
  --font-size-xl: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); /* 24px -> 36px */
  --font-size-xxl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  /* font size end */

  /* spacing start  */
  --space-xxs: 2px;
  --space-xs: 6px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-xxl: 32px;
  /* spacing end  */

  /* radious shape start */
  --radius-circle: 50%;
  --radius-pill: 999px;
  /* radious shape end */

  /* text color start  */
  --white-color: #fff;

  --color-neutral-100: #f9fafb;
  --color-neutral-200: #f3f4f6;
  --color-neutral-300: #ebe6e7;
  --color-neutral-400: #e5e7eb;
  --color-neutral-500: #6a7282;
  --color-neutral-700: #4a5565;
  --color-neutral-900: #101828;
  /* text color end  */

  /* colors start*/
  /* green  */
  --color-success-50: #f0fdf4;

  /* light*/
  --color-success-100: #dcfce7;
  --color-success-200: #dbfce7;
  --color-success-300: #d0fae5;

  /* medium*/
  --color-success-400: #03ca53;
  --color-success-500: #00c951;

  /* Dark*/
  --color-success-600: #00a63e;
  --color-success-700: #008236;

  /* Darkest*/
  --color-success-800: #009966;
  --color-success-900: #016630;
  /* green  */

  /* red */

  /* Light */
  --color-danger-100: #ffe2e2;

  /* Bright */
  --color-danger-400: #fb2c36;

  /* Base */
  --color-danger-500: #ef4444;

  /* Dark  */
  --color-danger-600: #e7000b;
  --color-danger-700: #c70036;

  /* Darkest */
  --color-danger-900: #9f0712;

  /* red */

  /* blue */

  /* light  */
  --color-primary-25: #fafcfe;
  --color-primary-50: #eff6ff;
  --color-primary-100: #dbeafe;
  --color-primary-200: #e0e7ff;
  --color-primary-200: #eef2ff;

  /* Base */
  --color-primary-400: #155dfc;
  --color-primary-500: #4f3f96;
  --color-primary-600: #3f3ae0;
  --color-primary-700: #3f38df;

  /* Dark  */
  --color-primary-800: #372aac;
  --color-primary-900: #193cb8;

  /* blue */

  /* yellow/orange  */

  /* Lightest */
  --color-warning-50: #fef9c2;
  --color-warning-100: #ffedd4;

  /* Base */
  --color-warning-400: #ff6900;
  --color-warning-500: #f54a00;

  /* Dark */
  --color-warning-700: #d08700;
  --color-warning-900: #9f2d00;

  /* yellow/orange  */

  /* purple  */

  /* Light  */
  --color-info-100: #f3e8ff;

  /* Base*/
  --color-info-500: #9810fa;

  /* Dark  */
  --color-info-700: #6e11b0;

  /* purple  */

  /* teal  */

  /* Light */
  --color-teal-100: #cefafe;

  /* Base */
  --color-teal-500: #0092b8;

  /* Dark */
  --color-teal-700: #005f78;

  /* teal  */

  /* pink  */

  /* Light */
  --color-pink-100: #fce7f3;

  /* Bright */
  --color-pink-400: #f6339a;

  /* Base */
  --color-pink-500: #e60076;

  /* pink  */
  /* colors end*/

  /* box shadow start */
  --shadow-sm: 0 4px 10px rgba(39, 39, 39, 0.05);
  --shadow-md: 2px 4px 5px rgba(0, 0, 0, 0.09);
  /* box shadow end */
}

.container {
  width: 95%;
  margin: 0 auto;
}

img {
  width: 100%;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

svg {
  width: 20px;
}

h1,
.page-header__title-text h2 {
  font-size: var(--font-size-xl);
}

.sidebar::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-track {
  border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #e1e3e7;
  border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--color-neutral-700);
}

/* general style  */

/* dashboard layout start  */

.dashboard-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "main-area";
}

/* dashboard layout end   */

/* main content start  */

.main-content {
  grid-area: main-area;
  padding-block: var(--space-xxl);
}

.sidebar {
  grid-area: sidebar-area;
  height: 100vh;
  overflow-y: auto;
  position: sticky;
  top: 0;
  padding: 12px;
  display: none;
}

/* page header start */

.page-header,
.page-header__title,
.page-header__actions,
.page-header__user,
.page-header__title-wrapper {
  display: flex;
}

.page-header {
  justify-content: space-between;
  padding: var(--space-xl);
  border-radius: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-neutral-300);
  margin-bottom: 24px;
  flex-direction: column;
}

.page-header__title-wrapper {
  flex-direction: column;
}

.page-header__title {
  align-items: center;
  gap: 15px;
}

.page-header__actions {
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-header__user {
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
}

.page-header__title-icon {
  width: 50px;
  height: 50px;
  color: var(--white-color);
  background: linear-gradient(
    to bottom right,
    var(--color-primary-400),
    var(--color-primary-700)
  );
  box-shadow: 0 8px 20px rgba(57, 67, 230, 0.25),
    0 4px 6px rgba(57, 67, 230, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--space-lg);
}

.page-header__title-text p {
  font-size: var(--font-size-xs);
  color: var(--color-neutral-700);
  font-weight: var(--font-weight-semibold);
}

.page-header__title-status {
  background-color: var(--color-success-50);
  border: 1px solid var(--color-success-100);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-block: 10px;
}

.page-header__actions-icons {
  display: flex;
  gap: 5px;
}

.page-header__title-status__greenDot {
  width: var(--space-sm);
  height: var(--space-sm);
  background-color: var(--color-success-500);
  border-radius: var(--radius-circle);
  animation: glow 2s infinite;
}

.page-header__title-status p {
  font-size: var(--font-size-xs);
  color: var(--color-success-700);
  font-weight: var(--font-weight-medium);
}

.page-header__actions svg {
  width: 16px;
  color: var(--color-neutral-700);
}

.page-header__notification-btn {
  position: relative;
}

.page-header__notification-btn,
.page-header__search {
  border: 1px solid var(--color-neutral-400);
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--space-md);
  transition: all 0.1s;
}

.page-header__notification-btn:hover,
.page-header__search:hover {
  background-color: var(--color-neutral-200);
}

.page-header__notification-btn__number {
  width: 16px;
  height: 16px;
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  color: var(--white-color);
  background-color: var(--color-danger-400);
  border-radius: var(--radius-circle);
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-header__user {
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-neutral-300);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--space-md);
  font-weight: var(--font-weight-semibold);
  transition: all 0.1s;
}
.page-header__user:hover {
  box-shadow: var(--shadow-md);
}

.page-header__user-name {
  font-size: 14px;
}

.page-header__user-badge-premium {
  font-size: 12px;
  color: var(--color-neutral-500);
}

.page-header__user-img {
  width: 40px;
}

.page-header__user-img img {
  border-radius: var(--space-md);
  border: 1px solid var(--color-neutral-300);
}

/* page header end  */

.stats-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: 24px;
}

.stat-card {
  background-color: var(--white-color);
  border-radius: var(--space-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  border: 1px solid var(--color-neutral-300);
}

.stat-card__title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-neutral-500);
}

.stat-card__amount {
  font-size: 30px;
  font-weight: var(--font-weight-bold);
  color: var(--color-neutral-900);
}

.stat-card__percentage {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

.stat-card__percentage--up {
  color: var(--color-success-600);
}

.stat-card__percentage--up::after {
  content: "▲";
  font-size: var(--font-size-xs);
}

.stat-card__percentage--down {
  color: var(--color-danger-500);
}

.stat-card__percentage--down::after {
  content: "▼";
  font-size: var(--font-size-xs);
}

/* account dashboard start */

.account-dashboard {
  display: grid;
  grid-template-areas:
    " recent-activities"
    "latest-transactions "
    "monthly-invoices "
    "budget-overview"
    "income-vs-expenses "
    "account-summary"
    "payment-methods";
  gap: 15px;
}

.account-dashboard svg {
  width: 13px;
}

.recent-activities {
  padding: var(--space-xl);
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--space-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: center;
  flex-direction: column;
  grid-area: recent-activities;
}

.latest-transactions {
  padding: var(--space-xl);
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--space-lg);
  box-shadow: var(--shadow-sm);
  grid-area: latest-transactions;
}

.monthly-invoices {
  padding: var(--space-xl);
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--space-lg);
  box-shadow: var(--shadow-sm);
  grid-area: monthly-invoices;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.account-summary {
  padding: var(--space-xl);
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--space-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: center;
  flex-direction: column;
  grid-area: account-summary;
}

.budget-overview {
  padding: var(--space-xl);
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--space-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: center;
  flex-direction: column;
  grid-area: budget-overview;
}

.income-vs-expenses {
  padding: var(--space-xl);
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--space-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: center;
  flex-direction: column;
  grid-area: income-vs-expenses;
}

.payment-methods {
  padding: var(--space-xl);
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--space-lg);
  box-shadow: var(--shadow-sm);
  grid-area: payment-methods;
}

.recent-activities__card {
  padding: var(--space-md);
  border-radius: var(--space-sm);
  margin-bottom: 12px;
}

.recent-activities__card-info {
  display: flex;
  gap: 10px;
}
.recent-activities__card-info__wrapper {
  display: flex;
  gap: 10px;
}

.recent-activities__card-info__content h4 {
  font-size: 14px;
  font-weight: var(--font-weight-bold);
}

.recent-activities__card-info__content p {
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-neutral-500);
}

.recent-activities__tag {
  font-size: 12px;
  font-weight: var(--font-weight-medium);
}

.recent-activities__tag--primary {
  color: var(--color-primary-400);
}

.recent-activities__tag--success {
  color: var(--color-success-600);
}

.recent-activities__timestamp {
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-neutral-700);
  margin-top: 8px;
}

.recent-activities__card-info__icon {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-circle);
}

.recent-activities__card-info__icon svg {
  width: 17px;
}

.recent-activities__card-info__icon--primary {
  background-color: var(--color-primary-100);
  color: var(--color-primary-400);
}

.recent-activities__card-info__icon--success {
  background-color: var(--color-success-200);
  color: var(--color-success-600);
}

.recent-activities__card--primary {
  background-color: var(--color-primary-50);
  border-left: 4px solid var(--color-primary-400);
}

.recent-activities__card--success {
  background-color: var(--color-success-50);
  border-left: 4px solid var(--color-success-600);
}

.recent-activities__show-more p {
  border-top: 1px solid var(--color-neutral-200);
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  text-align: center;
  color: var(--color-primary-400);
  transition: all 0.1s;
  font-weight: var(--font-weight-medium);
  font-size: 14px;
}

.recent-activities__show-more p:hover {
  color: var(--color-primary-700);
  cursor: pointer;
}

.transactions-grid__header,
.transactions-grid__row {
  border-bottom: 1px solid var(--color-neutral-200);
}

.transactions-grid__row:last-of-type {
  border-bottom: none;
}

.transactions-grid__header-cell {
  padding: var(--space-md) var(--space-sm);
}

.transactions-grid__cell {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  padding: var(--space-lg) var(--space-sm);
}

.transactions-grid__cell-person,
.transactions-grid__cell-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.transactions-grid__cell-person p:first-of-type,
.transactions-grid__cell-item p:first-of-type {
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-xs);
}

.transactions-grid__cell-person p:last-of-type,
.transactions-grid__cell-item p:last-of-type {
  font-weight: var(--font-weight-semibold);
  font-size: 12px;
  color: var(--color-neutral-500);
}

.transactions-grid__cell-person__img {
  width: 40px;
}

.transactions-grid__cell-person__img img {
  border-radius: var(--radius-circle);
}

.status-badge--success {
  color: var(--color-success-900);
  background-color: var(--color-success-200);
}

.status-badge {
  display: flex;
  align-items: center;
  column-gap: 5px;
  font-weight: var(--font-weight-medium);
  padding: var(--space-xxs) var(--space-md);
  border-radius: var(--radius-pill);
  font-size: 12px;
  width: fit-content;
}

.transactions-grid__cell-item__icon-warning,
.transactions-grid__cell-item__icon-primary,
.transactions-grid__cell-item__icon-danger,
.transactions-grid__cell-item__icon-cyan,
.transactions-grid__cell-item__icon-success {
  border-radius: var(--radius-circle);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
}

.latest-transactions {
  min-width: 0;
}

.table-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.transactions-grid {
  table-layout: fixed;
  border-collapse: collapse;
}

.transactions-grid__header-cell,
.transactions-grid__cell {
  padding: 16px 12px;
  border-bottom: 1px solid var(--color-neutral-200);
  text-align: right;
  white-space: nowrap;
}

.transactions-grid__header-cell:first-child,
.transactions-grid__cell:first-child {
  width: 235px;
}
.transactions-grid__header-cell:first-child,
.transactions-grid__cell:first-child {
  width: 235px;
}

.transactions-grid__header-cell:not(:first-child),
.transactions-grid__cell:not(:first-child) {
  width: 150px;
}

.transactions-grid__cell-item__icon-warning {
  color: var(--color-warning-500);
  background-color: var(--color-warning-100);
}

.transactions-grid__cell-item__icon-primary {
  color: var(--color-primary-400);
  background-color: var(--color-primary-100);
}

.transactions-grid__cell-item__icon-danger {
  color: var(--color-danger-600);
  background-color: var(--color-danger-100);
}

.transactions-grid__cell-item__icon-cyan {
  color: var(--color-teal-500);
  background-color: var(--color-teal-100);
}

.transactions-grid__cell-item__icon-success {
  color: var(--color-success-800);
  background-color: var(--color-success-300);
}

.status-badge--warning {
  color: var(--color-warning-900);
  background-color: var(--color-warning-100);
}

.status-badge--primary {
  color: var(--color-primary-900);
  background-color: var(--color-primary-100);
}

.status-badge--purple {
  color: var(--color-info-700);
  background-color: var(--color-info-100);
}

.status-badge--danger {
  color: var(--color-danger-900);
  background-color: var(--color-danger-100);
}

.status-badge--cyan {
  color: var(--color-teal-700);
  background-color: var(--color-teal-100);
}

.transactions-grid__cell:nth-of-type(3) {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-neutral-700);
}

.transaction-amount--positive {
  color: var(--color-success-600);
}

.account-dashboard-cards__header,
.account-dashboard-cards__icon {
  display: flex;
}

.account-dashboard-cards__header {
  justify-content: space-between;
  margin-bottom: 24px;
}

.account-dashboard-cards__header h3 {
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
}

.account-dashboard-cards__icon {
  color: var(--color-neutral-700);
  gap: 5px;
  align-items: center;
  transition: all 0.1s;
}

.account-dashboard-cards__icon:hover {
  color: var(--color-neutral-900);
  cursor: pointer;
}

.account-dashboard-cards__header p {
  font-size: 14px;
  font-weight: var(--font-weight-medium);
}

.account-dashboard-cards__header svg {
  width: 8px;
}

.monthly-invoices__summary {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.monthly-invoices__total-amount {
  font-size: 30px;
  font-weight: var(--font-weight-bold);
}

.monthly-invoices__total-label {
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-neutral-500);
}

.monthly-invoices__grid {
  display: grid;
  grid-template-areas:
    "internet electric"
    "phone netflix";
  gap: 10px;
}

.monthly-invoices__item {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  padding: var(--space-md);
  border-radius: var(--space-md);
  background-color: var(--color-neutral-100);
  gap: 3px;
}

.internet {
  grid-area: internet;
}
.electric {
  grid-area: electric;
}
.netflix {
  grid-area: netflix;
}
.phone {
  grid-area: phone;
}

.netflix svg,
.internet svg {
  width: 17px;
}

.monthly-invoices__item-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--space-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.internet .monthly-invoices__item-icon {
  background-color: var(--color-primary-100);
  color: var(--color-primary-400);
}

.electric .monthly-invoices__item-icon {
  background-color: var(--color-warning-50);
  color: var(--color-warning-700);
}

.netflix .monthly-invoices__item-icon {
  background-color: var(--color-danger-100);
  color: var(--color-danger-600);
}

.phone .monthly-invoices__item-icon {
  background-color: var(--color-success-200);
  color: var(--color-success-600);
}

.monthly-invoices__item-name {
  font-size: 12px;
  color: var(--color-neutral-500);
  font-weight: var(--font-weight-semibold);
}

.monthly-invoices__item-amount {
  font-weight: var(--font-weight-semibold);
  font-size: 16px;
}

.monthly-invoices__item-due-date {
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
}

.internet .monthly-invoices__item-due-date {
  color: var(--color-primary-400);
}

.electric .monthly-invoices__item-due-date {
  color: var(--color-warning-700);
}

.netflix .monthly-invoices__item-due-date {
  color: var(--color-danger-600);
}

.phone .monthly-invoices__item-due-date {
  color: var(--color-success-600);
}

.budget-overview__item {
  padding: var(--space-lg);
  border-radius: var(--space-md);
  border: 1px solid var(--color-neutral-300);
  margin-bottom: var(--space-lg);
  transition: all 0.2s;
}

.budget-overview__item:last-of-type {
  margin-bottom: 0;
}

.budget-overview__item--primary,
.budget-overview__item--warning,
.budget-overview__item--danger,
.budget-overview__item--pink,
.budget-overview__item--success {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.budget-overview__item:not(:first-of-type):hover {
  background-color: var(--color-neutral-100);
  box-shadow: var(--shadow-md);
}

.budget-overview__item-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.budget-overview__item-title {
  font-weight: var(--font-weight-medium);
}

.budget-overview__item:first-of-type .budget-overview__item-title {
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  color: var(--color-primary-400);
}

.budget-overview__item:first-of-type .budget-overview__item-limit {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-500);
}

.budget-overview__item-amount {
  font-weight: var(--font-weight-semibold);
}

.budget-overview__item-limit {
  font-weight: var(--font-weight-semibold);
  font-size: 12px;
  color: var(--color-neutral-500);
}

.budget-overview__item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--space-sm);
}

.budget-overview__item:nth-of-type(2) .budget-overview__item-icon {
  background-color: var(--color-warning-100);
  color: var(--color-warning-500);
}
.budget-overview__item:nth-of-type(3) .budget-overview__item-icon {
  background-color: var(--color-danger-100);
  color: var(--color-danger-400);
}
.budget-overview__item:nth-of-type(4) .budget-overview__item-icon {
  background-color: var(--color-pink-100);
  color: var(--color-pink-400);
}
.budget-overview__item:nth-of-type(5) .budget-overview__item-icon {
  background-color: var(--color-success-100);
  color: var(--color-success-500);
}

.budget-overview__item-icon svg {
  width: 16px;
}

.budget-overview__item:nth-of-type(3) .budget-overview__item-icon svg {
  width: 12.5px;
}
.budget-overview__item:last-of-type .budget-overview__item-icon svg {
  width: 18px;
}

.budget-overview__item-progress-container {
  display: flex;
  justify-content: space-between;
  color: var(--color-neutral-700);
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 4px;
}

.budget-overview__item:first-of-type {
  background-color: var(--color-primary-200);
  border: 1px solid var(--color-primary-100);
}

.budget-overview__item-status {
  display: flex;
  align-items: center;
  column-gap: 5px;
  font-weight: var(--font-weight-medium);
  padding: var(--space-xxs) var(--space-md);
  border-radius: var(--radius-pill);
  font-size: 12px;
  width: fit-content;
}

.budget-overview__item-status--warning {
  background-color: var(--color-warning-100);
  color: var(--color-warning-900);
}

.budget-overview__item-status--danger {
  background-color: var(--color-danger-100);
  color: var(--color-danger-900);
}

.budget-overview__item-status--pink {
  background-color: var(--color-pink-100);
  color: var(--color-pink-500);
}

.budget-overview__item:first-of-type .budget-overview__item-status--success {
  background-color: transparent;
  color: var(--color-success-600);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
}

.budget-overview__item-status--success {
  background-color: var(--color-success-100);
  color: var(--color-success-900);
}

.budget-overview__item-progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--color-neutral-400);
  border-radius: var(--radius-pill);
  position: relative;
}

.budget-overview__item:nth-of-type(1)
  .budget-overview__item-progress-bar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 82.5%;
  height: 8px;
  border-radius: var(--radius-pill);
  background-color: var(--color-primary-400);
}
.budget-overview__item:nth-of-type(2)
  .budget-overview__item-progress-bar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 8px;
  border-radius: var(--radius-pill);
  background-color: var(--color-warning-400);
}

.budget-overview__item:nth-of-type(3)
  .budget-overview__item-progress-bar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  background-color: var(--color-danger-400);
}
.budget-overview__item:nth-of-type(4)
  .budget-overview__item-progress-bar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 80%;
  height: 8px;
  border-radius: var(--radius-pill);
  background-color: var(--color-pink-400);
}
.budget-overview__item:nth-of-type(5)
  .budget-overview__item-progress-bar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 86%;
  height: 8px;
  border-radius: var(--radius-pill);
  background-color: var(--color-success-500);
}

.account-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-neutral-100);
  border-radius: var(--space-md);
  padding: var(--space-lg);
  margin-bottom: 16px;
}

.account-card:last-of-type {
  margin-bottom: 0;
}

.account-card__info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--space-sm);
}

.account-card__info svg {
  width: 18px;
}

.account-card--checking .account-card__icon {
  background-color: var(--color-primary-100);
  color: var(--color-primary-400);
}

.account-card--savings .account-card__icon {
  background-color: var(--color-success-200);
  color: var(--color-success-600);
}

.account-card--credit .account-card__icon {
  background-color: var(--color-info-100);
  color: var(--color-info-500);
}

.account-card__name {
  font-weight: var(--font-weight-medium);
}

.account-card__details {
  color: var(--color-neutral-500);
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
}

.account-card__balance {
  font-weight: var(--font-weight-semibold);
}

.account-card:last-of-type .account-card__balance {
  color: var(--color-danger-600);
}

.income-vs-expenses__body {
  color: var(--color-neutral-500);
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
}

.income-vs-expenses__legend-color {
  width: 16px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  transition: all 0.1s;
}

.income-vs-expenses__legend-color--income {
  height: 95px;
}

.income-vs-expenses__legend-color--expense {
  height: 45px;
}

.income-vs-expenses__legend .income-vs-expenses__legend-color:first-child {
  width: 12px;
  height: 12px;
  border-radius: var(--space-xxs);
}

.income-vs-expenses__legend {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.income-vs-expenses__legend-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

.income-vs-expenses__legend-color--expense {
  background-color: var(--color-danger-500);
}

.income-vs-expenses__legend-color--income {
  background-color: var(--color-success-500);
}
.income-vs-expenses__chart .income-vs-expenses__legend-color:hover {
  opacity: 0.8;
}

.income-vs-expenses__chart-group {
  display: flex;
  align-items: end;
  gap: 2px;
}
.income-vs-expenses__chart-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-top: 70px;
}

.income-vs-expenses__chart-label {
  margin-top: 8px;
}

.payment-methods__card-container {
  width: 100%;
  height: 227px;
  perspective: 1000px;
  color: var(--white-color);
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.card-front,
.card-back {
  width: 100%;
  height: 227px;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: 28px;
}

.card-front {
  background-color: var(--color-danger-500);
}

.card-back {
  background-color: var(--color-neutral-900);
  transform: rotateY(180deg);
}

.payment-methods__card-container:hover .card-inner {
  transform: rotateY(180deg);
}

.card-inner .payment-card--visa {
  background-color: var(--color-primary-800);
}
.card-inner .payment-card--mastercard {
  background-color: var(--color-danger-700);
}

.card-inner .payment-card--paypal {
  background-color: var(--color-primary-900);
}

.payment-card__badge svg {
  width: 33px;
}

.payment-methods__card-container:last-of-type .payment-card__badge svg {
  width: 22px;
}

.payment-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 32px;
}

.payment-card__base-primary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: absolute;
  top: -20px;
  left: -20px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
}

.payment-card__chip {
  width: 48px;
  height: 32px;
  background-color: #5f55bd;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.payment-card__chip-inner {
  background-color: #9f99d7;
  width: 24px;
  height: 16px;
  border-radius: 4px;
}

.payment-methods__card-container:not(:last-of-type) {
  margin-bottom: 16px;
}

.payment-methods__card-container:nth-of-type(2) .payment-card__chip {
  background-color: #d2335e;
}

.payment-methods__card-container:nth-of-type(2) .payment-card__chip-inner {
  background-color: #e4859e;
}

.payment-card__number {
  font-weight: var(--font-weight-semibold);
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.payment-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-card__label {
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary-100);
}

.payment-card__value {
  font-size: 14px;
  font-weight: var(--font-weight-medium);
}

.payment-card__body {
  display: flex;
  justify-content: space-between;
}

.payment-card__title {
  font-size: 18px;
  font-weight: var(--font-weight-medium);
  margin-bottom: 8px;
}

.payment-card__value--verified {
  color: #05df72;
}

.card-back__strip {
  width: 100%;
  height: 35px;
  background: linear-gradient(to left bottom, #2e2e2e, #111);
  border-radius: 3px;
  margin-bottom: 8px;
}

.card-back__signature {
  color: #ffffff7a;
  font-size: 10px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 10px;
}

.card-back-details {
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--white-color);
  display: flex;
  align-items: center;
  color: var(--color-neutral-900);
  gap: 5px;
  font-size: 14px;
  font-weight: var(--font-weight-bold);
}

.card-back-details__signature-panel {
  background: linear-gradient(to left, #dfe3e7, #e7e9eb);
  width: 100%;
  height: 12px;
}

.card-back__cvv,
.card-back__id {
  width: fit-content;
  margin-inline-start: auto;
  margin-top: 12px;
}

.card-back__label {
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  color: #d1d5dc;
}

.card-back__number {
  font-weight: var(--font-weight-bold);
  padding: var(--space-sm) var(--space-md);
  background-color: var(--white-color);
  color: var(--color-neutral-900);
  border-radius: var(--space-xs);
}

.sidebar__header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  justify-content: center;
}
.sidebar__header .page-header__title-icon {
  width: 40px;
  height: 40px;
}

.sidebar__header .page-header__title-icon svg {
  width: 16px;
}

.sidebar__header .page-header__title-text {
  display: none;
}

.main-actions__list-item,
.sidebar__nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar__nav-item {
  padding: var(--space-md) var(--space-lg);
  color: var(--color-neutral-500);
  border-radius: var(--space-md);
  transition: all 0.1s;
  margin-bottom: 8px;
}

.sidebar__nav-item:last-of-type {
  margin-bottom: 0;
}

.sidebar__nav-item:not(:first-of-type):hover {
  background-color: var(--color-neutral-100);
}

.sidebar__nav-item svg {
  width: 17px;
}

.sidebar__nav-item:nth-of-type(4) svg {
  width: 18px;
}

.sidebar__nav-item:last-of-type svg {
  width: 13px;
}

.sidebar__nav-link {
  font-size: 16px;
  color: var(--color-neutral-700);
  font-weight: var(--font-weight-semibold);
  display: none;
}

.sidebar__nav-item:first-of-type .sidebar__nav-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-primary-50);
  color: var(--color-primary-400);
  border: 1px solid var(--color-primary-100);
  border-radius: var(--space-sm);
}

.sidebar__nav-icon {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sidebar__nav-item:first-of-type .sidebar__nav-link {
  color: var(--color-primary-400);
}

.main-actions {
  margin-top: 15px;
}

.main-actions__title {
  margin-bottom: 16px;
  display: none;
}

.main-actions__list-link {
  color: #212939;
  transition: all 0.1s;
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  display: none;
}

.main-actions__list-item {
  padding: var(--space-md);
  border-radius: var(--space-lg);
  transition: all 0.1s;
  margin-bottom: 12px;
}

.main-actions__list-item:last-of-type {
  margin-bottom: 0;
}

.main-actions__list-item:hover .main-actions__list-link {
  color: var(--color-neutral-900);
}
.main-actions__list-item:hover {
  background-color: #fafafa;
  transform: translateX(3px);
}
.main-actions__list-item svg {
  width: 14px;
}
.main-actions__list-item:nth-of-type(3) svg {
  width: 12px;
}

.main-actions__list-item:nth-of-type(1) svg,
.main-actions__list-item:nth-of-type(4) svg {
  width: 16px;
}

.main-actions__list-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--space-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.1s;
}

.main-actions__list-item:nth-of-type(1) .main-actions__list-icon {
  background-color: var(--color-primary-50);
  color: var(--color-primary-400);
}

.main-actions__list-item:nth-of-type(2) .main-actions__list-icon {
  background-color: var(--color-success-100);
  color: var(--color-success-600);
}

.main-actions__list-item:nth-of-type(3) .main-actions__list-icon {
  background-color: var(--color-info-100);
  color: var(--color-info-500);
}

.main-actions__list-item:nth-of-type(4) .main-actions__list-icon {
  background-color: var(--color-warning-100);
  color: var(--color-warning-500);
}

.main-actions__list-item:nth-of-type(1):hover .main-actions__list-icon {
  background-color: var(--color-primary-100);
}

.main-actions__list-item:nth-of-type(2):hover .main-actions__list-icon {
  background-color: var(--color-success-200);
}

.main-actions__list-item:nth-of-type(3):hover .main-actions__list-icon {
  background-color: #efe0fc;
}

.main-actions__list-item:nth-of-type(4):hover .main-actions__list-icon {
  background-color: #fce5d5;
}

/* account dashboard end */

/* main content end  */

/* animation start  */

@keyframes glow {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* animation end */
