.foreign-exchange {
    background-color: #f1f6fa;
  }
  .foreign-exchange__box.hide {
    display: none;
  }
  .foreign-exchange__box.open {
    animation: fadeIn 0.3s ease-in-out;
    display: block;
  }
  .foreign-exchange__header {
    background-color: var(--theme-color);
    padding: 15px 15px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
  }
  @media (max-width: 375px) {
    .foreign-exchange__header {
      padding: 10px 10px;
    }
  }
  .foreign-exchange__header h4 {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0;
  }
  @media (max-width: 575px) {
    .foreign-exchange__header h4 {
      font-size: 16px;
    }
  }
  @media (max-width: 375px) {
    .foreign-exchange__header h4 {
      font-size: 14px;
    }
  }
  .foreign-exchange__header p {
    margin-bottom: 0;
    font-size: 14px;
    color: #dddddd;
  }
  @media (max-width: 575px) {
    .foreign-exchange__header p {
      font-size: 12px;
    }
  }
  .foreign-exchange__main {
    background-color: #f1f6fa;
  }
  .foreign-exchange .country {
    display: flex;
    gap: 10px;
    align-items: center;
  }
  .foreign-exchange .country__flag {
    width: 35px;
    height: auto;
    border: 2px solid #fff;
  }
  .foreign-exchange .country__flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  @media (max-width: 575px) {
    .foreign-exchange .country__flag {
      width: 30px;
    }
  }
  .foreign-exchange .country__name {
    flex: 1;
  }
  .foreign-exchange .country h6 {
    margin-bottom: 0;
    font-size: 15px;
    color: #444;
    white-space: nowrap;
  }
  @media (max-width: 575px) {
    .foreign-exchange .country h6 {
      font-size: 14px;
    }
  }
  @media (max-width: 375px) {
    .foreign-exchange .country h6 {
      font-size: 13px;
    }
  }
  .foreign-exchange .country h6 span {
    font-size: 15px;
    color: #444;
  }
  @media (max-width: 575px) {
    .foreign-exchange .country h6 span {
      font-size: 14px;
    }
  }
  @media (max-width: 375px) {
    .foreign-exchange .country h6 span {
      font-size: 12px;
    }
  }
  .foreign-exchange .table {
    margin-bottom: 0;
  }
  @media (max-width: 375px) {
    .foreign-exchange .table td,
  .foreign-exchange .table th {
      padding: 0.25rem;
    }
  }
  .foreign-exchange .table thead th {
    color: var(--theme-color);
  }
  @media (max-width: 575px) {
    .foreign-exchange .table thead th {
      font-size: 14px;
    }
  }
  @media (max-width: 375px) {
    .foreign-exchange .table tbody td {
      font-size: 12px;
      padding-top: 12px;
    }
  }
  .foreign-exchange .table a.foreignHistory-btn {
    font-size: 22px !important;
    color: var(--theme-color) !important;
    opacity: 0.8;
    transition: all 0.2s ease-in-out;
  }
  @media (max-width: 575px) {
    .foreign-exchange .table a.foreignHistory-btn {
      font-size: 20px !important;
    }
  }
  .foreign-exchange .table a.foreignHistory-btn:hover {
    opacity: 1;
  }
  .foreign-exchange__footer {
    margin-bottom: 0;
    font-size: 12px;
    color: var(--theme-color);
    font-weight: 400;
    padding: 15px 15px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top: 1px solid #dddddd;
  }
  @media (max-width: 575px) {
    .foreign-exchange__footer {
      font-size: 10px;
    }
  }
  @media (max-width: 375px) {
    .foreign-exchange__footer {
      padding: 15px 10px;
    }
  }
  .foreign-exchange-history {
    display: none;
    flex-direction: column;
  }
  .foreign-exchange-history.hide {
    display: none;
  }
  .foreign-exchange-history.open {
    animation: fadeIn 0.3s ease-in-out;
    display: flex;
  }
  .foreign-exchange-history__main {
    flex: 1;
    background-color: #f1f6fa;
    padding: 15px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  @media (max-width: 375px) {
    .foreign-exchange-history__main {
      padding: 10px 10px;
    }
  }
  .foreign-exchange-history a.history-back {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #fff;
  }
  .foreign-exchange-history a.history-back svg,
  .foreign-exchange-history a.history-back i {
    font-size: 22px;
  }
  @media (max-width: 575px) {
    .foreign-exchange-history a.history-back svg,
  .foreign-exchange-history a.history-back i {
      font-size: 20px;
    }
  }
  .foreign-exchange-history__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 5px;
  }
  .foreign-exchange-history__title h5 {
    font-size: 15px;
    font-weight: 600;
    color: #444;
    margin-bottom: 0;
    display: flex;
    gap: 5px;
    align-items: center;
  }
  .foreign-exchange-history__title h5 span {
    display: flex;
    width: 32px;
    height: auto;
    border: 2px solid #ffffff;
  }
  @media (max-width: 575px) {
    .foreign-exchange-history__title h5 span {
      width: 25px;
    }
  }
  .foreign-exchange-history__title h5 span img {
    width: 100%;
    height: 100%;
  }
  .foreign-exchange-history__title .more-info {
    display: flex;
    gap: 10px;
    align-items: center;
  }
  .foreign-exchange-history__title .more-info-box {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .foreign-exchange-history__title .more-info-box h6 {
    font-weight: 500;
    color: #444;
  }
  .foreign-exchange-history__title .more-info-box span {
    color: #959595;
  }
  .foreign-exchange-history__title .more-info-box h6,
  .foreign-exchange-history__title .more-info-box span {
    margin-bottom: 0;
    font-size: 14px;
  }
  @media (max-width: 575px) {
    .foreign-exchange-history__title .more-info-box h6,
  .foreign-exchange-history__title .more-info-box span {
      font-size: 13px;
    }
  }
  .foreign-exchange-history__lineChart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  @keyframes fadeIn {
    0% {
      opacity: 0;
      visibility: hidden;
    }
    100% {
      opacity: 1;
      visibility: visible;
    }
  }
  

.foreign-exchange,
.foreign-exchange h4,
.foreign-exchange h6,
.foreign-exchange-history__title h5 {
    font-family: var(--widget-font) !important;
}