/* ── TMC Public — Planes y cuenta del abonado ──────────── */
.tmc-subscribe-wrap,
.tmc-account-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px 40px;
  font-family: inherit;
}

/* ── Grid de planes ─────────────────────────────────────── */
.tmc-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.tmc-plan-card {
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  background: #fff;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.tmc-plan-card:hover {
  border-color: #1a1a2e;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.tmc-plan-card__name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #777;
  margin-bottom: 12px;
}
.tmc-plan-card__price {
  font-size: 40px;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1;
  margin-bottom: 6px;
}
.tmc-plan-card__currency { font-size: 22px; vertical-align: super; }
.tmc-plan-card__interval { display: block; font-size: 13px; color: #999; margin-top: 4px; }
.tmc-plan-card__desc     { font-size: 14px; color: #666; margin: 12px 0; }

.tmc-plan-card__feats {
  list-style: none;
  margin: 16px 0 24px;
  padding: 0;
  text-align: left;
}
.tmc-plan-card__feats li {
  font-size: 14px;
  color: #444;
  padding: 4px 0;
  border-bottom: 1px solid #f0f0f0;
}
.tmc-plan-card__feats li:last-child { border-bottom: none; }

.tmc-plan-card__btn {
  display: block;
  background: #1a1a2e;
  color: #fff;
  padding: 13px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background .15s;
}
.tmc-plan-card__btn:hover { background: #e94560; color: #fff; }

/* ── Registro / Login ───────────────────────────────────── */
.tmc-register-block {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px;
  max-width: 560px;
  margin: 0 auto;
}
.tmc-register-block h3 { margin: 0 0 20px; font-size: 20px; color: #1a1a2e; }
.tmc-login-link { text-align: center; margin-top: 16px; font-size: 13px; color: #777; }

.tmc-field       { margin-bottom: 16px; }
.tmc-field label { display: block; font-size: 13px; font-weight: 500; color: #444; margin-bottom: 5px; }
.tmc-field-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tmc-input {
  width: 100%; padding: 10px 13px; border: 1.5px solid #d0d7de;
  border-radius: 8px; font-size: 14px; color: #333; box-sizing: border-box;
}
.tmc-input:focus { outline: none; border-color: #1a1a2e; }
.tmc-hint { font-size: 12px; color: #888; margin: -6px 0 12px; }

.tmc-btn {
  display: inline-block; padding: 11px 24px;
  background: #1a1a2e; color: #fff;
  border: none; border-radius: 8px; cursor: pointer;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background .15s;
}
.tmc-btn:hover  { background: #e94560; color: #fff; }
.tmc-btn--outline {
  background: #fff; color: #1a1a2e;
  border: 1.5px solid #1a1a2e;
}
.tmc-btn--outline:hover { background: #1a1a2e; color: #fff; }

/* ── Alertas ────────────────────────────────────────────── */
.tmc-alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }
.tmc-alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
.tmc-alert--ok    { background: #f0fdf4; color: #166534; border: 1px solid #86efac; }

/* ── Mi cuenta ──────────────────────────────────────────── */
.tmc-account-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.tmc-account-header h2 { margin: 0; font-size: 22px; color: #1a1a2e; }
.tmc-account-logout { font-size: 13px; color: #e94560; text-decoration: none; }
.tmc-account-logout:hover { text-decoration: underline; }

.tmc-account-status {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 2px solid #e2e8f0; border-radius: 12px;
  padding: 20px 24px; margin-bottom: 20px;
}
.tmc-account-status__plan { font-size: 15px; color: #333; flex: 1; }

.tmc-badge {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
}
.tmc-badge--active    { background: #d4edda; color: #155724; }
.tmc-badge--paused    { background: #fff3cd; color: #856404; }
.tmc-badge--cancelled { background: #f8d7da; color: #721c24; }
.tmc-badge--expired   { background: #e2e3e5; color: #383d41; }
.tmc-badge--pending   { background: #cce5ff; color: #004085; }
.tmc-badge--success   { background: #d4edda; color: #155724; }
.tmc-badge--failed    { background: #f8d7da; color: #721c24; }
.tmc-badge--lg { padding: 6px 16px; font-size: 14px; }

.tmc-account-info-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; margin-bottom: 24px;
}
.tmc-account-info-item {
  background: #f8fafc; border-radius: 10px; padding: 16px;
  text-align: center;
}
.tmc-account-info-item__label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: #999; margin-bottom: 6px; }
.tmc-account-info-item__val   { display: block; font-size: 18px; font-weight: 700; color: #1a1a2e; }
.tmc-account-info-item__val--highlight { color: #e94560; }

.tmc-account-payments h3 { margin: 0 0 16px; font-size: 16px; color: #1a1a2e; }
.tmc-account-no-sub { text-align: center; padding: 48px; }

.tmc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tmc-table th { background: #f8fafc; padding: 10px 12px; text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: #666; border-bottom: 1px solid #e2e8f0; }
.tmc-table td { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; }
.tmc-empty    { text-align: center; color: #999; padding: 20px 0; }

.tmc-account-contact { margin-top: 24px; padding-top: 24px; border-top: 1px solid #e2e8f0; font-size: 14px; color: #555; }

.tmc-redirecting { text-align: center; padding: 40px; color: #777; }
.tmc-info  { background: #cce5ff; color: #004085; padding: 12px 16px; border-radius: 8px; }
.tmc-error { background: #fef2f2; color: #991b1b; padding: 12px 16px; border-radius: 8px; }

@media (max-width: 600px) {
  .tmc-field-row { grid-template-columns: 1fr; }
  .tmc-account-info-grid { grid-template-columns: 1fr; }
  .tmc-plans-grid { grid-template-columns: 1fr; }
}
