/* Reborne Loyalty - front office styles (fashion redesign: black/white, rounded, minimal) */
.rl-cart-block {
  margin: 1rem 0;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
}
.rl-cart-block .card-body { padding: 1rem 1.25rem; }
.rl-cart-title { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .5rem; display: flex; align-items: center; gap: .4rem; }
.rl-cart-title .material-icons { font-size: 1.2rem; }
.rl-cart-block .rl-worth { font-weight: 400; color: #666; }
.rl-cart-block .rl-hint { font-size: .9rem; margin-bottom: .5rem; }
.rl-cart-block .rl-applied { font-weight: 600; margin-bottom: .5rem; }

.rl-cart-block .rl-earn,
.rl-checkout-hint .rl-earn {
  display: flex; align-items: center; gap: .4rem;
  font-weight: 600; margin-bottom: 0;
}
.rl-cart-block .rl-earn .material-icons,
.rl-checkout-hint .material-icons { font-size: 1.2rem; color: #111; }
.rl-cart-block .rl-earn-muted { font-weight: 400; color: #666; }
.rl-cart-block .rl-login-link { margin-left: .35rem; text-decoration: underline; }
.rl-cart-block .rl-sep { margin: .75rem 0; border-top: 1px solid #eee; }
.rl-checkout-hint {
  margin: .75rem 0; padding: .7rem 1rem;
  background: #f7f7f7; border: 1px solid #e5e5e5; border-radius: 14px;
}
.rl-checkout-hint p { margin: 0; }
.rl-checkout-hint .rl-applied { margin-bottom: .3rem; }

/* Balance badge on the account dashboard tile + sidebar link */
#rl-account-link .rl-badge {
  display: inline-block;
  min-width: 1.4rem;
  padding: 0 .4rem;
  margin-left: .4rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.4rem;
  text-align: center;
}

/* === "My loyalty points" page ============================================ */
.rl-points .rl-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.rl-points .rl-summary-item {
  padding: 1.75rem 1.25rem;
  text-align: center;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
}
/* Available balance = premium black hero card */
.rl-points .rl-summary-balance {
  color: #fff;
  background: #111;
  border-color: #111;
}
.rl-points .rl-summary-balance .rl-label,
.rl-points .rl-summary-balance .rl-sub { color: rgba(255, 255, 255, .72); }
.rl-points .rl-big { display: block; font-size: 2.25rem; font-weight: 800; line-height: 1.05; }
.rl-points .rl-label { display: block; margin-top: .4rem; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #666; }
.rl-points .rl-sub { display: block; margin-top: .35rem; font-size: .8125rem; color: #666; }

.rl-points h4 {
  margin: 2rem 0 1rem;
  font-size: .9375rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Tables — hairline rows, small-caps headers, rounded clip */
.rl-points .table {
  width: 100%;
  margin-bottom: 0;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.rl-points .table thead th {
  padding: .85rem 1rem;
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #666;
  background: #f7f7f7;
  border-bottom: 1px solid #e5e5e5;
}
.rl-points .table tbody td {
  padding: .85rem 1rem;
  font-size: .8125rem;
  vertical-align: middle;
  border-bottom: 1px solid #eee;
}
.rl-points .table tbody tr:last-child td { border-bottom: 0; }
.rl-points .text-right { text-align: right; }
.rl-points .rl-history td.text-success { color: #1a7f4b; font-weight: 700; }
.rl-points .rl-history td.text-danger { color: #c40000; font-weight: 700; }
.rl-points .rl-history small { color: #666; }

.rl-points .rl-grid { max-width: 460px; }

.rl-points .rl-rules {
  margin-top: 1rem;
  padding-left: 1.1rem;
  font-size: .8125rem;
  line-height: 1.7;
  color: #666;
}
