body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000000d5;
    margin: 0;
    padding: 0;
    color: #dbdbdb;
}

header {
    text-align: center;
    padding: 40px 20px 20px;
    background-color: #000000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 10px 20px;
    position: relative;
}

header .logo {
    height: 50px;
    width: auto;
}

header #logo {
    text-align: center;
    position: relative;
}

header #logo h1,
header #logo p {
  margin: 0;
}

header h1 {
    margin: 0;
    font-size: 2em;
    color: #5e6c7a;
}

header p {
    margin-top: 10px;
    color: #5e5d5d;
}

.controles {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.controles label {
    font-weight: bold;
}

.container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.chart-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 550px;
    box-sizing: border-box;
}

.chart-card h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.2em;
    color: #333;
}

canvas {
    width: 100% !important;
    height: 300px !important;
}

.chart-card label,
.chart-card select {
    display: block;
    margin: 0 auto 10px;
    text-align: center;
}


.resumen {
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}

footer{
    height: auto;
    width: 100%;
    color: gray;
    background-color: rgba(1, 1, 1, 0.7);
    position: absolute;
    padding: 1rem 2rem;
    text-align: center;
    bottom: 0;
}


.all {
    position: relative;
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    padding-bottom: 100px;
}
