/* MS Membership – scoped component styles */

.ms-form-wrap {
    max-width: 440px;
    margin: 2rem auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
}
.ms-form-wrap h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.ms-field { margin-bottom: 1rem; }
.ms-field label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: .3rem; color: #374151; }
.ms-field input[type=text],
.ms-field input[type=email],
.ms-field input[type=password] {
    width: 100%; box-sizing: border-box;
    border: 1px solid #d1d5db; border-radius: 8px;
    padding: .5rem .75rem; font-size: .9rem;
    outline: none; transition: border-color .15s;
}
.ms-field input:focus { border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,.15); }
.ms-error { color: #dc2626; font-size: .8rem; margin-top: .25rem; }
.ms-notice { background: #eef2ff; border: 1px solid #c7d2fe; border-radius: 8px; padding: .75rem 1rem; color: #3730a3; font-size: .9rem; margin-bottom: 1rem; }
.ms-notice.error { background: #fef2f2; border-color: #fca5a5; color: #991b1b; }
.ms-btn {
    display: inline-block; background: #4f46e5; color: #fff;
    border: none; border-radius: 8px; padding: .6rem 1.5rem;
    font-size: .9rem; font-weight: 500; cursor: pointer;
    text-decoration: none; transition: background .15s;
}
.ms-btn:hover { background: #4338ca; color: #fff; }
.ms-btn-full { display: block; width: 100%; text-align: center; }

/* Pricing table */
.ms-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.ms-plan-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 1.75rem; display: flex; flex-direction: column; }
.ms-plan-card.popular { border-color: #4f46e5; box-shadow: 0 8px 24px rgba(79,70,229,.12); }
.ms-plan-card .plan-price { font-size: 2rem; font-weight: 800; margin: .75rem 0; }
.ms-plan-card .plan-features { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.ms-plan-card .plan-features li { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: #4b5563; padding: .25rem 0; }
.ms-plan-card .plan-features li::before { content: '✓'; color: #22c55e; font-weight: 700; }

/* Dashboard */
.ms-dashboard { max-width: 700px; margin: 2rem auto; }
.ms-dashboard .plan-badge { display: inline-block; background: #eef2ff; color: #4f46e5; border-radius: 9999px; padding: .25rem 1rem; font-size: .85rem; font-weight: 600; }
.ms-tx-table { width: 100%; border-collapse: collapse; font-size: .85rem; margin-top: 1rem; }
.ms-tx-table th { background: #f9fafb; padding: .5rem .75rem; text-align: left; font-weight: 600; color: #6b7280; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.ms-tx-table td { padding: .5rem .75rem; border-top: 1px solid #f3f4f6; }

.ms-restricted-preview { opacity: .6; }

/* Access notice already inline-styled in MS_Access */
