body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5; /* Fondo blanco-grisáceo suave */
    color: #333; /* Texto oscuro */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    /* padding: 20px; */
    box-sizing: border-box;
}
div{
box-sizing:       border-box;
}

.container {
    background-color: #ffffff; /* Blanco puro */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Sombra suave */
    text-align: center;
    max-width: 850px; /* Un poco más ancho para la gráfica */
    width: 100%;
    margin-top: 50px;
    border: 1px solid #e0e0e0; /* Borde sutil */
    box-sizing:       border-box;
}

h1 {
    margin-bottom:  5px;
    color:          #3f51b5; /* Azul profundo */
    font-size:      2.2em;
}
h5{
    margin-top:     0px;
    margin-bottom:  30px;
    color:          gray; /* Azul profundo */
    font-size:      1.1em;
    font-weight:     normal;
}

.input-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}


input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-section label {
    font-weight: 700;
    color: #555;
    white-space: nowrap;
}

.input-section input[type="number"] {
    width: 150px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    color: #333;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

.input-section input[type="number"]::placeholder {
    color: #aaa;
}

.input-section button {
    background-color: #4CAF50; /* Verde vibrante */
    color: #fff;
    border: none;
    padding: 8px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.input-section button:hover {
    background-color: #43a047; /* Tono más oscuro de verde */
    transform: translateY(-2px);
}

.dCity{
  float:        left;
  padding:      10px;
  margin-left:  20px;
  margin-right: 20px;
  width:        300px;
}
.dImg{
  float:  left;
  width:  80px;
}

.pMsj{
  color:  gray;
}

.dPie{
  float:  left;
  width:  100%;
  padding:  10px;
}
  .dLogoSponsor{
    float:      left;
    max-width:  200px;
    padding:    10px;    /* border:     1px solid silver; */
    margin:     0px 10px 10px 10px;
  }
  .dLogoSponsor1{
    float:      left;
    max-width:  200px;
    padding:    10px;    /* border:     1px solid silver; */
    /* margin-top: 30px; */
  }

    .dLogoSponsor img{
      max-width:  160px;
      max-height: 180px;
      /* margin: 10px; */
    }

.weather-display {
  width:90%;
    /* margin-top: 30px; */
    float:left;
    padding: 10px;
    background-color: #b9d4ef; /*#f0f4f8; /* Fondo suave para el display de resultados */
    border-radius: 12px;
    min-height: 180px;
    /* display: flex; */
    /* flex-direction: column; */
    /* justify-content: center; */
    /* align-items: center; */
    text-align: center;
    border: 1px solid #e0e0e0;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}
  .weather-display div{
    /* border:1px solid red; */
  }
.weather-display h2 {
    color: #3f51b5; /* Azul profundo */
    margin-bottom: 15px;
    font-size: 2em;
}

.weather-info {
  float:      left;
  text-align: left;
  background: #fff;
  padding:    20px;
  width:      100%;
  /* border: 1px solid green; */
    /* margin: 6px 0; */
  font-size: 1.1em;
    /* color: #555; */
}
.weather-info p {
    margin: 6px 0;
    font-size: 1.1em;
    color: #555;
}

.weather-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 15px;
}
.sVal{
  float:      right;
  color:      rgb(0,102,204);
  font-size:  1.2em;
}
.sRain{
  float:      left;
  color:      rgb(204,0,0);
  font-size:  0.9em;
}
  .sRain p{
    color:      rgb(204,0,0);
    font-size:  1.3em;
  }

.fLeft{
  float:  left;
  width:  100%;
}

.error-message {
    float:left;
    color: #d32f2f; /* Rojo de error */
    /* background-color: #ffebee; */
    /* border: 1px solid #ef9a9a; */
    padding: 10px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 700;
}

.forecast-display {
    margin-top: 30px;
    float:left;
    padding: 25px;
    background-color: #f0f4f8;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    width:90%;
}

.forecast-display h2 {
    color: #3f51b5;
    margin-bottom: 20px;
}

.chart-container {
    position: relative;
    height: 350px; /* Altura fija para la gráfica */
    width: 100%;
    margin: 0 auto; /* Centrar la gráfica */
}

/* Responsivo */
@media (max-width: 680px) {
    .input-section {
        flex-direction: column;
        align-items: center;
    }
    .input-group {
        width: 100%;
        justify-content: center;
    }
    .input-section input[type="number"] {
        width: 150px;
    }
    .container {
        padding: 20px;
    }
}
strong{
  margin-right:20px;
}