/* Button on standard registration / login page */
.pchreg-button-wrap {
    margin: 12px 0 20px;
    text-align: center;
    --pchreg-btn-color: #d32f2f; /* overridden inline per-render */
}
.pchreg-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--pchreg-btn-color, #d32f2f);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.pchreg-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
    color: #fff;
    text-decoration: none;
    filter: brightness(0.92);
}
.pchreg-button-arrow {
    font-size: 18px;
    line-height: 1;
}

/* Registration form page */
.pchreg-container {
    max-width: 640px;
    margin: 32px auto;
    padding: 24px 28px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    --pchreg-btn-color: #d32f2f; /* overridden inline per-render */
}
.pchreg-source-note {
    border-left: 4px solid #ff9800;
    background: #fff8e1;
    color: #6d4c00;
    padding: 12px 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
}
.pchreg-source-note i.material-icons {
    color: #ff9800;
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.pchreg-form .form-group {
    margin-bottom: 16px;
}
.pchreg-form label {
    font-weight: 600;
    color: #333;
}
.pchreg-form input.form-control {
    border-radius: 6px;
}
.pchreg-form input:focus {
    border-color: var(--pchreg-btn-color, #d32f2f);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}
.pchreg-actions button {
    background: var(--pchreg-btn-color, #d32f2f);
    border: none;
    padding: 10px 28px;
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    transition: filter 0.15s ease, box-shadow 0.15s ease;
}
.pchreg-actions button:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    filter: brightness(0.92);
}

.pchreg-success h4 {
    margin: 0 0 8px;
}
.pchreg-errors {
    margin: 0;
    padding-left: 20px;
}

/* Admin customer view notice */
.pchreg-admin-notice {
    margin: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: #e3f2fd;
    border-left: 4px solid #1976d2;
    color: #0d3d70;
    border-radius: 4px;
}
.pchreg-admin-notice i.material-icons {
    color: #1976d2;
    font-size: 22px;
    flex-shrink: 0;
}
