/**
 * HappyPlanetPay Gateway – Frontend Styles
 */

/* ── 感谢页状态区 ── */
.hpp-status-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 24px 0;
    font-size: 15px;
}
.hpp-paid {
    color: #16a34a;
    font-weight: 600;
}
.hpp-pending {
    color: #d97706;
    font-weight: 500;
}
.hpp-channel {
    color: #6b7280;
    margin-top: 8px;
    font-size: 13px;
}

/* ── 收银台页面 ── */
.hpp-cashier-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 60vh;
    padding: 40px 16px;
    background: #f3f4f6;
}
.hpp-cashier-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 40px;
    width: 100%;
    max-width: 520px;
}
.hpp-cashier-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}
.hpp-cashier-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
}
.hpp-cashier-amount {
    font-size: 28px;
    font-weight: 700;
    color: #4f46e5;
    margin: 8px 0 4px;
}
.hpp-cashier-order {
    color: #6b7280;
    font-size: 14px;
}
.hpp-instructions-default,
.hpp-instructions-custom {
    background: #eff6ff;
    border-left: 4px solid #4f46e5;
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 24px;
    color: #1e3a8a;
    font-size: 14px;
    line-height: 1.6;
}
.hpp-cashier-steps {
    margin-bottom: 28px;
}
.hpp-step {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.hpp-step-num {
    width: 28px;
    height: 28px;
    background: #4f46e5;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.hpp-step-text {
    font-size: 14px;
    color: #374151;
}
.hpp-cashier-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.hpp-btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}
.hpp-btn:hover {
    opacity: 0.88;
}
.hpp-btn-primary {
    background: #4f46e5;
    color: #ffffff;
}
.hpp-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}
.hpp-cashier-note {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    margin: 0;
}

/* ── 响应式 ── */
@media (max-width: 480px) {
    .hpp-cashier-box {
        padding: 24px 16px;
    }
    .hpp-cashier-actions {
        flex-direction: column;
    }
    .hpp-cashier-amount {
        font-size: 22px;
    }
}
