:root {
  --main-color: #019fd2;
  --hover-color: #0186b3;
  --background-color: #fff;
  --border-color: #ccc;
  --text-color: #333;
  --highlight-color: #019fd2;
  --ast-border-color: #ccc;
  --ast-comment-inputs-background: #fff;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --info-color: #019fd2;
}

.full-currency-converter-box {
  padding: 60px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1)
    0px 0px 0px 1px inset;
  margin-bottom: 30px;
  position: relative;
  padding-top: 50px;
}

.graph-navbar-elements {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-around;
  width: 80%;
  padding: 10px 0;
  border-radius: 5px;
}

.graph-navbar-elements a {
  color: black;
  padding: 10px;
  font-size: 16px;
}

.navbar-sub-div:hover {
  background-color: #cdcdcd;
  border-radius: 4px;
  padding: 5px;
}

.navbar-sub-div {
  display: flex;
}
.navbar-sub-div img {
  background-color: transparent;
  width: 25px;
  height: 25px;
  margin-top: 7px;
}

.currency-converter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
}
#cc-from-currency {
  margin-left: 8px;
}

select,
#cc-amount {
  width: 100%;
  border-width: 2px;
  border-style: solid;
  border-color: rgb(196, 189, 189);
  border-radius: 6px;
  box-shadow: rgba(0, 17, 51, 0.05) 0px 3px 15px;
  padding: 12px;
  color: rgb(20, 30, 55);
  background: none;
  height: 55px;
  font-size: 20px;
}
#cc-reverse {
  margin-top: 30px;
  margin-left: 10px;
  margin-right: -10px;
  background-color: transparent;
  color: #019fd2;
  font-size: 21px;
  border-radius: 70px;
  font-weight: 900;
}

label {
  font-weight: bold;
  font-size: 17px;
}

.rate-print-button button,
#graph-show-button {
  background-color: var(--main-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

#cc-print {
  background-color: white;
  color: var(--main-color);
  font-size: 16px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  border: 2px solid var(--main-color);
  transition: all 0.2s ease-in-out 0s;
}

.graph-button {
  display: flex;
  justify-content: end;
}

.rate-print-button button:hover {
  background-color: var(--hover-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.rate-showing {
  margin-top: 20px;
}

.bank-adjust {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

#cc-preview-rate {
  height: 45px;
  margin-left: 10px;
  font-family: inherit;
}

#cc-result {
  color: var(--main-color);
  font-weight: 600;
}

#cc-increased-rate {
  font-weight: 500;
  color: #000000;
}

/* Multi-Center Table Styles */
.multi-center-table-container {
  margin: 30px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.multi-center-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.multi-center-table thead {
  background: linear-gradient(135deg, #019fd2 0%, #0186b3 100%);
  color: white;
}

.multi-center-table th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.multi-center-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.multi-center-table tbody tr:hover {
  background-color: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.multi-center-table td {
  padding: 16px;
  vertical-align: middle;
}

.rank-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rank-number {
  font-weight: bold;
  font-size: 18px;
  color: #64748b;
}

.rank-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.rank-badge.best {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.center-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.center-logo {
  width: 150px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
  background: transparent;
  padding: 4px;
}

.center-name {
  font-weight: 600;
  color: #1e293b;
}

.rate-display {
  font-weight: 700;
  font-size: 16px;
  color: var(--main-color);
}

.rate-difference {
  font-weight: 600;
  font-size: 14px;
}

.rate-difference.positive {
  color: var(--success-color);
}

.rate-difference.negative {
  color: var(--danger-color);
}

/* Modern Chart Styles */
.historical-graph-section.modern-graph {
  margin-top: 40px;
  padding: 24px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.graph-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.graph-title-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.graph-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.current-rate-display {
  display: flex;
  align-items: center;
  gap: 12px;
}

.current-rate {
  font-size: 32px;
  font-weight: 800;
  color: #1e293b;
}

.rate-change {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

.rate-change.positive {
  background: #dcfce7;
  color: #166534;
}

.rate-change.negative {
  background: #fef2f2;
  color: #dc2626;
}

.graph-period-selector.modern-selector {
  display: flex;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 4px;
  gap: 2px;
}

.modern-selector .period-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modern-selector .period-btn:hover {
  background: #e2e8f0;
  color: #475569;
}

.modern-selector .period-btn.active {
  background: white;
  color: var(--main-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modern-chart-container {
  height: 400px;
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fafafa;
  position: relative;
}

/* Simple Chart Styles */
.simple-chart {
  width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e2e8f0;
}

.chart-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.chart-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.chart-grid-line {
  stroke: #e2e8f0;
  stroke-width: 1;
  opacity: 0.5;
}

.chart-line {
  fill: none;
  stroke: #10b981;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-area {
  fill: url(#chartGradient);
  opacity: 0.3;
}

.chart-point {
  fill: #10b981;
  stroke: #ffffff;
  stroke-width: 2;
  r: 4;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.chart-point:hover {
  opacity: 1;
  r: 6;
}

/* Statistics Cards */
.statistics-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: white;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
}

.stat-card.highest .stat-icon {
  background: #dcfce7;
  color: var(--success-color);
}

.stat-card.lowest .stat-icon {
  background: #fef2f2;
  color: var(--danger-color);
}

.stat-card.average .stat-icon {
  background: #dbeafe;
  color: var(--info-color);
}

.stat-card.days .stat-icon {
  background: #fef3c7;
  color: var(--warning-color);
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Rate Analysis Section - Enhanced UI */
.cc-rate-analysis {
  background: linear-gradient(135deg, #019fd2 0%, #0186b3 100%);
  border-radius: 20px;
  padding: 30px;
  margin: 30px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.cc-rate-analysis::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cc-rate-analysis h2 {
  font-size: 24px;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cc-analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 2;
}

.cc-analysis-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.cc-analysis-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cc-analysis-card h3 {
  font-size: 16px;
  margin-bottom: 15px;
  opacity: 0.9;
  font-weight: 500;
}

.cc-rate-value {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cc-change-value {
  font-size: 18px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  display: inline-block;
}

.cc-change-value.positive {
  background: rgba(16, 185, 129, 0.3);
}

.cc-change-value.negative {
  background: rgba(239, 68, 68, 0.3);
}

/* Popular Conversions - Make clickable */
.cc-popular-conversions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.cc-conversion-item {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.cc-conversion-item:hover {
  background: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--main-color);
  text-decoration: none;
  color: inherit;
}

.cc-conversion-item .amount {
  font-weight: 600;
  color: var(--main-color);
}

.cc-conversion-item .converted {
  font-weight: 500;
  color: #666;
}

@media only screen and (max-width: 600px) {
  /* Mobile Full Screen Styles */
  .cc-container,
  .full-currency-converter-box,
  .currency-table-container {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 15px;
    padding-right: 15px;
    width: calc(100vw - 0px);
    max-width: none;
  }

  .currency-converter-box {
    display: inline-block;
    align-items: center;
  }

  #cc-from-currency {
    margin-left: 0px;
  }
  #toCurrency {
    margin-left: 0px;
  }

  #cc-reverse {
    margin-top: 30px;
    background-color: transparent;
    color: var(--main-color);
    font-size: 21px;
    border-radius: 70px;
    font-weight: 900;
    border: 1px solid;
  }
  .navbar-sub-div {
    margin-left: 10px;
  }

  .graph-navbar-elements {
    width: 100%;
  }

  .navbar-sub-div img {
    margin-top: 9px;
    margin-left: -4px;
  }

  .graph-header {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .statistics-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .multi-center-table th,
  .multi-center-table td {
    padding: 12px 8px;
    font-size: 14px;
  }

  .center-logo {
    width: 130px;
    height: 40px;
  }

  .cc-analysis-grid {
    grid-template-columns: 1fr;
  }

  .cc-popular-conversions {
    grid-template-columns: 1fr;
  }

  /* Mobile specific table adjustments */
  .multi-center-table th:nth-child(2) {
    text-align: center;
  }
}

#loader,
#cc-loader {
  width: 40px;
  height: 40px;
  margin-top: 50px;
  margin-bottom: 50px;
  position: relative;
  --c: no-repeat linear-gradient(var(--main-color) 0 0);
  background: var(--c) center / 100% 10px, var(--c) center / 10px 100%;
}
#loader:before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c) 0 0, var(--c) 100% 0, var(--c) 0 100%, var(--c) 100% 100%;
  background-size: 15.5px 15.5px;
  animation: l16 1.5s infinite cubic-bezier(0.3, 1, 0, 1);
}
#cc-loader:before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c) 0 0, var(--c) 100% 0, var(--c) 0 100%, var(--c) 100% 100%;
  background-size: 15.5px 15.5px;
  animation: l16 1.5s infinite cubic-bezier(0.3, 1, 0, 1);
}
@keyframes l16 {
  33% {
    inset: -10px;
    transform: rotate(0deg);
  }
  66% {
    inset: -10px;
    transform: rotate(90deg);
  }
  100% {
    inset: 0;
    transform: rotate(90deg);
  }
}
/* Basic Reset and Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Enhanced Currency Converter Styles */
.enhanced-converter {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
  transition: all 0.3s ease;
}

.enhanced-converter:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.converter-header {
  text-align: center;
  margin-bottom: 25px;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 15px;
}

.converter-title {
  font-size: 28px;
  color: var(--main-color);
  margin-bottom: 5px;
}

.converter-date {
  font-size: 16px;
  color: #666;
}

.currency-converter-box {
  display: grid;
  grid-template-columns: 1fr 1fr auto 1fr;
  gap: 15px;
  align-items: end;
  margin-bottom: 25px;
}

.converter-input-group {
  display: flex;
  flex-direction: column;
}

.converter-input-group label {
  margin-bottom: 8px;
  font-size: 16px;
  color: #444;
}

.converter-swap-btn {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 10px;
}

#cc-reverse {
  background-color: var(--main-color);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#cc-reverse:hover {
  transform: rotate(180deg) scale(1.1);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

#cc-reverse svg {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

#cc-reverse:hover svg {
  transform: scale(1.2);
}

.enhanced-select,
#cc-amount {
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9em;
  background-color: #f9f9f9;
  transition: all 0.2s ease;
}

.enhanced-select:focus,
#cc-amount:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 0 2px rgba(1, 159, 210, 0.2);
  outline: none;
}

.bank-adjust {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 15px;
  margin-bottom: 25px;
  align-items: center;
}

.rate-print-button {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.primary-button,
.secondary-button {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-transform: none;
}

.primary-button {
  background-color: var(--main-color);
  color: white;
}

.primary-button:hover {
  background-color: var(--hover-color);
  transform: translateY(-2px);
}

.secondary-button {
  background-color: white;
  color: var(--main-color);
  border: 1px solid var(--main-color);
}

.secondary-button:hover {
  background-color: #f5f5f5;
}

.conversion-result {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--main-color);
  transition: all 0.3s ease;
}

.exchange-rate-info {
  color: #555;
  margin-bottom: 20px;
}

.details-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.enhanced-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.enhanced-table th,
.enhanced-table td {
  padding: 12px 15px;
  text-align: left;
  border: none;
}

.enhanced-table th {
  background-color: var(--main-color);
  color: white;
  font-weight: 600;
}

.enhanced-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.enhanced-table tr:hover {
  background-color: #f0f0f0;
}

.enhanced-loader {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--main-color);
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.additional-info {
  margin-top: 30px;
}

/* Historical Graph Section */
.historical-graph-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.graph-title {
  font-size: 22px;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.graph-period-selector {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.period-btn {
  padding: 8px 16px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.period-btn:hover {
  background-color: #e9e9e9;
}

.period-btn.active {
  background-color: var(--main-color);
  color: white;
  border-color: var(--main-color);
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
  .currency-converter-box {
    grid-template-columns: 1fr;
  }

  .converter-swap-btn {
    margin: 10px 0;
    align-items: center;
  }

  .bank-adjust {
    grid-template-columns: 1fr;
  }

  .rate-print-button {
    flex-direction: column;
  }

  .enhanced-table {
    font-size: 14px;
  }

  .graph-period-selector {
    flex-wrap: wrap;
  }
}

/* FAQ and Currency Info Enhancements */
.faq-section {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  margin-top: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-section h2 {
  color: var(--main-color);
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.faq-item {
  background-color: white;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
  background-color: white;
  padding: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: #f0f0f0;
}

.faq-answer {
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 15px;
  max-height: 1000px;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Skeleton Loader Styles */
.skeleton-loader {
  background-color: #f0f0f0;
  border-radius: 4px;
  margin-bottom: 10px;
  overflow: hidden;
  position: relative;
}

.skeleton-loader::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.skeleton-line {
  height: 20px;
  margin-bottom: 10px;
}

.skeleton-cell {
  height: 20px;
  background-color: #f0f0f0;
  border-radius: 4px;
}

.skeleton-row td {
  padding: 10px;
}

.skeleton-faq .skeleton-title {
  height: 30px;
  background-color: #f0f0f0;
  margin-bottom: 20px;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.skeleton-faq-item {
  height: 50px;
  background-color: #f0f0f0;
  margin-bottom: 10px;
}

.skeleton-text {
  height: 20px;
  background-color: #e0e0e0;
  width: 80%;
}

/* Hide skeleton loader when content is loaded */
.faq-section:not(.skeleton-faq) + .skeleton-faq {
  display: none;
}

.skeleton-chart {
  height: 400px;
  background-color: #f0f0f0;
  margin-top: 20px;
}

.currency-info-section {
  background-color: #f9f9f9;
  border-radius: 10px;
}

.currency-info-section h2 {
  color: var(--main-color);
}

.currency-info-list li {
  background-color: white;
}

/* Reverse Currency Rate Section */
.reverse-rate-section {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin-top: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.reverse-rate-section h2 {
  color: var(--main-color);
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.reverse-rate-main {
  flex: 1 1 100%;
  margin-bottom: 20px;
}

.reverse-rate-main h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.reverse-rate-large {
  font-size: 24px;
  font-weight: bold;
  color: var(--main-color);
}

.reverse-rate-examples {
  flex: 1 1 100%;
}

.reverse-rate-examples h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.currency-info-list {
  list-style-type: none;
  padding: 0;
}

.currency-info-list li {
  background-color: white;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 0 5px 5px 0;
}

@media (min-width: 768px) {
  .reverse-rate-main {
    flex: 0 0 30%;
  }

  .reverse-rate-examples {
    flex: 0 0 25%;
  }
}
