.thailand-promptpay-qr {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f8f8f8;
}

.thailand-promptpay-qr img {
    max-width: 200px !important;
    height: auto;
    margin: 0 auto;
    display: block;
}

#promptpay-qr-container,
[id^="promptpay-qr-container-"] {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 256px;
}

#promptpay-qr-container canvas,
[id^="promptpay-qr-container-"] canvas {
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
}

#promptpay-qr-container > div,
[id^="promptpay-qr-container-"] > div {
    margin: 0 auto;
}

.thailand-promptpay-instructions {
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border-left: 4px solid #2196F3;
}

.thailand-promptpay-amount {
    font-size: 1.2em;
    font-weight: bold;
    margin: 10px 0;
}

.thailand-promptpay-id {
    font-family: monospace;
    background: #eee;
    padding: 5px 10px;
    border-radius: 3px;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.thailand-promptpay-id:hover {
    background: #ddd;
}

.thailand-promptpay-business-notice {
    color: #666;
    font-style: italic;
    margin: 5px 0;
    font-size: 0.9em;
}

/* Loading and error states */
.thailand-promptpay-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 256px;
    color: #666;
}

.thailand-promptpay-error {
    color: #d32f2f;
    padding: 10px;
    border: 1px solid #d32f2f;
    border-radius: 4px;
    background: #ffebee;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .thailand-promptpay-qr {
        margin: 10px 0;
        padding: 15px;
    }
    
    #promptpay-qr-container canvas,
    [id^="promptpay-qr-container-"] canvas {
        max-width: 100%;
        height: auto;
    }
} 