/* AutoPay — Frontend */
.tmap-fieldset { border:2px solid #e2e8f0;border-radius:10px;padding:22px 24px;margin-top:28px;transition:border-color .3s; }
.tmap-fieldset.tmap-active  { border-color:#48bb78; }
.tmap-fieldset.tmap-inactive { border-color:#fc8181; }
.tmap-legend { font-weight:700;font-size:16px;color:#2d3748;padding:0 10px; }

.tmap-status-badge { display:inline-block;padding:5px 14px;border-radius:20px;font-size:13px;font-weight:700; }
.tmap-status-badge.active   { background:#c6f6d5;color:#276749; }
.tmap-status-badge.inactive { background:#fed7d7;color:#9b2c2c; }

.tmap-toggle-label { display:flex;align-items:center;gap:12px;cursor:pointer;font-size:15px; }
.tmap-checkbox { width:20px!important;height:20px!important;min-width:20px;flex-shrink:0; }

.tmap-info-table { width:100%;border-collapse:collapse;font-size:14px; }
.tmap-info-table tr { border-bottom:1px solid #f0f0f0; }
.tmap-info-table tr:last-child { border-bottom:none; }
.tmap-label { padding:9px 0;color:#666;width:42%; }
.tmap-value { padding:9px 0;font-weight:500; }

.tmap-tz { color:#999;font-size:12px;margin-left:6px;font-weight:400; }
.tmap-expired { display:inline-block;margin-left:8px;padding:2px 8px;background:#fed7d7;color:#9b2c2c;border-radius:10px;font-size:11px;font-weight:700; }
.tmap-hint { margin-top:14px;font-size:13px;color:#888;font-style:italic; }
.tmap-notice { color:#666;background:#f7f7f7;padding:12px 16px;border-radius:6px;border-left:4px solid #0073aa;margin:0; }

.tmap-payment-section { margin-top:30px;padding-top:24px;border-top:2px solid #f0f0f0;margin-bottom: 10px; }
.tmap-pm-title { font-size:18px;font-weight:700;color:#2d3748;margin-bottom:16px; }
.tmap-pm-empty { background:#f7f7f7;padding:16px 20px;border-radius:8px;border-left:4px solid #ccc;color:#666; }
.tmap-pm-card { border:2px solid #e2e8f0;border-radius:10px;padding:20px 24px;transition:all .3s; margin-bottom: 10px;}
.tmap-pm-card.tmap-pm-active   { border-color:#48bb78;background:#f0fff4; }
.tmap-pm-card.tmap-pm-inactive { border-color:#fc8181;background:#fff5f5; }
.tmap-pm-header { display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:16px; }
.tmap-pm-header-text { flex:1;min-width:0; }
.tmap-pm-title-row { display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 4px; }
.tmap-pm-header .tmap-pm-toggle-btn { flex-shrink:0;align-self:flex-start;margin-left:auto; }
.tmap-pm-product-card { margin-bottom:18px; }
.tmap-pm-info-table { margin-top:15px; }
.tmap-empty-cell { color:#a0aec0;font-weight:500; }
.tmap-pm-desc { margin:6px 0 0;font-size:13px;color:#666; }
.tmap-pm-toggle-btn { white-space:nowrap;padding:10px 20px!important;border-radius:6px!important;font-weight:700!important;font-size:14px!important;border:none!important;cursor:pointer;transition:opacity .2s; }
.tmap-pm-toggle-btn:disabled { opacity:.6;cursor:not-allowed; }
.tmap-btn-enable  { background:#48bb78!important;color:#fff!important; }
.tmap-btn-disable { background:#fc8181!important;color:#fff!important; }
