/* stile form di recesso */

.rpw-form-wrapper {
    max-width: 640px;
    margin: 0 auto;
    padding: 16px 0;
}

.rpw-form-title {
    margin: 0 0 12px;
}

.rpw-form-intro {
    margin: 0 0 24px;
    color: #50575e;
}

.rpw-fieldset {
    border: 1px solid #dcdcde;
    padding: 16px 20px;
    margin: 0 0 20px;
}

.rpw-fieldset legend {
    padding: 0 8px;
    font-weight: 600;
}

.rpw-field {
    margin: 0 0 14px;
}

.rpw-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.rpw-field input[type="text"],
.rpw-field input[type="email"],
.rpw-field textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #8c8f94;
    border-radius: 3px;
    box-sizing: border-box;
}

.rpw-field input[type="text"]:focus,
.rpw-field input[type="email"]:focus,
.rpw-field textarea:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: 2px solid transparent;
}

.rpw-required {
    color: #d63638;
}

.rpw-help {
    display: block;
    margin-top: 4px;
    color: #50575e;
    font-size: 13px;
}

.rpw-radio {
    display: block;
    font-weight: 400;
    margin: 6px 0;
}

.rpw-radio input {
    margin-right: 8px;
}

.rpw-actions {
    margin: 24px 0 12px;
}

.rpw-button {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.rpw-button-primary {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

.rpw-button-primary:hover {
    background: #135e96;
    border-color: #135e96;
}

.rpw-note {
    color: #50575e;
    font-size: 13px;
    margin-top: 12px;
}

/* honeypot nascosto agli utenti reali ma compilabile dai bot */
.rpw-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.rpw-link-button {
    display: inline-block;
    padding: 10px 22px;
    background: #2271b1;
    color: #fff;
    border-radius: 3px;
    text-decoration: none;
}

.rpw-link-button:hover {
    background: #135e96;
    color: #fff;
}

.rpw-review-card {
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    padding: 16px 20px;
    margin: 0 0 20px;
    border-radius: 3px;
}

.rpw-review-card h3 {
    margin: 16px 0 8px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #50575e;
}

.rpw-review-card h3:first-child {
    margin-top: 0;
}

.rpw-review-card p {
    margin: 0 0 8px;
}

.rpw-checkbox {
    display: block;
    font-weight: 400;
    line-height: 1.5;
}

.rpw-checkbox input {
    margin-right: 8px;
}

.rpw-button-link {
    display: inline-block;
    padding: 10px 18px;
    margin-left: 8px;
    color: #2271b1;
    background: transparent;
    text-decoration: underline;
}

.rpw-button-link:hover {
    color: #135e96;
}

.rpw-success {
    background: #f0f6fc;
    border: 1px solid #c5d9ed;
    padding: 24px;
    border-radius: 3px;
}

.rpw-error-banner {
    background: #fcf0f1;
    border: 1px solid #f0b7b8;
    color: #8a1f11;
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 3px;
}
