/**
 * VimoPay Payment Gateway Styles
 */

.vimopay-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.vimopay-title {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

.vimopay-description {
    margin-bottom: 25px;
    color: #666;
}

.vimopay-form-group {
    margin-bottom: 20px;
}

.vimopay-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.vimopay-form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.vimopay-button {
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.vimopay-button:hover {
    background-color: #005177;
}

.vimopay-button-secondary {
    background-color: #f1f1f1;
    color: #333;
}

.vimopay-button-secondary:hover {
    background-color: #e1e1e1;
}

.vimopay-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
}

.vimopay-payment-qr {
    text-align: center;
}

.vimopay-qrcode-container {
    margin: 20px auto;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

#vimopay-qrcode {
    margin: 0 auto;
}

.vimopay-payment-details {
    margin-bottom: 20px;
}

.vimopay-payment-details p {
    margin: 8px 0;
}

.vimopay-timer {
    color: #e67e22;
    font-weight: 500;
}

.vimopay-status {
    margin: 20px 0;
}

.vimopay-loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 115, 170, 0.3);
    border-radius: 50%;
    border-top-color: #0073aa;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.vimopay-actions {
    margin-top: 25px;
}

.vimopay-actions button {
    margin: 0 5px;
}

/* Status Styling for Admin */
.status-pending {
    color: #f0ad4e;
    font-weight: 500;
}

.status-processing {
    color: #5bc0de;
    font-weight: 500;
}

.status-completed {
    color: #5cb85c;
    font-weight: 500;
}

.status-failed {
    color: #d9534f;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .vimopay-container {
        padding: 15px 10px;
    }
    
    .vimopay-title {
        font-size: 20px;
    }
    
    .vimopay-button {
        width: 100%;
    }
} 