.mmp-template{width:100%;min-height:60vh;box-sizing:border-box;font-size:16px;}
.mmp-template-login,.mmp-template-forgot-password,.mmp-template-reset-password{max-width:420px;margin:24px auto 8px}
.mmp-template-register{max-width:520px;margin:24px auto 8px}
/*.mmp-template-dashboard{max-width:900px;margin:0 auto 8px}
.mmp-dashboard,.mmp-form{max-width:900px}*/
.mmp-pricing{max-width:1180px;margin-left:auto;margin-right:auto}
.mmp-dashboard,.mmp-form,.mmp-card{background:#fff;border:1px solid #ddd;border-radius:10px;padding:12px}
.mmp-dashboard,.mmp-form{margin-left:auto;margin-right:auto}
.mmp-dashboard-top-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,0.85fr);gap:12px;align-items:stretch;margin-bottom:12px}
.mmp-account-card,.mmp-password-card{height:100%;margin-bottom:0 !important}
.mmp-password-card{display:flex;flex-direction:column}
.mmp-password-card .mmp-form{max-width:none;width:100%;margin:0;padding:0;border:0;background:transparent}
.mmp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.mmp-pricing h2{text-align:center;margin-bottom:18px !important}
.mmp-pricing-intro{width:100%;max-width:none;margin:0 auto 24px !important;text-align:center;color:#4b5563;line-height:1.6}
.mmp-pricing-grid{display:grid;grid-template-columns:repeat(2,minmax(280px,450px));gap:12px;align-items:stretch;justify-content:center}
.mmp-plan-card{display:flex;flex-direction:column;text-align:center;min-width:0;margin-bottom:0 !important}
.mmp-plan-card h3{font-size:20px;line-height:1.2;margin-bottom:8px !important}
.mmp-plan-price{display:flex;align-items:flex-end;justify-content:center;gap:4px;line-height:1.15;margin:0 0 12px !important;color:#1f2937}
.mmp-plan-price-amount{font-size:32px;font-weight:700}
.mmp-plan-price-duration{font-size:16px;font-weight:600;margin-bottom:3px}
.mmp-plan-description{min-height:58px;margin:0 0 12px !important;color:#4b5563}
.mmp-plan-features{text-align:left;margin:0 0 16px 18px;padding:0}
.mmp-plan-features li{margin-bottom:6px}
.mmp-plan-action{margin-top:auto}
.mmp-plan-cycle{text-align:left}
.mmp-plan-cycle label{display:block;font-weight:700;margin-bottom:6px}
.mmp-plan-cycle select{display:block;width:100%;max-width:100%;min-width:0;padding:10px;box-sizing:border-box;font-size:16px}
.mmp-pricing-join-form{margin:0;padding:0;border:0;background:transparent}
.mmp-pricing-join-form .mmp-button{border:0;cursor:pointer}
.mmp-button{display:inline-block;padding:9px 14px;border-radius:6px;background:#3182ce;color:#fff !important;text-decoration:none;font-size: 16px !important;font-weight:700;line-height:1.2}
.mmp-button:hover,.mmp-button:focus{background:#1756b3;color:#fff !important}
.mmp-form input,.mmp-form select,.mmp-form textarea{width:100%;padding:10px;box-sizing:border-box;font-size:16px;}
.mmp-form input[type="checkbox"]{width:auto;margin-right:6px;vertical-align:middle;}
.mmp-form label{display:inline-flex;align-items:center;gap:6px;}
.mmp-form button{padding:8px 12px;font-size:16px;font-weight:600;}
.mmp-errors{background:#fbeaea;border:1px solid #e2a8a8;padding:12px;margin:10px 0}
.mmp-errors ul{list-style:none;margin:0;padding:0}
.mmp-errors li{margin:0;padding:0}
.mmp-errors li:empty{display:none}
.mmp-success{background:#eaf8eb;border:1px solid #9fd3a5;padding:12px;margin:12px 0}
.mmp-pending-box{background:#fff8df;border:1px solid #e3cd71;padding:12px;margin:12px 0}
.mmp-manual-fields{display:none}
.mmp-restricted{background:#fafafa;border:1px dashed #ccc;padding:12px}
.mmp-template h2,.mmp-template h3,.mmp-template h4{margin-top:0 !important}
.mmp-dashboard p, .mmp-form p{margin-bottom:8px !important}
.mmp-dashboard-section{margin:12px 0 !important}
.mmp-dashboard-section>h3{margin-bottom:8px !important}
.mmp-payment-instructions{background:#f8fafc;border:1px solid #d9e2ec;padding:10px;border-radius:6px}
.mmp-payment-instructions p{margin:6px 0 0 !important}
.mmp-dashboard .mmp-template-manual-upgrade{min-height:0;margin:0;max-width:none}
.mmp-dashboard .mmp-template-manual-upgrade .mmp-form{max-width:none;margin:0;padding:0;border:0;background:transparent}
.mmp-card p:last-child,.mmp-dashboard p:last-child{margin-bottom:0 !important}
.mmp-card{margin-bottom:12px !important}
.mmp-dashboard-actions{display:flex;justify-content:flex-end;margin-top:12px !important}
.mmp-logout-button{background:#4b5563}
.mmp-logout-button:hover,.mmp-logout-button:focus{background:#374151}
.mmp-background{color: #fafafa;background-color: #3182ce;margin-bottom: 12px !important;border-radius: 5px;padding-bottom: 5px;}
hr{border:none !important;border-top:1px dashed #cbd5e0 !important;margin:16px auto !important;}
@media (max-width:1100px){.mmp-pricing-grid{grid-template-columns:repeat(2,minmax(320px,440px))}}
@media (max-width:760px){.mmp-dashboard-top-grid,.mmp-pricing-grid{grid-template-columns:1fr}}
@media (max-width:560px){.mmp-pricing-grid{grid-template-columns:1fr}.mmp-plan-description{min-height:0}}

/* Dashboard layout consistency */
.mmp-dashboard-title{font-size:24px;font-weight:700;margin:0 0 16px !important;color:#1f2937}
.mmp-section-divider{border:none !important;border-top:1px solid #e2e8f0 !important;margin:16px 0 !important}

/* Payment method cards */
.mmp-payment-methods{margin-top:16px}
.mmp-payment-method-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:12px}
.mmp-payment-method-card{border:2px solid #e2e8f0;border-radius:10px;padding:20px 16px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;transition:border-color 0.2s}
.mmp-payment-method-card:hover{border-color:#3182ce}
.mmp-payment-method-icon{font-size:32px}
.mmp-payment-method-label{font-weight:700;font-size:16px}
.mmp-payment-method-desc{color:#64748b;font-size:14px}
.mmp-payment-select-btn{margin-top:8px}

/* Modal */
.mmp-modal{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center}
.mmp-modal-overlay{position:absolute;inset:0;background:rgba(0,0,0,0.5)}
.mmp-modal-box{position:relative;background:#fff;border-radius:12px;padding:28px 24px;max-width:520px;width:90%;max-height:90vh;overflow-y:auto;z-index:1}
.mmp-modal-close{position:absolute;top:12px;right:16px;background:none;border:none;font-size:24px;cursor:pointer;color:#64748b;line-height:1}
.mmp-modal-close:hover{color:#1f2937}

/* PayPal plan selector */
.mmp-paypal-plans{display:flex;flex-direction:column;gap:10px;margin:12px 0}
.mmp-paypal-plan-option{display:flex;align-items:center;gap:10px;padding:12px;border:2px solid #e2e8f0;border-radius:8px;cursor:pointer;font-weight:normal}
.mmp-paypal-plan-option:has(input:checked){border-color:#3182ce;background:#eff6ff}

@media (max-width:560px){.mmp-payment-method-cards{grid-template-columns:1fr}}
