/* ============================================================ */
/*  Nonprofit Membership – Public Signup Form                     */
/* ============================================================ */

.npm-signup {
    max-width: 900px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.npm-signup h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

/* Steps */
.npm-step { display: none; }
.npm-step.npm-active { display: block; }

/* Tier cards grid */
.npm-tiers-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.npm-tier-card {
    flex: 0 1 270px;
    min-width: 220px;
    max-width: 300px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: border-color .2s, box-shadow .2s, transform .2s;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
}
.npm-tier-card:hover,
.npm-tier-card.npm-selected {
    border-color: #2c5f8a;
    box-shadow: 0 4px 20px rgba(44,95,138,.15);
    transform: translateY(-2px);
}
.npm-tier-card h3 {
    margin: 0 0 10px;
    color: #2c5f8a;
    font-size: 22px;
}
.npm-tier-price {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin: 10px 0;
}
.npm-tier-price span {
    font-size: 16px;
    font-weight: 400;
    color: #888;
}
.npm-tier-desc {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
}
.npm-tier-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}
.npm-tier-benefits li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #555;
}
.npm-tier-benefits li:last-child { border-bottom: 0; }
.npm-check {
    color: #4caf50;
    font-weight: bold;
    margin-right: 8px;
}
.npm-tier-benefits small {
    display: block;
    font-size: 11px;
    color: #999;
    margin-left: 22px;
}
.npm-select-tier {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    background: #2c5f8a;
    color: #fff;
    border: 0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.npm-select-tier:hover {
    background: #1e4a6e;
}

/* Form */
#npm-signup-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}
.npm-form-row {
    display: flex;
    gap: 15px;
}
.npm-form-field {
    flex: 1;
    margin-bottom: 15px;
}
.npm-field-sm {
    flex: 0 0 100px;
}
.npm-form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444;
    font-size: 14px;
}
.npm-form-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color .2s;
}
.npm-form-field input:focus {
    border-color: #2c5f8a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(44,95,138,.1);
}

.npm-form-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}
.npm-btn-back {
    padding: 10px 20px;
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}
.npm-btn-submit {
    padding: 12px 30px;
    background: #2c5f8a;
    color: #fff;
    border: 0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.npm-btn-submit:hover { background: #1e4a6e; }
.npm-btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.npm-form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    display: none;
    font-size: 14px;
}
.npm-form-message.npm-error {
    display: block;
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #ef9a9a;
}
.npm-form-message.npm-info {
    display: block;
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #90caf9;
}

/* Success */
.npm-success {
    text-align: center;
    padding: 60px 20px;
}
.npm-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #4caf50;
    color: #fff;
    font-size: 40px;
    line-height: 80px;
    margin: 0 auto 20px;
}

/* Responsive */
@media (max-width: 640px) {
    .npm-form-row { flex-direction: column; gap: 0; }
    .npm-field-sm { flex: 1; }
    .npm-tiers-grid { flex-direction: column; align-items: center; }
    .npm-tier-card { max-width: 100%; }
}
