.zpayng-payment-form {
    max-width: 500px;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

.zpayng-field {
    margin-bottom: 15px;
}

.zpayng-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.zpayng-field input[type="email"],
.zpayng-field input[type="number"],
.zpayng-field input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.zpayng-field input:focus {
    outline: none;
    border-color: #3a3e5b !important;
    box-shadow: 0 0 5px rgba(58, 62, 91, 0.3);
}

.zpayng-amount-display,
.zpayng-description-display {
    padding: 10px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    color: #3a3e5b;
}

.zpayng-pay-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #3a3e5b, #4a4f6b);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zpayng-pay-button:hover {
    background: linear-gradient(135deg, #2a2e4b, #3a3e5b);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.zpayng-pay-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#zpayng-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

#zpayng-message.success {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

#zpayng-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #f44336;
}

.zpayng-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3a3e5b;
    border-radius: 50%;
    animation: zpayng-spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes zpayng-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive design */
@media (max-width: 600px) {
    .zpayng-payment-form {
        margin: 10px 0;
        padding: 15px;
    }

    .zpayng-field input[type="email"],
    .zpayng-field input[type="number"],
    .zpayng-field input[type="text"] {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }
}

/* WooCommerce Checkout Logo Styling */
.payment_method_zpayng img {
    height: 24px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
}

/* Classic Checkout Logo */
.payment_method_zpayng label {
    display: flex;
    align-items: center;
}

/* Blocks Checkout Logo */
.wc-block-components-payment-method-label {
    display: flex;
    align-items: center;
}

.wc-block-components-payment-method-label img {
    margin-right: 8px;
    max-height: 24px;
}