.fwpl-checkout {
    max-width: 520px;
}

.fwpl-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.fwpl-field input[type="email"],
.fwpl-field input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
}

.fwpl-tier-options,
.fwpl-gateway-options {
    display: flex;
    gap: 12px;
}

.fwpl-tier,
.fwpl-gateway {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.fwpl-tier.active,
.fwpl-gateway.active {
    border-color: #2e7d32;
    background-color: #f0f7ed;
}

.fwpl-tier input[type="radio"],
.fwpl-gateway input[type="radio"] {
    display: none;
}

.fwpl-tier-name {
    font-weight: 700;
    font-size: 16px;
}

.fwpl-tier-price {
    font-size: 22px;
    font-weight: 700;
    margin: 4px 0;
}

.fwpl-tier-detail {
    font-size: 13px;
    color: #666;
}

.fwpl-gateway {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 12px;
    font-weight: 600;
}

.fwpl-discount-row {
    display: flex;
    gap: 8px;
}

.fwpl-discount-row input {
    flex: 1;
}

.fwpl-apply-discount {
    padding: 10px 16px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.fwpl-apply-discount:hover {
    background: #e0e0e0;
}

.fwpl-discount-status {
    font-size: 13px;
    margin-top: 4px;
}

.fwpl-total {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 16px 0;
    border-top: 1px solid #eee;
    font-size: 18px;
}

.fwpl-total-amount {
    font-weight: 700;
    font-size: 24px;
}

.fwpl-total-period {
    color: #666;
}

.fwpl-submit {
    padding: 14px 24px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.fwpl-submit:hover {
    background: #135e96;
}

.fwpl-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.fwpl-checkout-status {
    font-size: 14px;
    margin-top: 4px;
}

.fwpl-error {
    color: #d63638;
}

.fwpl-success {
    color: #00a32a;
}

.fwpl-notice {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.fwpl-notice.fwpl-info {
    background: #f0f6fc;
    border: 1px solid #2271b1;
    color: #2271b1;
}

.fwpl-notice.fwpl-error {
    background: #fcf0f1;
    border: 1px solid #d63638;
}

.fwpl-receipt {
    margin: 16px 0;
}

.fwpl-receipt td {
    padding: 6px 12px 6px 0;
}

.fwpl-receipt code {
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 14px;
}
