/* Font and base */
body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: #f4f6fa;
  color: #1a237e;
  padding-bottom: 80px;
}

.container {
  padding: 20px 16px;
}

.page-title-bar {
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #eee;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.page-title-bar h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #1a237e;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
  color: #1a237e;
}

/* Topup Cards */
.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-item {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  transition: transform 0.1s ease-in-out;
}

.benefit-item:hover {
  transform: scale(1.02);
  cursor: pointer;
}

.benefit-item .icon {
  font-size: 28px;
  margin-right: 16px;
}

.benefit-item div {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.icon.purple { color: #3f51b5; }
.icon.pink { color: #e91e63; }

/* Logos */
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.logo-grid img {
  height: 42px;
  background: #ffffff;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 14px 0;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.05);
  z-index: 1000;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.bottom-nav a {
  text-decoration: none;
  color: #666;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 500;
}

.bottom-nav a.active {
  color: #1a237e;
  font-weight: 600;
}

.bottom-nav a i {
  font-size: 22px;
  margin-bottom: 4px;
}

/* Pi warning */
.pi-warning {
  background: #fff3cd;
  border: 1px solid #ffeeba;
  border-left: 5px solid #ffb300;
  padding: 16px;
  border-radius: 10px;
  color: #856404;
  margin-bottom: 20px;
}

.pi-warning h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.pi-warning p {
  margin: 0;
  font-size: 14px;
}

h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

p {
  font-size: 14px;
  margin: 0;
}
/* === Global Fintech Overrides === */

body {
  line-height: 1.6;
  font-size: 15px;
}

.container p {
  margin-bottom: 10px;
  font-size: 14.5px;
  color: #333;
  line-height: 1.5;
}

.container h2 {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin: 16px 0 10px;
  color: #1a237e;
}

.container h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 14px 0 10px;
  color: #1a237e;
}

/* Common dashboard layout */
.card, .dashboard-box {
  background: #ffffff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  margin-bottom: 20px;
}

strong {
  color: #1a237e;
  font-weight: 600;
}

a {
  color: #1a237e;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

/* Buttons */
.btn {
  padding: 6px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.btn-secondary {
  background-color: #e0e0e0;
  color: #333;
}

.btn-danger {
  background-color: #e53935;
  color: white;
}

/* Dashboard sections */
#accountInfo, #topups {
  margin-bottom: 20px;
}

hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 20px 0;
}

.benefit-item.alt {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.benefit-icon {
  font-size: 22px;
  color: #1a237e;
  flex-shrink: 0;
  padding-top: 2px;
}

.benefit-content h4 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: #1a237e;
}

.benefit-content p {
  font-size: 14px;
  color: #444;
  margin: 4px 0 0;
  line-height: 1.5;
}
