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:          5px;
    border-radius:    15px;
    box-shadow:       0 8px 25px rgba(0, 0, 0, 0.1); /* Sombra suave */
    text-align:       center;
    max-width:        810px; /*ahora 990 por la grilla de lluvias, antes: 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;
}
.llogo{
  width:  100%;
}

h1 {
    margin-bottom:  15px;
    color:          #3f51b5; /* Azul profundo */
    font-size:      2.2em;
}
#dH5{
    width:          600px;
    margin:         10px auto;
    /* margin-top:     0px; */
    /* margin-bottom:  30px; */
    color:          gray; /* Azul profundo */
    font-size:      1em;
    font-weight:     normal;
}

/*NUEVO botón general "X" para cerrar*/
.xBtn{
  background-color:   #fff;
  color:              #0066ff;
  border:             0;
  padding:            2px 6px 4px 6px;
  border-radius:      0px;
  font-weight:        550;
  font-size:          1em
}
  .xBtn::before{content: '\2715';}
  .xBtn:hover{
    color:      #FFF;
    background: #ff4500
  }

.wMax{
  width:  100%;
}

.dIn{
  float:        left;
  /* margin-right: 20px; */
  color:        #0066CC;
  font-size:    1.2em;
  width:        135px;
  padding-top:  5px
}

.dUsuario{
  float:            left;
  padding:          5px 5px 0px 20px;
  width:            90%;                                       /* background: #CCFFCC; */
  margin-top:       10px;
  /* margin-top:       30px; */
  padding:          10px;
  background-color: bisque; /*#f0f4f8; /* Fondo suave para el display de resultados */
  border-radius:    12px;
  min-height:       50px;
  text-align:       left;
  border:           1px solid #e0e0e0;
  box-shadow:       inset 0 2px 5px rgba(0, 0, 0, 0.05);
  font-size:        0.8em;
}
  .dNombre{
    float:    left;
    width:    calc(100% - 160px);
  }
  .dNombre input{
    border:    none;
    padding:    2px;
    width:      95%;
    background: none;
    margin-top: 5px;
    font-size:  1.2em;
}

.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: 120px;
    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: 100;
    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);
}

.dOtras{
  width:  100%;
}
  .dOtras input{
    width:      100px;
    font-size:  0.8em;
    padding:    0px;
  }
  .dOtras a{
    text-decoration:  none;
    font-size:  0.9em;
    color:    #0066FF;
    padding-left:5px;
    padding-right: 25px
  }



.dCity{
  float:        left;
  padding:      10px;
  /* margin-left:  20px; */
  margin-right: 10px;
  width:        calc(100% - 120px);
}
.dImg{
  float:  left;
  width:  100px;
}

.pMsj{
  color:  gray;
}

.dPie{
  float:  left;
  width:  100%;
  padding:  10px;
  margin-top: 20px
}
  .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: 40px;
  }

    .dLogoSponsor img{
      max-width:  160px;
      max-height: 180px;
      /* margin: 10px; */
    }

.weather-display{
    width:            90%;
    margin-top:       30px;
    float:            left;
    padding:          10px;
    background-color: bisque; /*#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 40px 20px 40px;
  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;
}

.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;
}




  #secFlotLluvia{
    box-sizing:     border-box;
    width:          100%;
    max-width:      fit-content;
    height:         100%;
    float:          left;
    margin:         30px 0px 40px 2px;
    display:        block;
    border:         1px solid silver;
  }
    #inPluviometro{
      width:      30px;
      text-align: right
    }

  #inLluviasAnio{
    width: 40px
  }
/* dentro de secFlotLluvia */
  #divDashX{
    width:      30px;
    float:      right;
    background: #fff;
    text-align: center;
    padding:    3px 3px 0px 3px;
    display:    none;
  }


  #divDash0{
    float:      left;
    width:      100%;
    max-width:  987px;
    background: #fff;
    padding:    10px 3px 10px 3px;
  }

  #divDash0 input{
    /* width:      50px; */
    font-size:  1.1em;
    text-align: center
  }
    #divDash0{
      float:  left;
      width:  120px;
    }

    .divDash01{
      float:        left;
      width:        140px;
      text-align:   left;
      padding-left: 10px;
      padding-top:  5px
    }

    #divDash0 .divDash03{
      float:        left;
      width:        175px;
      border:       1px solid #eaeaea;
      padding:      1px;
      margin-right: 50px
    }
       #divDash0 .divDash03 span{font-size: 0.7em}

  #divLluviaxDia{
    float:          left;
    /* width:          100%; */
    /* max-width:      987px; */
    /* padding-bottom: 10px; */
    /* background:     #fff */
  }

    /*#divDash0{
      float:        right;
      width:        60px;
      margin-right: 30px;
    }*/
    #divDash0{
      float:      left;
      width:      100%;
      max-width:  987px;
      background: #fff;
      padding:    10px 3px 10px 3px;
    }

    .divDash02{
      float:        right;
      width:        90px;
      margin-right: 30px;
      font-size:    1.4em;
      padding:      0px
    }

    .divDash04{
      background: #fff;
      width:      100%;
      max-width:  987px;
      padding:    10px;
      color:      gray;
      float:      left;
      text-align: left;
      font-size:  0.8em
    }
      .divDash031{
        float:    left;
        padding:  1px;
        display:  none
      }
      .divDash04>button{
        font-size:  15px
      }
      .divDash04 .divNotaGLL{
        margin-right: 10px;
        width:        auto;
        float:        left;
        padding-top:  6px
      }



.tblLluviasDia{
  background-color: #FFF;
  border-collapse:  collapse;
  border-spacing:   0px;
  font-size:        0.8em;
  width:            790px
}
  .tblLluviasDia tr:nth-child(1){
    text-align: center;
    background: #f0f0f0
  }
  .tblLluviasDia tr:nth-child(14){
    color:        blue
  }

  .tblLluviasDia td:hover{
    background-color:  #FFFF99;
  }
  .tblLluviasDia tr td{                        /* width:      auto; */
                        width:      22px;                        /* max-width:  25px; */
                        height:     25px;
                        padding-left: 2px;
                        text-align: right;
                        border:     1px solid gray;
                        text-align: center;
                        font-size:   0.9em;
  }
  .tblLluviasDia tr>td:nth-child(1){    /* width:      auto; */
    width:      60px;
    text-align: left;
    font-style: italic;
    background: #eaeaea;
  }
  .tblLluviasDia tr>td:nth-child(33){
    width:          40px;
    padding-right:  3px;
    font-weight:    bold;
    text-align:     right;
    background:     #eaeaea;
  }









    .divTitLluvias{
      float:      left;
      width:      210px;
      margin:     0;
      background: #fff;
      display:    none
    }

    #divLluviaxDia{
    float:          left;
    /* width:          100%; */
    /* max-width:      987px; */
    /* padding-bottom: 10px; */
    /* background:     #fff */
  }

  /*.dLluviasOut{
      width:    100%:
      border:   1px solid gray;
  }*/

  #divLluviaBar{
    float:        left;
    background:   #fff;
    width:        460px;
    margin-left:  50px;
    margin-top:   30px;
    height:       270px;
    z-index:      99;
    border:       1px solid #eaeaea;
    display:      block;
  }
    .btnLAXD{
      float:          right;
      width:          140px;
      margin-top:     3px;
      margin-right:   3px;
      cursor:         pointer;
      padding:        0px 1px 0px 1px;
      background:     #fff;
      color:          #00ccff;
      border-radius:  3px;
      border:         none
    }
    .btnLAXD:hover{
      background: red;
      color:      #fff
    }
    #canLluviasDia{
      display:    block;
      background: #FFF;
      width:      100%;
      height:     270px;
    }

    .aContacto{
      font-size:        1.1em;
      font-style:       italic;
      text-decoration:  none;
      color:            #0066FF;
    }
    .aRegistrese{
      font-size:        0.9em;
      font-style:       italic;
      text-decoration:  none;
      color:            #0066FF;
    }

