* {
    margin: 0; 
    padding: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    box-sizing: border-box;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    padding: 20px;
}

.card {
    width: 100%;
    max-width: 450px;
    padding: 30px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: 2px solid #ccc;
    border-radius: 5px;
    background-color: rgb(224, 230, 228);
}

.card div:not(.buttons-select) {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 12px 0;
    width: 100%;
}

.card div > label {
    margin-bottom: 8px;
    font-size: 18px;
}

.buttons-select {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 70px;
    width: 100%;
}

.buttons-select > button {
    height: 40px;
    width: 100%;
    max-width: 140px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: width 0.5s ease, height 0.5s ease;
}

#income {
    background: rgb(22, 164, 22);
    color: white;
}

#expense {
    background: red;
    color: white;
}

.textfield > input {
    width: 100%;
    height: 45px;
    padding-left: 10px;
    border-radius: 5px;
    border: 2px solid #ccc;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.textfield > input:focus {
    transform: scale(1.05);
}

#description {
    width: 100%;
    height: 120px;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid #ccc;
    resize: none;
    font-size: 16px;
    transition: transform 0.3s ease;
}

#description:focus {
    transform: scale(1.05);
}

.select-category > select {
    width: 100%;
    height: 45px;
    padding-left: 10px;
    border-radius: 6px;
    border: 2px solid #ccc;
    cursor: pointer;
    font-size: 16px;
}

.btn-send {
    width: 100%;
    height: 55px;
    border-radius: 6px;
    border: 2px solid #ccc;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.btn-send:active {
    transform: scale(1.05);
}

.card-extract {
    width: 100%;
    max-width: 450px;
    max-height: 40vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.extract {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: white;
}

.extract.income {
    border-left: 5px solid green;
}

.extract.expense {
    border-left: 5px solid red;
}


@media (max-width: 600px) {
    .card {
        padding: 20px;
    }

    .buttons-select {
        flex-direction: column;
    }

    .buttons-select > button {
        max-width: 100%;
    }

    .card div > label {
        font-size: 16px;
    }
}