/* HC Notify – public form styles */

.prm-form-wrap {
    display: none;
    max-width: 100%;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.can-buy-1 .prm-form-wrap {
    display: block;
}

.prm-form-title {
    margin: 0 0 1.25rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #022061;
    letter-spacing: .01em;
}

/* Fields */
.prm-field {
    margin-bottom: 1rem;
}

.prm-field label {
    display: block;
    margin-bottom: .35rem;
    font-size: .9rem;
    font-weight: 600;
    color: #374151;
}

.prm-field input[type="email"],
.prm-field input[type="text"],
.prm-field input[type="number"],
.prm-field select {
    width: 100%;
    padding: .6rem .85rem;
    border: 1.5px solid #d1d5db;
    border-radius: 5px;
    font-size: .95rem;
    font-family: inherit;
    color: #111;
    background: #fafafa;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}

.prm-field input:focus,
.prm-field select:focus {
    outline: none;
    border-color: #022061;
    box-shadow: 0 0 0 3px rgba(26,26,46,.12);
    background: #fff;
}

/* Honeypot – belt & suspenders: hidden from real users */
.prm-hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Submit button */
.prm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.8rem;
    background: #022061;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: background .2s, opacity .2s;
    letter-spacing: .02em;
}

.prm-btn:hover {
    background: #2d2d50;
}

.prm-btn[disabled] {
    opacity: .55;
    cursor: wait;
}

/* Feedback message */
.prm-message {
    padding: .75rem 1rem;
    border-radius: 5px;
    font-size: .9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.prm-message--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.prm-message--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Type description */
.prm-type-desc {
    margin: .3rem 0 0;
    font-size: .82rem;
    color: #6b7280;
}

/* Privacy note */
.prm-privacy-note {
    margin: 1rem 0 0;
    font-size: .78rem;
    color: #9ca3af;
    line-height: 1.55;
}

/* ── Field validation states ─────────────────────────────────────────────── */

.prm-field-error {
    display: block;
    /*min-height: 1.2em;*/
    margin-top: .3rem;
    font-size: .82rem;
    color: #c0392b;
    font-style: italic;
}

.prm-field--invalid input,
.prm-field--invalid select,
.prm-field--invalid textarea {
    border-color: #c0392b;
    background-color: #fff8f8;
}

.prm-field--invalid input:focus,
.prm-field--invalid select:focus,
.prm-field--invalid textarea:focus {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .15);
}

.prm-field--invalid label {
    color: #c0392b;
}
