﻿.card-container {
    position: relative;
    width: 300px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    color: white;
    font-family: Arial, sans-serif;
    pointer-events: none;
}

.saldo-disponivel {
    font-size: 14px;
}

.valor-saldo {
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: bold;
    
}

.validade {
    position: absolute;
    right: 15px; 
    bottom: 15px; 
    font-size: 14px; 
    color: white; 
}

.icon-visualizacao {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 18px;
}

#btnConsultarSaldo {
    background: none; 
    border: none; 
    color: inherit; 
    padding: 0; 
    font: inherit; 
    cursor: pointer; 
    display: inline; 
}

#btnConsultarSaldo:hover {
    padding: 0; 
}

.btnRecarga div {
    background: #1885A2 0% 0% no-repeat padding-box;
    border-radius: 8px;
    border: none; 
    box-shadow: none; 
    opacity: 1;
    color: white;
    width: 300px;
    height: 45px;
}

.btnRecarga .dx-button-text {
    font: normal normal 600 15px/25px Segoe UI;
    letter-spacing: 0px;
    color: #FFFFFF;
}

.btnRecarga div.dx-button-mode-contained.dx-state-hover {
    background-color: #59abc0;
    border: none; 
    box-shadow: none; 
}

.cartao-qrcode {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fundo escuro semi-transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.cartao-qrcode-modal-subdiv {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s;
    width: 50%; /* Aumenta a largura para 60% da tela */
    max-width: 800px; /* Define um limite máximo de largura */
}

/* Animação de exibição */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

#textoCopia {
    width: 100%; /* Ocupa toda a largura disponível */
    height: 100%;
    height: 47px;
    border-radius: 12px;
    font-size: 16px;
}

#btnConfirmarRecarga {
    background: #1A8EA6 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 8px;
    opacity: 1;
    width: 9em;
    font: normal normal 600 25px/40px Segoe UI;
}

#btnConfirmarRecarga:hover {
    background: #59abc0; /* Cor mais clara ao passar o mouse */
}

#btnConfirmarBloqueio {
    background: #1A8EA6 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 8px;
    opacity: 1;
    width: 7em;
    font: normal normal 600 25px/40px Segoe UI;
}

#btnConfirmarBloqueio:hover {
    background: #59abc0; /* Cor mais clara ao passar o mouse */
}

#btnCancelarRecarga {
    background: #AFAFAF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 8px;
    opacity: 1;
    width: 9em;
    font: normal normal 600 25px/40px Segoe UI;
}

#btnCancelarRecarga:hover {
    background: #dbd9d9; /* Cor mais clara ao passar o mouse */
}

#btnCopiar {
    background: #1A8EA6 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 8px;
    opacity: 1;
    width: 6em;
    font: normal normal 600 25px/40px Segoe UI;
}

#btnCopiar:hover {
    background: #59abc0; /* Cor mais clara ao passar o mouse */
}

#btnFechar {
    background: #AFAFAF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 8px;
    opacity: 1;
    width: 6em;
    font: normal normal 600 25px/40px Segoe UI;
}

#btnFechar:hover {
    background: #5c5b5b; /* Cor mais clara ao passar o mouse */
}

#btnFecharCartoes {
    background: #AFAFAF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 8px;
    opacity: 1;
    width: 6em;
    font: normal normal 600 25px/40px Segoe UI;
}

#btnFecharCartoes:hover {
    background: #5c5b5b; /* Cor mais clara ao passar o mouse */
}

#btnCancelarBloqueio {
    background: #AFAFAF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 8px;
    opacity: 1;
    width: 7em;
    font: normal normal 600 25px/40px Segoe UI;
}

#btnCancelarBloqueio:hover {
    background: #5c5b5b; /* Cor mais clara ao passar o mouse */
}

#textoCopia {
    color: #918e8e;
    background-color: #f2f2f2;
}

#textoCopia::selection {
    background-color: #a8a5a5; /* Cor de fundo do texto selecionado */
    color: white; /* Cor do texto selecionado */
}
