/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2. Remove default margin */
* {
    margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}

body {
    /* 4. Add accessible line-height */
    line-height: 1.5;
    /* 5. Improve text rendering */
    -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
    font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root,
#__next {
    isolation: isolate;
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #ede7f6, #d1c4e9);
    padding: 10px;
    display: flex;
    justify-content: center;
}

.app {
    width: 100%;
    max-width: 480px;
    background: white;
    padding: 25px 10px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.app>h1,
.app>h2 {
    text-align: center;
}

.app>h1 {
    margin-bottom: 16px;
}

button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: #6a1b9a;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}


button:hover {
    opacity: 0.9;
}

#limpar {
    background: #e53935;
}

#exportar {
    background: #7b1fa2;
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;
    margin-top: 10px;
    table-layout: fixed;
}

th,
td {
    width: 33%;
    border-bottom: 1px solid #ddd;
    padding: 10px;
}

form {
    margin-bottom: 40px;
}

form input {
    display: block;
    padding: .625rem;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #7b1fa2;
    max-width: 100%;
}

form>div {
    display: grid;
    grid-template-columns: 60px 1fr;
    align-items: center;
    gap: .625rem;
    margin-bottom: 1rem;
}   