/**
 * PPCP Advanced Cards — seller onboarding admin styles.
 * Ported from the reference PayPal Checkout plugin.
 */

.button.wpg-ppcp-disconnect {
    margin-top: 20px;
}

.wpg_ppcp_paypal_connection {
    padding: 12px 16px;
    border-radius: 6px;
    max-width: 550px;
    box-shadow: 0 0 0 1px #e1e1e1;
    margin-bottom: 16px;
}

@media screen and (max-width: 600px) {
    .wpg_ppcp_paypal_connection {
        font-size: 14px;
        padding: 10px;
    }
}

.wpg_ppcp_paypal_connection_status h3 {
    font-size: 16px;
    color: #46b450;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 4px;
}

.wpg_ppcp_paypal_connection_status p {
    margin: 0;
    color: #444;
    font-size: 13px;
}

.wpg-paypal-onboard-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 248px;
}

.wpg-paypal-connect-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.wpg-paypal-connect-button {
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    vertical-align: middle;
}

.wpg-paypal-recommend {
    font-size: 11px;
    color: #2f7d32;
    font-weight: 600;
    background: #e6f4ea;
    padding: 6px 6px;
    border-radius: 4px;
}

.wpg-paypal-separator {
    font-size: 13px;
    text-align: center;
    margin-top: 5px;
    color: #827a7a;
    align-self: center;
}

.wpg-paypal-separator span {
    color: #eeeded;
}

.wpg_paypal_checkout_gateway_manual_credential_input {
    font-size: 13px;
    text-decoration: underline;
    color: #0073aa;
    vertical-align: middle;
    align-self: center;
    cursor: pointer;
}

.wpg_paypal_checkout_gateway_manual_credential_input:hover {
    color: #005177;
}

.nexa-spinner-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nexa-loader {
    width: 20px;
    height: 20px;
    border: 3px solid #ccc;
    border-top: 3px solid #007cba;
    border-radius: 50%;
    animation: ppcp-onboard-spin 1s linear infinite;
}

@keyframes ppcp-onboard-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
