/**
 * 前端结账样式
 */

/* 返回页面样式 */
.pps-return-page,
.pps-cancel-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.pps-message {
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
    border-left: 4px solid;
}

.pps-message.pps-success {
    background: #d4edda;
    border-color: #46b450;
    color: #155724;
}

.pps-message.pps-error {
    background: #f8d7da;
    border-color: #dc3232;
    color: #721c24;
}

.pps-message.pps-warning {
    background: #fff3cd;
    border-color: #ffb900;
    color: #856404;
}

.pps-message.pps-info {
    background: #d1ecf1;
    border-color: #0073aa;
    color: #0c5460;
}

.pps-order-info {
    background: #f9f9f9;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.pps-order-info table {
    width: 100%;
    border-collapse: collapse;
}

.pps-order-info th {
    text-align: left;
    padding: 10px;
    font-weight: bold;
    width: 150px;
}

.pps-order-info td {
    padding: 10px;
}

.pps-order-status {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pps-order-details {
    width: 100%;
    border-collapse: collapse;
}

.pps-order-details th {
    text-align: left;
    padding: 10px;
    font-weight: bold;
    width: 150px;
}

.pps-order-details td {
    padding: 10px;
}

.pps-status-pending {
    color: #ffb900;
}

.pps-status-processing {
    color: #0073aa;
}

.pps-status-completed {
    color: #46b450;
}

.pps-status-cancelled {
    color: #dc3232;
}

.pps-status-refunded {
    color: #666;
}

.pps-checkout-form {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.pps-checkout-form p {
    margin: 15px 0;
}

.pps-checkout-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.pps-checkout-form input[type="text"],
.pps-checkout-form input[type="email"],
.pps-checkout-form input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pps-checkout-form input[type="submit"] {
    width: 100%;
    padding: 10px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.pps-checkout-form input[type="submit"]:hover {
    background: #005a87;
}

.pps-checkout-form input[type="submit"]:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#pps-checkout-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

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

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



