/* ==== باکس نرخ مینیمال مطابق طرح فیگما ==== */
.mysaraf-box {
  width: 299px;
  background: #C6C6C6;
  border-radius: 16px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  font-family: "Yekan Bakh", sans-serif;
  color: #152532;
  box-sizing: border-box;
}

/* بالای باکس (تاریخ و بروزرسانی) */
.mysaraf-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 249px;
  height: 20px;
  font-size: 16px;
  font-weight: 600;
}

.mysaraf-box-header .date {
  font-weight: 600;
}

.mysaraf-box-header .status {
  font-weight: 700;
}

/* خط جداکننده */
.mysaraf-box-divider {
  width: 267px;
  border: 1px solid rgba(113, 113, 113, 0.4);
  margin: 8px 0;
}

/* بخش پایین (درصد و مبلغ) */
.mysaraf-box-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 249px;
  height: 28px;
}

/* درصد تغییر */
.rate-change {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #CDFAE0;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 16px;
  font-weight: 500;
  color: #186C3C;
}

/* فلش کوچک سبز */
.rate-change .arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 9px solid #186C3C;
}

/* بخش مبلغ */
.rate-amount {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rate-amount .currency {
  font-size: 14px;
  font-weight: 400;
}

.rate-amount .value {
  font-size: 24px;
  font-weight: 700;
}

/* حالت واکنش‌گرا */
@media (max-width: 480px) {
  .mysaraf-box {
    width: 90%;
    gap: 24px;
    padding: 20px 12px;
  }

  .mysaraf-box-header,
  .mysaraf-box-footer {
    width: 100%;
  }

  .rate-amount .value {
    font-size: 20px;
  }
}
