/* Ziina Modal Checkout Styling */
.ziina-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ziina-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ziina-modal-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.ziina-modal-overlay.active .ziina-modal-container {
    transform: translateY(0) scale(1);
}

.ziina-modal-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.ziina-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ziina-modal-title img {
    height: 22px;
    width: auto;
}

.ziina-modal-close {
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.ziina-modal-close:hover {
    background: #e5e7eb;
    color: #111827;
}

.ziina-modal-body {
    position: relative;
    width: 100%;
    height: 800px;
    max-height: calc(90vh - 60px);
    overflow-y: auto;
    background: #ffffff;
}

.ziina-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.ziina-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.ziina-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #9626ff;
    border-radius: 50%;
    animation: ziina-spin 1s linear infinite;
}

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

.ziina-loader-text {
    font-size: 14px;
    color: #4b5563;
    font-weight: 500;
}

.vina-ziina-card-info {
    padding: 15px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}

.vina-ziina-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b21a8;
    font-weight: 600;
    font-size: 14px;
}

.vina-ziina-badge img {
    height: 20px;
}
