.wpsrod-pp-public-form-wrap {
    max-width: 880px;
    margin: 0 auto;
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}

.wpsrod-pp-public-form-wrap,
.wpsrod-pp-public-form-wrap * {
    box-sizing: border-box;
}

.wpsrod-pp-public-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
    border: 1px solid #cfddeb;
    border-radius: 12px;
    padding: 18px;
}

.wpsrod-pp-public-form--otp {
    margin-top: 12px;
    border-color: #c4d4c4;
    background: linear-gradient(180deg, #f7fcf7 0%, #edf7ed 100%);
}

.wpsrod-pp-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.wpsrod-pp-field {
    min-width: 0;
}

.wpsrod-pp-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.wpsrod-pp-field input {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid #b8c6d4;
    border-radius: 8px;
}

.wpsrod-pp-field .description {
    margin: 6px 0 0;
    color: #445566;
    font-size: 13px;
}

.wpsrod-pp-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.wpsrod-pp-button {
    align-self: flex-start;
    background: #0a4b78 !important;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
}

.wpsrod-pp-button:hover,
.wpsrod-pp-button:focus {
    background: #083a5d;
}

.wpsrod-pp-result {
    margin-top: 14px;
    border-radius: 10px;
    padding: 14px;
}

.wpsrod-pp-result--error {
    background: #fff7f7;
    border: 1px solid #e4b6b6;
}

.wpsrod-pp-result--success {
    background: #f0fbf3;
    border: 1px solid #acd4b5;
}

.wpsrod-pp-result--otp_required {
    background: #f3f8ff;
    border: 1px solid #b9cee8;
}

.wpsrod-pp-card {
    margin-top: 10px;
    background: #fff;
    border: 1px solid #dae2ea;
    border-radius: 10px;
    padding: 14px;
}

.wpsrod-pp-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.wpsrod-pp-details div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #eef2f6;
    padding-bottom: 6px;
}

.wpsrod-pp-details dt {
    font-weight: 600;
}

.wpsrod-pp-details dd {
    margin: 0;
    text-align: right;
    overflow-wrap: anywhere;
}

.wpsrod-pp-copy {
    margin-left: 8px;
    border: 1px solid #bcc9d5;
    background: #fff;
    border-radius: 6px;
    padding: 2px 8px;
    cursor: pointer;
}

@media (max-width: 760px) {
    .wpsrod-pp-grid {
        grid-template-columns: 1fr;
    }

    .wpsrod-pp-details div {
        flex-direction: column;
        align-items: flex-start;
    }

    .wpsrod-pp-details dd {
        text-align: left;
    }
}
.wpsrod-pp-copy-group {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.wpsrod-pp-copy-text {
    overflow-wrap: anywhere;
}

.wpsrod-pp-public-form-wrap .wpsrod-pp-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 4px 10px;
    border: 1px solid #2a6ca3 !important;
    border-radius: 6px;
    background: #f8fbff !important;
    color: #123f63 !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.wpsrod-pp-public-form-wrap .wpsrod-pp-copy:hover,
.wpsrod-pp-public-form-wrap .wpsrod-pp-copy:focus {
    background: #0a4b78 !important;
    border-color: #0a4b78 !important;
    color: #ffffff !important;
    outline: none;
}

.wpsrod-pp-public-form-wrap .wpsrod-pp-copy:focus-visible {
    box-shadow: 0 0 0 2px rgba(10, 75, 120, 0.24);
}
.wpsrod-pp-result-actions {
    margin-bottom: 10px;
}

.wpsrod-pp-print-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #0a4b78;
    background: #ffffff;
    color: #0a4b78;
    border-radius: 6px;
    padding: 6px 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.wpsrod-pp-print-trigger:hover,
.wpsrod-pp-print-trigger:focus {
    background: #0a4b78;
    color: #ffffff;
}

@media print {
    body * {
        visibility: hidden !important;
    }

    .wpsrod-pp-print-area,
    .wpsrod-pp-print-area * {
        visibility: visible !important;
    }

    .wpsrod-pp-print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .wpsrod-pp-card {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .wpsrod-pp-result-actions,
    .wpsrod-pp-copy {
        display: none !important;
    }
}