.wmr-form-wrap {
    max-width: 420px;
    margin: 20px auto;
    padding: 24px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fafafa;
}
.wmr-form-wrap input[type="text"],
.wmr-form-wrap input[type="email"],
.wmr-form-wrap input[type="password"],
.wmr-form-wrap input[type="number"],
.wmr-form-wrap textarea {
    width: 100%;
    padding: 10px;
    margin-top: 4px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}
.wmr-error {
    background: #fbeaea;
    color: #a00;
    padding: 8px 12px;
    border-left: 3px solid #a00;
    margin-bottom: 12px;
}
.wmr-notice {
    background: #eaf4fb;
    color: #044;
    padding: 8px 12px;
    border-left: 3px solid #0073aa;
    margin-bottom: 12px;
}
.wmr-btn {
    display: inline-block;
    background: #0073aa;
    color: #fff !important;
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    margin-top: 8px;
}
.wmr-btn:hover { background: #005f8d; }
.wmr-btn:disabled { background: #aaa; cursor: not-allowed; }
.wmr-btn-secondary { background: #666; }
.wmr-btn-secondary:hover { background: #444; }

.wmr-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.wmr-plan-card {
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background: #fff;
}
.wmr-plan-card h3 { margin-top: 0; }
.wmr-plan-option {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #ddd;
}
.wmr-price {
    display: block;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.wmr-account-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}
.wmr-account-table th, .wmr-account-table td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid #e2e2e2;
}

.wmr-restricted-notice {
    padding: 20px;
    background: #f7f7f7;
    border: 1px dashed #ccc;
    border-radius: 6px;
    text-align: center;
}

#wmr-payment-message {
    max-width: 600px;
    margin: 10px auto;
    text-align: center;
}

.wmr-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}
.wmr-badge-pro { background: #e6f7e6; color: #1a7a1a; }
.wmr-badge-free { background: #eee; color: #666; }

.wmr-coupon-wrap {
    max-width: 420px;
    margin: 16px auto;
    padding: 14px;
    background: #f7f7f7;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    text-align: center;
}
.wmr-coupon-wrap input[type="text"] {
    padding: 8px;
    margin-right: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.wmr-trial-cta {
    text-align: center;
}

/* Contact Us form: no boxed background (the page's own container is the only box),
   fields forced to stack label-above-input regardless of theme flex/table styles,
   and capped to a fixed block width so inputs never stretch past the viewport. */
.wmr-contact-form {
    max-width: 480px !important;
    width: 100% !important;
    margin: 20px auto !important;
    box-sizing: border-box !important;
    overflow: hidden;
}
.wmr-contact-form,
.wmr-contact-form * {
    box-sizing: border-box !important;
}
.wmr-contact-form form {
    display: block !important;
    width: 100% !important;
}
.wmr-contact-form p.wmr-contact-field {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0 0 18px !important;
    text-align: left !important;
}
.wmr-contact-form label {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0 0 6px !important;
    font-weight: 600;
}
.wmr-contact-form input[type="text"],
.wmr-contact-form input[type="email"],
.wmr-contact-form input[type="number"],
.wmr-contact-form input[type="file"],
.wmr-contact-form textarea {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}
.wmr-contact-form input[type="file"] {
    padding: 8px;
    background: #fff;
}
.wmr-contact-form textarea {
    resize: vertical;
}
