/*CONFIGURAÇÃO PADRÃO*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f0f4f8;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh
}

/*FIM DA CONFIGURAÇÃO PADRÃO*/


/*INICIA ESTRUTURAÇÃO DO CARD*/

/*ESTRUTURA PRINCIPAL DO CARD*/
.card {
    background-color: #ffffff;
    width: 400px;
    padding: 24px;
    border-radius: 16px;
    border: 2px solid #1a202c;
    box-shadow: 4px 8px 0px #3182ce, 4px 8px 0px 2px #1a202c;
}

/*Titulo*/
.card_title {
    font-size: 20px;
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 12px;
}

/*container do saldo*/
.balanco_container {
    background-color: #dbeafe;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.balanco_container h1{
    font-size: 32px;
    color: #1e3a8a;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/*botao do container do saldo*/
.btn{
    background-color: #bfdbfe;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.2s;
}

.btn:hover{
    background-color: #93c5fd;
}

.btn img {
    width: 24px;
    height: auto;
    pointer-events: none; 
}

/* FIM DA ESTRUTURA PRINCIPAL DO CARD*/

/* INICIO DO CONTAINER INFERIOR*/
.details-container {
    display: flex;
    gap: 16px;
}

.box {
    flex: 1; 
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}


/*BOX DE ENTRADA*/
.input-box{
    background-color: #dcfce7;
    border: 2px solid #22c55e;
}

/*BOX DE SAÍDA*/
.exit-box{
    background-color: #fee2e2;
    border: 2px solid #ef4444;
}

/*ICONES DENTRO DAS CAIXAS*/
.icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.input-box .icon { background-color: #22c55e; }
.exit-box .icon { background-color: #ef4444; }

/* TEXTO DENTRO DO BOX*/
.text {
    display: flex;
    flex-direction: column;
}

.text .label {
    font-size: 14px;
    color: #1a202c;
    font-weight: 600;
}

.text .value{
    font-size: 14px;
}

.input-box .value { color: #166534; }
.exit-box .value { color: #991b1b; }


/* FINALIZA DO CONTAINER INFERIOR*/


/*FINALIZA ESTRUTURAÇÃO DO CARD*/

