.qr-payment-container {
    margin: 15px 0;
}

.qr-payment-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.qr-payment-tab {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom: none;
    padding: 10px 15px;
    margin-right: 5px;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    color: #333;
    font-weight: 500;
    transition: all 0.2s ease;
}

.qr-payment-tab:hover {
    background: #e9e9e9;
}

.qr-payment-tab.active {
    background: #fff;
    border-bottom-color: #fff;
    position: relative;
    bottom: -1px;
    font-weight: bold;
}

.qr-payment-content {
    display: none;
    padding: 15px;
    border: 1px solid #ddd;
    border-top: none;
    margin-top: -1px;
    background: #fff;
    border-radius: 0 0 4px 4px;
}

.qr-payment-content.active {
    display: block;
}

.qr-image-container {
    text-align: center;
    margin-bottom: 15px;
}

.qr-image {
    max-width: 200px;
    max-height: 200px;
    border: 1px solid #eee;
    padding: 5px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.qr-image:hover {
    transform: scale(1.02);
}

.qr-payment-instructions {
    margin-bottom: 15px;
}

.qr-payment-amount {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
}

.qr-account-number {
    font-weight: bold;
    font-size: 1.2em;
    margin: 10px 0;
    color: #e2401c;
    padding: 8px;
    background: #f9f9f9;
    border-radius: 4px;
    display: inline-block;
}

.qr-payment-transaction-id {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.qr-payment-transaction-id label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.qr-payment-transaction-id input[type="text"] {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.qr-payment-email-instructions {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.qr-payment-email-instructions p {
    margin-bottom: 10px;
    font-size: 15px;
}

.qr-payment-email-instructions p strong {
    color: #e2401c;
    background: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    border: 1px dashed #e2401c;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
    font-weight: normal;
    padding: 8px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #eee;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 3px;
    transform: scale(1.2);
}

.checkbox-label .required {
    color: #e2401c;
    font-weight: bold;
}

#qr_transaction_id:required:invalid,
#qr_screenshot_sent:required:not(:checked) {
    border-color: #e2401c;
    box-shadow: 0 0 0 1px #e2401c;
}

#qr_transaction_id:valid:not(:placeholder-shown) {
    border-color: #7ad03a;
    background-color: #f7fff5;
}

@media (max-width: 768px) {
    .qr-payment-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .qr-payment-tab {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    
    .qr-image {
        max-width: 150px;
        max-height: 150px;
    }
}