/* ALT Sepay Payment Styles */

.alt-sepay-payment-wrapper {
    max-width: 768px;
    margin: 0 auto;
}

.alt-sepay-payment-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.alt-sepay-form-group {
    margin-bottom: 10px;
}

.alt-sepay-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.alt-sepay-form-group .required {
    color: #e74c3c;
    font-size: 12px;
}

.alt-sepay-form-group input[type="text"],
.alt-sepay-form-group input[type="tel"],
.alt-sepay-form-group input[type="number"],
.alt-sepay-form-group input[type="email"],
.alt-sepay-form-group input[type="address"] {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.alt-sepay-form-group input:focus,
.alt-sepay-form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.alt-sepay-order-summary {
    margin: 20px 0;
}

.alt-sepay-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    line-height: 1;
}

.alt-sepay-summary-row:last-child {
    border-bottom: none;
}

.alt-sepay-total-row {
    margin-top: 10px;
    padding-top: 10px;
    font-size: 18px;
}

.alt-sepay-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s;
}

.alt-sepay-submit-btn:hover {
    background-color: #45a049;
}

.alt-sepay-submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.alt-sepay-payment-info {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.alt-sepay-payment-info h3 {
    margin-top: 0;
    color: #4CAF50;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
    text-align: center;
}

.alt-sepay-payment-details {
    margin-top: 20px;
}

.alt-sepay-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.alt-sepay-detail-row:last-child {
    border-bottom: none;
}

.alt-sepay-payment-status {
    font-weight: bold;
    color: #d99100;
}

.alt-sepay-payment-status[data-status="paid"] {
    color: #2e8b57;
}

.alt-sepay-status-note {
    margin: 10px 0 20px;
    font-size: 14px;
    color: #666;
}

.alt-sepay-status-note.paid {
    color: #2e8b57;
    font-weight: 600;
}

.alt-sepay-qr-code-wrapper {
    text-align: center;
    margin-top: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}

.alt-sepay-qr-code-wrapper img {
    max-width: 250px;
    height: auto;
    border: 1px solid #ddd;
    background: white;
}

.alt-sepay-qr-instruction {
    margin-top: 15px;
    color: #666;
    font-style: italic;
}

.alt-sepay-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.alt-sepay-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alt-sepay-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alt-sepay-receiver-info {
	margin-bottom: 10px;
}

@media (max-width: 480px) {
	.alt-sepay-qr-code-wrapper img {
		max-width: 150px;
	}
}