html, body {
    width: 100%;
    height: 100%;    
    margin: 0px;
    padding: 0px;
}

body {
    /*background-image: repeating-linear-gradient(80deg, #ddecfd,#c3dadf 20px,#e3dcbe 20px, #ffe493 40px);  */
    background-image: repeating-linear-gradient(80deg, #fff,#c9dde1 20px,#d5d2c6 20px, #fbe9b2 40px);
}

:root {
  --height-bar: 35px;
}

div {
    box-sizing: border-box; 
}

#simular_bar {
    width: 100%;
    height: var(--height-bar); 
    padding: 7px;
    font-family: "Nimbus Sans", "NimbusSans-Bold", sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: #040202;;
    text-align: center;
    /*background-image: repeating-linear-gradient(80deg, #ddecfd,#c3dadf 20px,#e3dcbe 20px, #ffe493 40px);*/
    
}

.simulador_ventana_web {
    border: 2px solid #ccc;
    width: 100%;
    height: calc(100% - var(--height-bar)); 
    background: #90a89845;
}

.simulador_ventana_cell {
    width: 600px; 
    border: 4px solid #ccc;
    height: calc(100% - var(--height-bar) - 8px);
    left: calc(50% - 300px);
    position: relative;
    border-radius: 12px;
}

#sumilador-init {
    width: 800px;
    left: calc(50% - 400px);
    position: absolute;
    border: 1px solid #c8c8c8;
    /*background-image: repeating-linear-gradient(80deg, #ddecfd,#c3dadf 20px,#e3dcbe 20px, #ffe493 40px);*/
    height: 500px;
    top: calc(50% - 250px);
    background: #168cf4;
    box-shadow: 10px 10px 5px #aaaaaa;
}

#simulador-titulo {
    text-align: center;
    height: 40px;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

#simulador-nota {
    margin: 20px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: solid 2px #a9c7cc;
    font-size: 15px;
    text-align: justify;
    color: #080528;
}

.btn {
    display: inline-block;
    padding: 4px 10px;
    margin: 4px 5px 0px 5px;
    background-color: #0078d7;
    color: white;
    text-decoration: none;
    border-radius: 9px 9px 0px 0px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    float: right;
  }
  .btn:hover {
    background-color: #005a9e;
  }
  .btn i {
    margin-right: 8px;
  }


/*****************************************/
form {
    display: flex;
    flex-direction: column;
    width: 700px;
    margin-left: 23px;
  }
  .form-group {
    display: flex;
    margin-bottom: 10px;
  }
  .form-submit {
    width: 100px;
    margin-left: 600px;   
  }
  label {
    width: 200px; /* ancho fijo para alinear */
    text-align: right;
    margin-right: 10px;
  }
  input, select {
    flex: 1;
    max-width: 490px;
  }
  
 /*************************************/
@media (max-width: 768px) {
    .simulador_ventana_cell {
        border: 1px solid #ccc;
        width: 100%;
        height: calc(100% - var(--height-bar)); 
        background: #90a89845;
        border-radius: 0px;
    }
    
    #sumilador-init {
        width: 100%;
        left: auto;
    }
    form {
        width: auto;
        margin-left: 0px;
    }
    label {
       width: 90px; 
    }
    .form-submit {
        width: 100px;
        margin-left: calc(100% - 160px);   
    }
    input, select {
        flex: 1;
        max-width: calc(100% - 160px);
    }
}
 
