*,
*::after,
*::before {
  box-sizing: border-box;
}
body {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 0.875rem;
  color: #101828;
  margin: 0;
}
html {
  direction: rtl;
}
body::-webkit-scrollbar {
  display: none;
}
a {
  text-decoration: none;
  color: inherit;
}
.layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 0px 0px;
  grid-template-areas: " main";
}
/***** common styles *****/
.layout span.logo {
  color: #fff;
  background-color: #4036dd;
  padding: 0.75rem 1.25rem;
  border-radius: 1rem;
  font-size: 1.25rem;
}
.grid-item {
  padding: 1.5rem;
  background-color: #fff;
  border: 0.0625rem solid #ebe6e7;
  border-radius: 1rem;
  box-shadow:
    0 1px 3px 0 #0000001a,
    0 1px 2px -1px #0000001a;
}
.item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.item-head h2 {
  margin-top: 0;
  font-size: 1.125rem;
  font-weight: 600;
}
.item-head .link a {
  font-weight: 500;
  color: #4a5565;
  transition: all 0.125s;
}
.item-head .link a i {
  margin-right: 0.25rem;
}
.item-head a:hover {
  color: inherit;
}

/***** End common styles *****/

/***** sidbar *****/

.layout .sidbar .nav-btn {
  display: none;
}
.layout .sidbar .nav-btn + *,
.layout .sidbar h3 {
  display: none;
}
.layout .sidbar {
  display: none;
  grid-area: sidbar;
  padding: 1.25rem 1.75rem;
  position: fixed;
  top: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  border-left: 0.0625rem solid #e5e7eb;
  box-shadow:
    0 1px 3px 0 #0000001a,
    0 1px 2px -1px #0000001a;
}
.layout .sidbar::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}
.layout .sidbar::-webkit-scrollbar {
  width: 0.375rem;
}
.layout .sidbar::-webkit-scrollbar-thumb {
  background-color: #9ca3af4d;
  border-radius: 0.625rem;
}
.layout .sidbar::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}
.layout .sidbar .sidbar-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.layout .sidbar .sidbar-head .content span {
  font-weight: 700;
  font-size: 2.25rem;
  color: #101828;
}
.layout .sidbar .sidbar-head .content p {
  font-weight: 600;
  font-size: 0.875rem;
  color: #4a5565;
  margin: 0;
}
.layout .sidbar .quick-links .link.home {
  background-color: #eff6ff;
  color: #1447e6;
  border: 0.0625rem solid #dbeafe;
}
.layout .sidbar .quick-links .link.home span {
  color: inherit;
}
.layout .sidbar .quick-links .link {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: #4a5565;
  border-radius: 0.75rem;

  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  transition: all 0.2s;
}
.layout .sidbar .quick-links .link:hover:not(.link.home) {
  background-color: #f9fafb;
}
.layout .sidbar .quick-links .link h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}
.layout .sidbar .quick-links .link span {
  font-size: 1rem;
  color: #6a7282;
}
.layout .sidbar .quick-process h3 {
  color: #364153;
  font-size: 0.875rem;
  font-weight: 600;
  margin-block: 1.25rem;
}
.layout .sidbar .quick-process .process {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
  border-radius: 0.75rem;
  padding-inline: 0.75rem;
  transition: all 0.2s;
}
.layout .sidbar .quick-process .process:hover {
  background-color: #fafafa;
  transform: translate(0.25rem);
}
.layout .sidbar .quick-process .process span {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem;
  font-size: 1rem;
  color: inherit;
  border-radius: 0.5rem;
}
.layout .sidbar .quick-process .process span.paper-plane {
  color: #155dfc;
  background-color: #dbe8fc;
}
.layout .sidbar .quick-process .process span.plus {
  color: #00a63e;
  background-color: #d4f3e1;
}
.layout .sidbar .quick-process .process span.receipt {
  color: #9810fa;
  background-color: #efe0fc;
}
.layout .sidbar .quick-process .process span.chart-line {
  color: #f54900;
  background-color: #fbe4d4;
}
.layout .sidbar .quick-process .process h4 {
  color: #111827;
  font-weight: 500;
  font-size: 0.875rem;
}
/***** End sidbar *****/

.layout .main {
  background-color: #f8f9fa;
  padding: 1.5rem;
  grid-area: main;

  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(11, auto);
  gap: 16px 24px;
  grid-template-areas:
    "header"
    "current-balance"
    "income"
    "expences"
    "recent-activities"
    "last-transactions"
    "monthly-invoice"
    "budget-overview"
    "income-expences"
    "account-summary"
    "payment-methods";
}
/***** header *****/
.layout .main .header {
  grid-area: header;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background-color: #f4f8fd;
    gap: .75rem;
    padding: 12px;

}
.layout .main .header .right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.layout .main .header .right h1 {
  font-size: 2.25rem;
  margin-block: 0;
}
.layout .main .header .right p {
  font-weight: 600;
  color: #4a5565;
  margin-block: 0;
}
.layout .main .header  .active {
  color: #008236;
  background-color: #f0fdf4;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border: 0.125rem solid #dbfce7;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  order: 2;
}
.layout .main .header  .active .stat {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  animation: active 2s infinite alternate;
}
.layout .main .header  .active span {
  font-size: 12px;
}
.layout .main .header .left {
  display: flex;
  align-items:  center;
  gap: 0.5rem;
}
.layout .main .header .left span {
  background-color: #f9fafb;
  color: #364153;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  border: 0.0625rem solid #ebe6e7;
  border-radius: 0.75rem;
  transition: all 0.2s;
  position: relative;
}
.layout .main .header .left span .count {
  position: absolute;
  background-color: #fb2c36;
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
  color: #fff;
  top: -0.25rem;
  right: -0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.layout .main .header .left span:hover {
  background-color: #f3f4f6;
}
.layout .main .header .left .account {
  background-color: #ffffff;
  border: 0.0625rem solid #ebe6e7;
  border-radius: 0.75rem;
  display: flex;
  padding: 0.25rem 0.5rem;
  gap: 0.75rem;
  box-shadow:
    0 1px 3px 0 #0000001a,
    0 1px 2px -1px #0000001a;
    margin-right: auto;
}
.layout .main .header .left .account .title  {  display: none;

}
.layout .main .header .left .account .title h2 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
}
.layout .main .header .left .account .title p {
  margin: 0;
  font-weight: 600;
  font-size: 0.75rem;
  color: #6a7282;
}
.layout .main .header .left .account .account-img {
  border: 0.125rem solid #f3f4f6;
  border-radius: 0.75rem;
  height: 2.5rem;
  width: 2.5rem;
  overflow: hidden;
}
.layout .main .header .left .account .account-img img {
  width: 100%;
  display: block;
}
@keyframes active {
  0% {
    background-color: #008236;
  }
  100% {
    background-color: #5edd90;
  }
}
/***** End header *****/

/***** current balance & income & balance *****/
.layout .main .current-balance {
  grid-area: current-balance;
}
.layout .main .income {
  grid-area: income;
}
.layout .main .expences {
  grid-area: expences;
}

.layout .main .current-balance,
.layout .main .income,
.layout .main .expences {
  padding: 2rem;
}
.layout .main .current-balance h2,
.layout .main .income h2,
.layout .main .expences h2 {
  color: #6a7282;
  font-weight: 600;
  font-size: 0.875rem;
  margin: 0;
}
.layout .main .current-balance p,
.layout .main .income p,
.layout .main .expences p {
  font-weight: 700;
  font-size: 1.5rem;
  margin-block: 0.5rem;
}
.layout .main .current-balance span,
.layout .main .income span,
.layout .main .expences span {
  font-weight: 600;
}
.layout .main .current-balance span i,
.layout .main .income span i,
.layout .main .expences span i {
  margin-left: 0.25rem;
}
.layout .main .current-balance span,
.layout .main .income span {
  color: #00a63e;
}

.layout .main .expences span {
  color: #e7000b;
}
/***** End current balance & income & balance *****/

/***** recent-activites *****/
.layout .main .recent-activities {
  grid-area: recent-activities;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.layout .main .recent-activities .activity {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.75rem;
}
.layout .main .recent-activities .activity .box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.layout .main .recent-activities .activity .icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.layout .main .recent-activities .activity.one .icon {
  color: #155dfc;
  background-color: #dbeafe;
}
.layout .main .recent-activities .activity.two .icon {
  color: #00a63e;
  background-color: #dbfce7;
}

.layout .main .recent-activities .activity.one {
  background-color: #eff6ff;
  border-left: 0.25rem solid #2b7fff;
  border-radius: 8px;
}
.layout .main .recent-activities .activity.two {
  background-color: #f0fdf4;
  border-left: 0.25rem solid #00c950;
  border-radius: 8px;
}
.layout .main .recent-activities .activity h3 {
  font-size: 0.875rem;
  margin: 0;
}
.layout .main .recent-activities .activity p {
  margin-block: 0.25rem 0.5rem;
}
.layout .main .recent-activities .activity p,
.layout .main .recent-activities .activity span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6a7282;
}
.layout .main .recent-activities .activity.one .type {
  color: #155dfc;
}

.layout .main .recent-activities .summary {
  border-top: 0.0625rem solid #f6f3f4;
  margin-top: 0.5rem;
  padding: 0.75rem;
  text-align: center;
}
.layout .main .recent-activities .summary a {
  color: #155dfc;
  font-weight: 500;
  transition: all 0.2s;
}
.layout .main .recent-activities .summary a:hover {
  color: #1447e6;
  font-weight: 500;
}
/***** End recent-activites *****/

/***** monthly invoices *****/
.layout .main .monthly-invoice {
  grid-area: monthly-invoice;
}
.layout .main .monthly-invoice .head {
  text-align: center;
  margin-bottom: 1.75rem;
}
.layout .main .monthly-invoice .head span {
  font-size: 1.875rem;
  font-weight: 700;
}
.layout .main .monthly-invoice .head h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6a7282;
  margin: 0;
}
.layout .main .monthly-invoice .invoices {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem 0;
  margin-bottom: 0.75rem;
}
.layout .main .monthly-invoice .invoices .invoice {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f9fafb;
  padding: 0.5rem;
  border-radius: 0.75rem;
  width: 48%;
}
.layout .main .monthly-invoice .invoices .invoice .icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.75rem;
}
.layout .main .monthly-invoice .invoices .invoice.one .icon {
  color: #155dfc;
  background-color: #dbeafe;
}
.layout .main .monthly-invoice .invoices .invoice.two .icon {
  color: #d08700;
  background-color: #fef9c2;
}
.layout .main .monthly-invoice .invoices .invoice.three .icon {
  color: #00a63e;
  background-color: #dbfce7;
}
.layout .main .monthly-invoice .invoices .invoice.four .icon {
  color: #ed3941;
  background-color: #ffe2e2;
}

.layout .main .monthly-invoice .invoices .invoice .type {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6a7282;
}
.layout .main .monthly-invoice .invoices .invoice .amount {
  font-size: 1rem;
  font-weight: 600;
}
.layout .main .monthly-invoice .invoices .invoice .duration {
  font-size: 0.75rem;
  font-weight: 600;
}
.layout .main .monthly-invoice .invoices .invoice.one .duration {
  color: #fb2c36;
}
.layout .main .monthly-invoice .invoices .invoice.two .duration {
  color: #f97200;
}
.layout .main .monthly-invoice .invoices .invoice.three .duration {
  color: #00c950;
}
.layout .main .monthly-invoice .invoices .invoice.four .duration {
  color: #6a7282;
}

/***** End monthly invoices *****/

/***** last transactions *****/
.layout .main .last-transactions {
  grid-area: last-transactions;
  overflow-x: auto;
}
.layout .main .last-transactions table {
  border-collapse: collapse;
  min-width: 37.5rem;
  width: 100%;
}
.layout .main .last-transactions table thead th {
  font-weight: 600;
  color: #364153;
  border-bottom: #fbf9fa 2px solid;
  text-align: right;
}
.layout .main .last-transactions table tbody td,
.layout .main .last-transactions table th {
  padding: 1rem 0.5rem;
}
.layout .main .last-transactions table tr:not(:last-child) {
  border-bottom: #fbf9fa 1px solid;
}
.layout .main .last-transactions table tbody .transaction-head {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
}
.layout
  .main
  .last-transactions
  table
  tbody
  .transaction-head
  .transaction-title
  span {
  display: block;
}
.layout
  .main
  .last-transactions
  table
  tbody
  .transaction-head
  .transaction-title
  span.name {
  font-weight: 500;
}
.layout
  .main
  .last-transactions
  table
  tbody
  .transaction-head
  .transaction-title
  span.type {
  font-weight: 600;
  font-size: 0.75rem;
  color: #6a7282;
}
.layout
  .main
  .last-transactions
  table
  tbody
  .transaction-head
  .transaction-img {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
}
.layout
  .main
  .last-transactions
  table
  tbody
  .transaction-head
  .transaction-img.utensils {
  background-color: #ffedd4;
  color: #f54900;
}
.layout
  .main
  .last-transactions
  table
  tbody
  .transaction-head
  .transaction-img.cart-shopping {
  background-color: #dbeafe;
  color: #155dfc;
}
.layout
  .main
  .last-transactions
  table
  tbody
  .transaction-head
  .transaction-img.gas-pump {
  background-color: #ffe2e2;
  color: #e7000b;
}
.layout
  .main
  .last-transactions
  table
  tbody
  .transaction-head
  .transaction-img.film {
  background-color: #e0e7ff;
  color: #4f39f6;
}
.layout
  .main
  .last-transactions
  table
  tbody
  .transaction-head
  .transaction-img.dumbbell {
  background-color: #cefafe;
  color: #0092b8;
}
.layout
  .main
  .last-transactions
  table
  tbody
  .transaction-head
  .transaction-img.graduation-cap {
  background-color: #d0fae5;
  color: #009966;
}
.layout
  .main
  .last-transactions
  table
  tbody
  .transaction-head
  .transaction-img
  img {
  width: 100%;
  display: block;
  border-radius: 50%;
}
.layout .main .last-transactions table tbody td span.transaction-type {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 2px 0.5rem;
  border-radius: 20px;
}
.layout
  .main
  .last-transactions
  table
  tbody
  td
  span.transaction-type.arrow-down,
.layout
  .main
  .last-transactions
  table
  tbody
  td
  span.transaction-type.briefcase {
  color: #016630;
  background-color: #dbfce7;
}
.layout .main .last-transactions table tbody td span.transaction-type.utensils {
  color: #9f2d00;
  background-color: #ffedd4;
}
.layout
  .main
  .last-transactions
  table
  tbody
  td
  span.transaction-type.cart-shopping {
  color: #193cb8;
  background-color: #dbeafe;
}
.layout .main .last-transactions table tbody td span.transaction-type.users {
  color: #6e11b0;
  background-color: #f3e8ff;
}
.layout .main .last-transactions table tbody td span.transaction-type.car {
  color: #9f0712;
  background-color: #ffe2e2;
}
.layout .main .last-transactions table tbody td span.transaction-type.tv {
  color: #372aac;
  background-color: #e0e7ff;
}
.layout
  .main
  .last-transactions
  table
  tbody
  td
  span.transaction-type.heart-pulse {
  color: #005f78;
  background-color: #cefafe;
}
.layout .main .last-transactions table tbody td span.transaction-type.book {
  color: #006045;
  background-color: #d0fae5;
}
.layout .main .last-transactions table tbody td span.transaction-type i {
  margin-left: 0.25rem;
}

.layout .main .last-transactions table tbody td.transaction-date {
  font-weight: 600;
  color: #4a5565;
}
.layout .main .last-transactions table tbody td span.status {
  padding: 0.25rem 0.75rem;
  border-radius: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.layout .main .last-transactions table tbody td span.status.completed {
  background-color: #dbfce7;
  color: #016630;
}
.layout .main .last-transactions table tbody td span.status.pending {
  background-color: #fef9c2;
  color: #894b00;
}
.layout .main .last-transactions table tbody td .amount {
  font-weight: 600;
}
.layout .main .last-transactions table tbody td .amount.deposit {
  color: #00a63e;
}

/***** End last transactions *****/

/***** budget-overview *****/
.layout .main .budget-overview {
  grid-area: budget-overview;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.layout .main .budget-overview .category {
  transition: all 0.2s;
  border: 0.0625rem solid #e5e7ebcc;
  padding: 1rem;
  border-radius: 0.75rem;
}
.layout .main .budget-overview .category.original {
  background-color: #eef4ff;
}
.layout .main .budget-overview .category.original .box {
  color: #4a5565;
  font-size: 0.75rem;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-top: 0.75rem;
}
.layout .main .budget-overview .category.original ~ .category:hover {
  background-color: #f5f6f8;
}
.layout .main .budget-overview .category .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.layout
  .main
  .budget-overview
  .category:not(.category.original)
  .content
  .right {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.layout .main .budget-overview .category .content .right .icon {
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}
.layout .main .budget-overview .category .content .right .icon.film {
  background-color: #ffedd4;
  color: #f54900;
}
.layout
  .main
  .budget-overview
  .category
  .content
  .right
  .icon.file-invoice-dollar {
  color: #e7000b;
  background-color: #fee2e2;
}
.layout .main .budget-overview .category .content .right .icon.heart {
  color: #e60076;
  background-color: #fce7f3;
}
.layout .main .budget-overview .category .content .right .icon.shopping-cart {
  color: #00a63e;
  background-color: #dcfce7;
}

.layout .main .budget-overview .category.original .content .right h3 {
  color: #2362fc;
  font-weight: 500;
  font-size: 0.875rem;
  margin: 0;
}
.layout .main .budget-overview .category .content .right .box h3 {
  margin: 0;
  font-weight: 500;
}
.layout .main .budget-overview .category.original .content .right .budget {
  color: #1c398e;
  font-size: 1.5rem;
  font-weight: 700;
}
.layout .main .budget-overview .category .content .right .box .budget {
  color: #6a7282;
  font-size: 0.75rem;
  font-weight: 600;
}
.layout .main .budget-overview .category .content .left .amount {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
}
.layout .main .budget-overview .category.original .content .left .amount {
  padding: 0;
}
.layout .main .budget-overview .category.original .content .left .amount {
  color: #00a63e;
}
.layout .main .budget-overview .category.original .content .left .reminder {
  color: #6a7282;
  font-weight: 600;
  font-size: 0.875rem;
}
.layout .main .budget-overview .category .content .left .reminder {
  font-size: 0.75rem;
  font-weight: 500;
  display: block;
  border-radius: 1.5rem;
  margin-top: 6px;
  justify-self: center;
  padding: 0 0.5rem;
}
.layout .main .budget-overview .category .content .left .reminder.first {
  background-color: #dcfce7;
  color: #166534;
}
.layout .main .budget-overview .category .content .left .reminder.second {
  background-color: #fee2e2;
  color: #991b1b;
}
.layout .main .budget-overview .category .content .left .reminder.third {
  background-color: #fef3c7;
  color: #92400e;
}
.layout .main .budget-overview .category .content .left .reminder.forth {
  background-color: #dcfce7;
  color: #166534;
}

.layout .main .budget-overview .category .bar {
  position: relative;
  background-color: #e5e7eb;
  width: 100%;
  height: 0.75rem;
  border-radius: 1.5rem;
  margin-top: 0.5rem;
}
.layout .main .budget-overview .category .bar .accual {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
}
.layout .main .budget-overview .category.original .bar .accual {
  width: 82.5%;
  background-color: #4f6fff;
}
.layout .main .budget-overview .category .bar .accual.first {
  width: 50%;
  background-color: #ff6900;
}

.layout .main .budget-overview .category .bar .accual.second {
  width: 100%;
  background-color: #fb2c36;
}
.layout .main .budget-overview .category .bar .accual.third {
  width: 80%;
  background-color: #f6339a;
}
.layout .main .budget-overview .category .bar .accual.forth {
  width: 86%;
  background-color: #00c950;
}

/***** End budget-overview *****/
/***** account summary *****/
.layout .main .account-summary {
  grid-area: account-summary;
}
.layout .main .account-summary .box .item {
  background-color: #f9fafb;
  padding: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.layout .main .account-summary .box .item .content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.layout .main .account-summary .box .item.first .content .logo {
  background-color: #dbeafe;
  color: #155dfc;
}
.layout .main .account-summary .box .item.second .content .logo {
  background-color: #dbfce7;
  color: #00a63e;
}
.layout .main .account-summary .box .item.third .content .logo {
  background-color: #f3e8ff;
  color: #9810fa;
}
.layout .main .account-summary .box .item .content .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem;
  border-radius: 0.5rem;
}
.layout .main .account-summary .box .item .content h3 {
  font-weight: 500;
  margin: 0;
}
.layout .main .account-summary .box .item .content p {
  margin: 0;
  font-weight: 600;
  font-size: 0.75rem;
  color: #6a7282;
}
.layout .main .account-summary .box .item .amount {
  font-size: 1rem;
  font-weight: 600;
}
.layout .main .account-summary .box .item.third .amount {
  color: #e7000b;
}

/***** End account summary *****/
/***** payment method *****/
.layout .main .payment-methods {
  grid-area: payment-methods;
}
.layout .main .payment-methods .card-container {
  perspective: 1000px;
  width: 90%;
  margin: auto;
  height: 210px;
  margin-bottom: 1.5rem;
}
.layout .main .payment-methods .card-container .card {
  position: relative;
  transition: transform 0.6s ease-in-out;
  transform-style: preserve-3d;
  width: 100%;
  height: 100%;
}
.layout .main .payment-methods .card-container:hover .card {
  transform: rotateY(180deg);
}
.layout .main .payment-methods .card-container .card .card-front,
.layout .main .payment-methods .card-container .card .card-back {
  position: absolute;
  width: 100%;
  height: 100%;

  backface-visibility: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.layout
  .main
  .payment-methods
  .card-container
  .card
  .card-front
  .card-head
  .outer {
  background-color: color-mix(in oklab, #fff 20%, transparent);
  border-radius: 0.375rem;
  width: 3rem;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.layout
  .main
  .payment-methods
  .card-container
  .card
  .card-front
  .card-head
  .inner {
  background-color: color-mix(in oklab, #fff 40%, transparent);
  border-radius: 0.25rem;
  width: 1.5rem;
  height: 1rem;
}
.layout
  .main
  .payment-methods
  .card-container
  .card
  .card-front
  .card-head
  span {
  font-size: 1.75rem;
}
.layout .main .payment-methods .card-container .card.first .card-front {
  background: #372aac;
}
.layout .main .payment-methods .card-container .card.second .card-front {
  background: #c70036;
}
.layout .main .payment-methods .card-container .card.third .card-front {
  background: #193cb8;
}
.layout .main .payment-methods .card-container .card .card-front {
  padding: 1.5rem;
  color: white;
}
.layout .main .payment-methods .card-container .card .card-front .content p {
  margin: 0;
}
.layout .main .payment-methods .card-container .card .card-front p.head {
  color: #dbeafe;
  font-size: 0.75rem;
}
.layout .main .payment-methods .card-container .card .card-front .sub-head {
  font-weight: 500;
  font-size: 0.875rem;
}
.layout
  .main
  .payment-methods
  .card-container
  .card.third
  .card-front
  .sub-head.done {
  color: #05df72;
}
.layout .main .payment-methods .card-container .card .card-front .card-number {
  margin-block: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}
.layout .main .payment-methods .card-container .card .card-front .card-head {
  margin-bottom: 1.5rem;
}
.layout .main .payment-methods .card-container .card .card-front > div {
  display: flex;
  justify-content: space-between;
}
.layout .main .payment-methods .card-container .card .card-back {
  background: linear-gradient(
    120deg,
    rgb(5, 16, 38),
    rgb(11, 18, 32) 45%,
    rgb(15, 23, 36)
  );
  padding: 0.75rem;
  transform: rotateY(180deg);
}
.layout .main .payment-methods .card-container .card .card-back p {
  color: #ffffff7a;
  margin-block: 0 0.5rem;
  font-size: 0.625rem;
}
.layout .main .payment-methods .card-container .card .card-back .white-strip {
  width: 100%;
  height: 1.5rem;
  background: linear-gradient(90deg, #f8fafc, #eef2f6);
  color: #111827;
  display: flex;
  align-items: center;
  padding-inline: 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.layout
  .main
  .payment-methods
  .card-container
  .card
  .card-back
  .white-strip
  .gray-strip {
  background: linear-gradient(90deg, #0000000f, #0000002e, #0000000f);
  border-radius: 0.125rem;
  width: 86%;
  height: 0.75rem;
}
.layout .main .payment-methods .card-container .card .card-back .black-strip {
  background: linear-gradient(90deg, #000, #111 40%, #2b2b2b);
  width: 100%;
  height: 2.5rem;
  margin-block: 1.25rem;
}
.layout .main .payment-methods .card-container .card .card-back .cvv-field {
  display: flex;
  flex-direction: column;
  align-items: end;
}
.layout
  .main
  .payment-methods
  .card-container
  .card
  .card-back
  .cvv-field
  span {
  color: #d1d5dc;
  font-size: 0.75rem;
  display: block;
  margin-block: 0.375rem;
}
.layout .main .payment-methods .card-container .card .card-back .cvv-field div {
  background-color: #fff;
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  color: #111827;
  border-radius: 0.375rem;
  font-weight: 700;
}

/***** End payment method *****/

/***** income vs expences *****/
.layout .main .income-expences {
  grid-area: income-expences;
}
.layout .main .income-expences .income-expences-header {
  display: flex;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
}
.layout .main .income-expences .income-expences-header .income:after {
  background-color: #10b981;
  content: "";
  width: 0.9375rem;
  height: 0.9375rem;
  position: absolute;
  right: 0;
  border-radius: 0.125rem;
}

.layout .main .income-expences .income-expences-header span {
  position: relative;
  padding: 0.75rem 1.5rem;
}
.layout .main .income-expences .income-expences-header .expences:after {
  background-color: #ef4444;
  content: "";
  width: 0.9375rem;
  height: 0.9375rem;
  position: absolute;
  right: 0;
  border-radius: 0.125rem;
}
.layout .main .income-expences .stats {
  display: flex;
  justify-content: space-around;
}
.layout .main .income-expences .stats .stat .box {
  display: flex;
  height: 10rem;
  align-items: end;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  justify-self: center;
}
.layout .main .income-expences .stats .stat .box > div {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  width: 1rem;
  transition: all 0.2s;
}
.layout .main .income-expences .stats .stat .box .red {
  background-color: #ef4444;
  height: 3.125rem;
}
.layout .main .income-expences .stats .stat .box .green {
  background-color: #10b981;
  height: 7rem;
}
.layout .main .income-expences .stats .stat .box .red:hover {
  background-color: #f26969;
}
.layout .main .income-expences .stats .stat .box .green:hover {
  background-color: #40c79a;
}
.layout .main .income-expences .stats .stat span {
  display: block;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
}
/***** End income vs expences *****/
