/* ============================
   CURRENCY CONVERTER
============================ */

/* Input groups with icons */
.currency-card .input-group-text {
  background: #e6f7f4;
  border: 1px solid #20c997;
  color: #20c997;
}
.currency-card .form-control,
.currency-card .form-select {
  border-left: none;
  font-weight: 500;
}

/* Convert button */
#convert {
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  background: linear-gradient(90deg, #20c997, #198754);
  border: none;
  color: #fff;
  padding: 10px;
  transition: all 0.25s ease;
}
#convert:hover {
  background: linear-gradient(90deg, #17a589, #146c43);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
#convert i {
  margin-right: 6px;
}

/* Section title */
.currency-card .section-title {
  background: linear-gradient(90deg, #20c997, #198754);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

/* Result box */
#currency-result {
  margin-top: 1rem;
  padding: 12px;
  border-radius: 8px;
  background: #f8f9fa;
  font-size: 0.95rem;
  font-weight: 500;
  color: #212529;
  min-height: 40px;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  #convert {
    width: 100%;
  }
}
/* ============================
   CURRENCY CONVERTER
============================ */

/* Title (teal theme only for title text) */
.currency-card .section-title {
  background: linear-gradient(90deg, #20c997, #198754); /* teal-green gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  font-size: 1.4rem;
}

/* Keep input-group icons default (no forced teal/blue) */
.currency-card .input-group-text {
  background: #e9ecef;
  border: 1px solid #ced4da;
  color: inherit; /* default bootstrap color */
}

/* Result box */
#currency-result {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f8f9fa;
  font-size: 0.95rem;
  font-weight: 500;
  color: #212529;
  min-height: 40px;
  display: flex;
  align-items: center;
}

/* Convert button */
#convert {
  font-weight: 600;
  border-radius: 10px;
  background: linear-gradient(90deg, #20c997, #198754);
  border: none;
  color: #fff;
  transition: all 0.25s ease;
}
#convert:hover {
  background: linear-gradient(90deg, #198754, #157347);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
#convert i {
  margin-right: 6px;
}

/* Responsive */
@media (max-width: 576px) {
  #currency-result {
    font-size: 0.9rem;
    padding: 10px;
  }
}

#history-table-container {
  max-height: 300px;
  overflow-y: auto;
}
#history-table-container table {
  font-size: 0.875rem;
}


