/* iyzico Payment Styles */

#iyzico-button {
    display: inline-block;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

#iyzico-button:hover {
    opacity: 0.8;
}

#iyzico-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

#iyzico-button img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* iyzico Modal Styles */
#iyzicoModal .modal-dialog {
    max-width: 800px;
}

#iyzicoModal .modal-body {
    padding: 20px;
    min-height: 400px;
}

#iyzicoFormContainer {
    width: 100%;
    min-height: 400px;
}

#iyzicoFormContainer iframe {
    width: 100%;
    min-height: 500px;
    border: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #iyzicoModal .modal-dialog {
        max-width: 95%;
        margin: 10px auto;
    }
    
    #iyzicoFormContainer {
        min-height: 350px;
    }
    
    #iyzicoFormContainer iframe {
        min-height: 450px;
    }
}

/* Loading state */
.iyzico-loading {
    text-align: center;
    padding: 40px;
}

.iyzico-loading:after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
