/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

h2 {
    text-align: center;
    margin-bottom: 20px !important;
}

/* Resto do seu código CSS aqui */
.container{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.calculator-content{
    background-color: #ddd;
    width: 500px;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 5px;
}

.potencia-tempo-div, .dias-preco-div{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.form-group{
    width: 100%;
}

form{
    width: 100%;
}

form button{
    width: 100%;
}

dialog::backdrop{
    background-color: #0f0f0fd7;
}

dialog{
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;

    padding: 20px;
    width: 30%;
    border-radius: 5px;
    border: none;
    text-align: left;

    position: absolute;
    top: 40%;
    left: 50%;

    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: -1;
    transition: opacity .2s ease;
}

#container-table{
    overflow: auto;
}

table{
    width: 100%;
    font-size: 0.8em;
}

.hide{
    display: none;
}

@media screen and (max-width: 500px){
    .calculator-content{
        padding: 10px;
    }

    dialog{
        width: 90%;
    }

    table{
        font-size: 0.45em;
    }
}