﻿.dialogPix-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.dialogPix-box {
    position: relative;
    background-color: #fff;
    border-radius: 16px;
    max-width: 420px;
    width: 90%;
    padding: 30px 22px 25px 22px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
}

/* Botão X no canto */
.dialogPix-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    color: #444;
    transition: opacity 0.3s ease;
}

    .dialogPix-close:hover {
        opacity: 0.6;
    }

.dialogPix-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #222;
    margin-top: 5px;
}

.dialogPix-subtitle {
    font-size: 1rem;
    color: #555;
    margin-bottom: 12px;
}

.dialogPix-qrcode-container {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.dialogPix-qrcode {
    width: 200px;
    height: 200px;
}

.dialogPix-info p {
    margin: 4px 0;
    color: #444;
    font-size: 0.95rem;
}

.dialogPix-code-box {
    margin-top: 18px;
    background: transparent;
    padding: 12px 14px;
    border-radius: 8px;
    text-align: left;
    font-family: monospace;
    word-break: break-all;
    font-size: 0.9rem;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
}

.dialogPix-btn-copy {
    margin-top: 16px;
    width: 100%;
    background-color: #0083ff;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* espaçamento entre ícone e texto */
}

    .dialogPix-btn-copy:hover {
        background-color: #006fd1;
    }

.pix-icon {
    background: transparent;
    width: 20px;
    height: 20px;
}

.animate-fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
