:root {
  --gold: #D4A047;
  --navy: #071425;
  --cream: #F7F3EB;
  --border: #E6D9BE;
  --text: #4E5968;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--cream);
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 16px 32px;
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.app-nav {
  display: flex;
  gap: 16px;
}

.user-menu {
  display: flex;
  gap: 12px;
  align-items: center;
}

.user-menu button {
  border: none;
  background: var(--gold);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}

.billing-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.muted {
  color: var(--text);
  opacity: 0.8;
  margin: 4px 0 0;
}

.plan-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(7, 20, 37, 0.05);
  margin-bottom: 20px;
}

.summary-actions {
  display: flex;
  gap: 12px;
}

.tt-secondary-btn {
    display: inline-block;
    background: #F6CC6D;
    padding: 11px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 12px;
    color: #071425;
    border: 2px solid #BC8A36;
    box-shadow: 0 3px 6px rgba(0,0,0,0.12);
    cursor: pointer;
}

.btn {
  border: none;
  background: var(--gold);
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--navy);
}

.billing-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff3f3;
  border: 1px solid #f2b3b3;
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.billing-alert strong {
  color: #b22222;
}

.billing-alert .update-method {
  padding: 10px 16px;
  border-radius: 12px;
  background: #013D85;
  color: #fff;
  border: none;
  font-weight: 700;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.billing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.billing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(7, 20, 37, 0.05);
}

.billing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text);
}

.billing-card button {
  margin-top: 12px;
  border: 1px solid var(--navy);
  background: transparent;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.billing-note {
  margin-bottom: 18px;
  color: var(--text);
  line-height: 1.4;
}

.limits {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(7, 20, 37, 0.05);
}

.limits table {
  width: 100%;
  border-collapse: collapse;
}

.limits th,
.limits td {
  padding: 12px;
  border-bottom: 1px solid #f1e5cd;
  text-align: left;
}

.limits tr:last-child td {
  border-bottom: none;
}

.billing-footer-note {
  margin-top: 14px;
  text-align: center;
  color: var(--text);
}
