/*
 * Copyright 2016 Google Inc.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


* {
  box-sizing: border-box; }


:root {
  --button-back-color: #030102;
  --button-fore-color: #fff;
  --form-back-color: #c9c8c8;
}  
  
[type="checkbox"].modal+div {
    top: 0px !important;
    height:95vh !important;
    z-index: 1000 !important;
}

[type="checkbox"].modal+div .card {
    max-width: 90vw !important;
    max-height: 85vh !important;
    margin-top: 50px !important;
}
  
[type="checkbox"].modal+div .card #textDialog {
    overflow: auto;
}    
  
[type="checkbox"], [type="radio"] {
    vertical-align: middle !important;
}   
  
html, *
  {
      font-family: 'Dosis', sans-serif; 
      /*font-family: 'Dosis', sans-serif;*/
  }
  
html, body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  
  /*font-weight: 400;
  font-display: optional;*/
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }

html {
  overflow: hidden; }

body {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-flex-wrap: nowrap;
      -ms-flex-wrap: nowrap;
          flex-wrap: nowrap;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-align-content: stretch;
      -ms-flex-line-pack: stretch;
          align-content: stretch;
  background: #fff;
  overscroll-behavior: none;
}

.header{
    background-color:#fff;
    max-height:54px;
    min-height:48px;
}  

.logoheader{
    top: 0px;
    left: 0px;
    right: 0px;
    margin-left: auto;
    position: absolute;
    margin-right: auto;
    width: 54px;
}


@media only screen and (max-height: 458px) and (display-mode:browser){  
.main, html {
    /* min-height: 330px; */
    /* max-height: 330px; */
    height: 83%;
    width: 100vw;
    overflow: auto;
    font-size: 11px;
    pointer-events: auto;
}
.logotipoHome > img {
    width: 25%;
    max-width: 512px;
}

}

@media only screen and (min-height: 458px) and (max-height: 478px) and (display-mode:browser){  
.main, html {
    /* min-height: 330px; */
    /* max-height: 330px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 12px;
}
.logotipoHome > img {
    width: 25%;
    max-width: 512px;
}

}

@media only screen and (min-height: 478px) and (max-height: 498px) and (display-mode:browser){  
.main, html {
    /* min-height: 330px; */
    /* max-height: 330px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 12px;
}
.logotipoHome > img {
    width: 30%;
    max-width: 512x;
}
}

@media only screen and (min-height: 498px) and (max-height: 518px) and (display-mode:browser){  
.main, html {
    /* min-height: 330px; */
    /* max-height: 330px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 12px;
}
.logotipoHome > img {
    width: 35%;
    max-width: 512px;
}
} 

@media only screen and (min-height: 518px) and (max-height: 538px) and (display-mode:browser){  
.main, html {
    /* min-height: 350px; */
    /* max-height: 350px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 12px;
}
.logotipoHome > img {
    width: 40%;
    max-width: 512px;
}
}

@media only screen and (min-height: 538px) and (max-height: 558px) and (display-mode:browser){  
.main, html {
    /* min-height: 350px; */
    /* max-height: 350px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 12px;
}
.logotipoHome > img {
    width: 45%;
    max-width: 512px;
}
}
  
@media only screen and (min-height: 558px) and (max-height: 578px) and (display-mode:browser){  
.main, html {
    /* min-height: 370px; */
    /* max-height: 370px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 13px;
}
.logotipoHome > img {
    width: 50%;
    max-width: 512px;
}
}

@media only screen and (min-height: 578px) and (max-height: 598px) and (display-mode:browser){  
.main, html {
    /* min-height: 370px; */
    /* max-height: 370px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 14px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 598px) and (max-height: 618px) and (display-mode:browser){  
.main, html {
    /* min-height: 390px; */
    /* max-height: 390px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 14px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 618px) and (max-height: 638px) and (display-mode:browser){  
.main, html {
    /* min-height: 390px; */
    /* max-height: 390px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 14px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 638px) and (max-height: 658px) and (display-mode:browser){  
.main, html {
    /* min-height: 410px; */
    /* max-height: 410px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 16px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 658px) and (max-height: 678px) and (display-mode:browser){  
.main, html {
    /* min-height: 410px; */
    /* max-height: 410px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 16px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 678px) and (max-height: 698px) and (display-mode:browser){  
.main, html {
    /* min-height: 430px; */
    /* max-height: 430px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 17px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 698px) and (max-height: 718px) and (display-mode:browser){  
.main, html {
    /* min-height: 430px; */
    /* max-height: 430px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 17px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 718px) and (max-height: 738px) and (display-mode:browser){  
.main, html {
    /* min-height: 450px; */
    /* max-height: 450px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 18px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 738px) and (max-height: 758px) and (display-mode:browser){  
.main, html {
    /* min-height: 450px; */
    /* max-height: 450px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 18px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 758px) and (max-height: 778px) and (display-mode:browser){  
.main, html {
    /* min-height: 470px; */
    /* max-height: 470px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 19px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 778px) and (max-height: 798px) and (display-mode:browser){  
.main, html {
    /* min-height: 470px; */
    /* max-height: 470px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 19px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 798px) and (max-height: 818px) and (display-mode:browser){  
.main, html {
    /* min-height: 490px; */
    /* max-height: 490px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 20px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 818px) and (max-height: 838px) and (display-mode:browser){  
.main, html {
    /* min-height: 490px; */
    /* max-height: 490px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 20px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 838px) and (max-height: 858px) and (display-mode:browser){  
.main, html {
    /* min-height: 490px; */
    /* max-height: 490px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 20px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 858px) and (max-height: 878px) and (display-mode:browser){  
.main, html {
    /* min-height: 490px; */
    /* max-height: 490px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 21px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 878px) and (max-height: 898px) and (display-mode:browser){  
.main, html {
    /* min-height: 490px; */
    /* max-height: 490px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 21px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 898px) and (max-height: 1400px) and (display-mode:browser){  
.main, html {
    /* min-height: 490px; */
    /* max-height: 490px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 21px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}


@media only screen and (min-height: 458px) and (max-height: 478px) and (display-mode:fullscreen),
only screen and (min-height: 458px) and (max-height: 478px) and (display-mode:standalone){  
.main, html {
    /* min-height: 330px; */
    /* max-height: 330px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 9px;
}
.logotipoHome > img {
    width: 25%;
    max-width: 512px;
}
}

@media only screen (max-height: 458px) and (display-mode:fullscreen),
only screen (max-height: 458px) and (display-mode:standalone){  
.main, html {
    /* min-height: 330px; */
    /* max-height: 330px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 12px;
}
.logotipoHome > img {
    width: 25%;
    max-width: 512px;
}
}

@media only screen and (min-height: 478px) and (max-height: 498px) and (display-mode:fullscreen),
only screen and (min-height: 478px) and (max-height: 498px) and (display-mode:standalone){  
.main, html {
    /* min-height: 330px; */
    /* max-height: 330px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 12px;
}
.logotipoHome > img {
    width: 30%;
    max-width: 512px;
}
}

@media only screen and (min-height: 498px) and (max-height: 518px) and (display-mode:fullscreen),
only screen and (min-height: 498px) and (max-height: 518px) and (display-mode:standalone){  
.main, html {
    /* min-height: 330px; */
    /* max-height: 330px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 12px;
}
.logotipoHome > img {
    width: 35%;
    max-width: 512px;
}
} 

@media only screen and (min-height: 518px) and (max-height: 538px) and (display-mode:fullscreen),
only screen and (min-height: 518px) and (max-height: 538px) and (display-mode:standalone){  
.main, html {
    /* min-height: 350px; */
    /* max-height: 350px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 12px;
}
.logotipoHome > img {
    width: 40%;
    max-width: 512px;
}
}

@media only screen and (min-height: 538px) and (max-height: 558px) and (display-mode:fullscreen),
only screen and (min-height: 538px) and (max-height: 558px) and (display-mode:standalone){  
.main, html {
    /* min-height: 350px; */
    /* max-height: 350px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 12px;
}
.logotipoHome > img {
    width: 45%;
    max-width: 512px;
}
}
  
@media only screen and (min-height: 558px) and (max-height: 578px) and (display-mode:fullscreen),
only screen and (min-height: 558px) and (max-height: 578px) and (display-mode:standalone){  
.main, html {
    /* min-height: 370px; */
    /* max-height: 370px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 13px;
}
.logotipoHome > img {
    width: 50%;
    max-width: 512px;
}
}

@media only screen and (min-height: 578px) and (max-height: 598px) and (display-mode:fullscreen),
only screen and (min-height: 578px) and (max-height: 598px) and (display-mode:standalone){  
.main, html {
    /* min-height: 370px; */
    /* max-height: 370px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 14px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 598px) and (max-height: 618px) and (display-mode:fullscreen),
only screen and (min-height: 598px) and (max-height: 618px) and (display-mode:standalone){  
.main, html {
    /* min-height: 390px; */
    /* max-height: 390px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 14px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 618px) and (max-height: 638px) and (display-mode:fullscreen),
only screen and (min-height: 618px) and (max-height: 638px) and (display-mode:standalone){  
.main, html {
    /* min-height: 390px; */
    /* max-height: 390px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 14px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 638px) and (max-height: 658px) and (display-mode:fullscreen),
only screen and (min-height: 638px) and (max-height: 658px) and (display-mode:standalone){  
.main, html {
    /* min-height: 410px; */
    /* max-height: 410px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 16px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 658px) and (max-height: 678px) and (display-mode:fullscreen),
only screen and (min-height: 658px) and (max-height: 678px) and (display-mode:standalone){  
.main, html {
    /* min-height: 410px; */
    /* max-height: 410px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 16px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 678px) and (max-height: 698px) and (display-mode:fullscreen),
only screen and (min-height: 678px) and (max-height: 698px) and (display-mode:standalone){  
.main, html {
    /* min-height: 430px; */
    /* max-height: 430px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 17px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 698px) and (max-height: 718px) and (display-mode:fullscreen),
only screen and (min-height: 698px) and (max-height: 718px) and (display-mode:standalone){  
.main, html {
    /* min-height: 430px; */
    /* max-height: 430px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 17px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 718px) and (max-height: 738px) and (display-mode:fullscreen),
only screen and (min-height: 718px) and (max-height: 738px) and (display-mode:standalone){  
.main, html {
    /* min-height: 450px; */
    /* max-height: 450px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 18px;
}
}

@media only screen and (min-height: 738px) and (max-height: 758px) and (display-mode:fullscreen),
only screen and (min-height: 738px) and (max-height: 758px) and (display-mode:standalone){  
.main, html {
    /* min-height: 450px; */
    /* max-height: 450px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 18px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 758px) and (max-height: 778px) and (display-mode:fullscreen),
only screen and (min-height: 758px) and (max-height: 778px) and (display-mode:standalone){  
.main, html {
    /* min-height: 470px; */
    /* max-height: 470px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 19px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 778px) and (max-height: 798px) and (display-mode:fullscreen),
only screen and (min-height: 778px) and (max-height: 798px) and (display-mode:standalone){  
.main, html {
    /* min-height: 470px; */
    /* max-height: 470px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 19px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 798px) and (max-height: 818px) and (display-mode:fullscreen),
only screen and (min-height: 798px) and (max-height: 818px) and (display-mode:standalone){  
.main, html {
    /* min-height: 490px; */
    /* max-height: 490px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 20px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 818px) and (max-height: 838px) and (display-mode:fullscreen),
only screen and (min-height: 818px) and (max-height: 838px) and (display-mode:standalone){  
.main, html {
    /* min-height: 490px; */
    /* max-height: 490px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 20px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 838px) and (max-height: 858px) and (display-mode:fullscreen),
only screen and (min-height: 838px) and (max-height: 858px) and (display-mode:standalone){  
.main, html {
    /* min-height: 490px; */
    /* max-height: 490px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 20px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 858px) and (max-height: 878px) and (display-mode:fullscreen),
only screen and (min-height: 858px) and (max-height: 878px) and (display-mode:standalone){  
.main, html {
    /* min-height: 490px; */
    /* max-height: 490px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 21px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 878px) and (max-height: 898px) and (display-mode:fullscreen),
only screen and (min-height: 878px) and (max-height: 898px) and (display-mode:standalone){  
.main, html {
    /* min-height: 490px; */
    /* max-height: 490px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 21px;
}
.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

@media only screen and (min-height: 898px) and (max-height: 1400px) and (display-mode:fullscreen),
only screen and (min-height: 898px) and (max-height: 1400px) and (display-mode:standalone){  
.main, html {
    /* min-height: 490px; */
    /* max-height: 490px; */
    height: 95%;
    width: 100vw;
    overflow: auto;
    font-size: 21px;
}

.logotipoHome > img {
    width: 55%;
    max-width: 512px;
}
}

.main{
    position:relative;
    z-index: 2;
}

.imgBanner{
    width:100%;
    position:absolute;
    bottom:0px;
    right:0px;
    left:0px;
    text-align:center;
    margin-left: auto;
    margin-right: auto;
    max-width: 512px;
}

.spaceExtraBottom{
    margin-bottom: 0.625em;
}

.spaceExtraTop{
    margin-top: 0.625em;
}

.parent{
    height:100%;
}

.home-page{
    display:block;
    height:inherit;
    width:100%;
}

.centerAlign{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.titulo{
    text-align:center;
    margin-bottom: 0.625em;   
    font-family: 'Dosis', sans-serif !important;
}    

.titulo span{
    font-size: 2.3em;
    font-weight: bold;
}

.tituloMedium{
    text-align:center;
    margin-bottom: 0.325em;
    font-size: 1.8em;
    font-weight: bold;
    font-family: 'Dosis', sans-serif !important;
    margin-top: 0.325em;
}


.tituloSmall{
    text-align:center;
    margin-bottom: 0.625em;
    font-size: 1.4em;
    font-weight: bold;
    font-family: 'Dosis', sans-serif !important;
}

.rght{
    text-align: right;
}

.cntr{
    text-align: center;
}

.izq{
    text-align: left !important;
}

.texto{
    min-height: 10%;
    text-align: center;
    font-family: 'Dosis', sans-serif !important;
    margin-top: 0.625em;
}

.texto span{
    font-size: 1.4em;
}

.btnIntro{
    text-align: center;
    min-height: 30px;
    font-family: 'Dosis', sans-serif !important;
    margin-top: 0.625em;
}

button{
    text-align: center;
    min-height: 37px;
    width: 93%;
    padding: 8px;
    font-family: 'Dosis', sans-serif !important;
    border-radius: 4px;
    margin-top: 0.525em;
    margin-bottom: 0.525em;
    font-size: 1.2em;
    font-weight: bold;
    margin-left: 0px;
    margin-right: 0px;
    align-items: center;
}

.ctrlForm{
    z-index:900;
    background-color: #c9c8c8;
}

.labelForm{
    font-size: 1.2em;
    font-weight: bold;
}

.negrita{
    font-weight: bold;
}

select{
    width: 100% !important;
}

.logotipoHome{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.logotipo{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 70%;
}

.logotipo > img {
    width: 85%;
    max-width: 512px;
}

.splash{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 120%;
}

.splash > img {
    width: 85%;
    max-width: 512px;
}

.splashBtn{
    position: absolute;
    display: flex;
    top: 0px;
    left: 0px;
    text-align: center;
    width: 100%;
    height: 85%;
    align-items: center;
}

.splashGPS{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position:relative;
}

.splashGPS > img {
    width: 90%;
    max-width: 512px;
}

[v-cloak] { 
    display: none; 
}


#tablaDashboard {
    /*display: table;*/
    width: 88.375%;
    max-width: 88.375%;
    text-align: center;
    margin: 0 auto;
    padding-top: 0.75em;
}

#cabDashboard, .bodyDashboard{
    /*display: table-row;*/
}

.bodyLeftDashboard{
    width: 50%;
    float:left;
}

.bodyRightDashboard{
    width: 50%;
    float: right;
}

#cabLavadoras, #cabSecadoras{
    /*display: table-cell;*/
    vertical-align: middle;
    padding-bottom: 1em;
    max-width: 100%;
    width: 100%;
}

.cabeceraLav{
    background-color: #5fb230;
    color:#fff;
    max-width: 97%;
    width: 97%;
    font-size:1.3em;
    font-weight: bold;
    border-radius: 4px;
}

.cabeceraBookPaidLav{
    background-color: #5fb230


;
    color:#fff;
    width: 100%;
    font-size:1.4em;
    font-weight: bold;
    border-radius: 4px;
}

.cabeceraSec{
    background-color: #000;
    color:#fff;
    width: 97%;
    font-size:1.3em;
    font-weight: bold;
    border-radius: 4px;
}

.cabeceraBookPaidSec{
    background-color: #000;
    color:#fff;
    width: 100%;
    font-size:1.4em;
    font-weight: bold;
    border-radius: 4px;
}

.itemLavadora, .itemSecadora {
    /*display: table-cell;*/
    vertical-align: middle;     
    max-width: 100%;
    width: 100%;
    padding-bottom: 0.925em;
}

.bookpaid-page, .paid-page {
    display: table;
    width: 90%;
    max-width: 90%;
    text-align: center;
    margin: 0 auto;
    padding-top: 0.25em;
    border-collapse: separate;
    -webkit-border-vertical-spacing: 0.5em;
}


.busy-page, .book-page {
    width: 84.375%;
    max-width: 84.375%;
    height:100%;
    text-align: center;
    margin: 0 auto;
    padding-top: 0.25em;
    border-collapse: separate;
    -webkit-border-vertical-spacing: 0.8em;
}

#cabMaquina, #btnActions
{
    display: table-row;
    vertical-align: middle;
    padding: 10px;
    /*font-size: 19px;*/
}

#itemMaquina
{
    /*display: table-row;*/
    vertical-align: middle;
    /*font-size: 19px;*/
}

#timerMaquina
{
   /* display: table-row;*/
   margin-top: 0.375em;
   margin-bottom: 0.375em;
   height:70%;
}

.timerCell{
    /*display: table-cell;*/
    vertical-align: middle;
    font-size: 1.6em;    
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0 auto; 
}

.contentSvgDashBoard{
    position:relative;
    height: 4.77em;
    width: 100%;
}

.contentSvg{
    position:relative; 
    overflow: auto; 
    height: 12.39em;
    width: 100%;
}

.contentSvgPaid{
    position:relative; 
    overflow: auto; 
    width:100%;
    height: 8.39em;
}

.margenTop{
    margin-top: 0.375em;
}

.contentSvgDashBoard .Sektor {
  width: 100%;
  height: 4.78em;
  position: absolute;
  left: 0px;
  top: 0px;
}

.contentSvg .Sektor {
  width: 130px;
  height: 64px;
  position: absolute;
  left: -31px;
}

.timerSvg{
    position:relative;
    height: 100%;
}

.textTimer{
    position: absolute;  
    font-size: 1.7em;
    font-weight: bold; 
    width: 100%;
    display: flex;
    text-align:center;
    justify-content: center;
    align-items: center;
    height: inherit;
    margin-top: 0px;
    top: 0;
    left: 0;
    bottom: 0px;
    right: 0px;
}

.textOrderId{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0px;
    right: 0px;
    font-size: 1.0em;
    font-weight: bold;  
    width: 100%;
    display: flex;
    text-align:center;
    justify-content: center;
    align-items: center;
    height: inherit;
    margin-top: 40px;
}

.textMachine{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0px;
    right: 0px;
    font-size: 2.0em;
    font-weight: bold;  
    width: 100%;
    display: flex;
    text-align:center;
    justify-content: center;
    align-items: center;
    height: inherit;
    margin-top:  -65px;
}

.timerSvg .Sektor {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
}

.numDashboard{
    position: absolute;
    top: 0px;
    left: 0px;  
    font-size: 2.78em;
    font-weight: bolder;
    width: inherit;
    height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.numBook{
    position: absolute;
    top: 0px;
    left: 0px;  
    font-size: 6.46em;
    font-weight: bolder;
    width: inherit;
    height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.numPaid{
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 5.8em;
    font-weight: bolder;
    width: inherit;
    height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.numberWeight{
    position: absolute;
    top: 9px;
    font-size: 24px;
    font-weight: bold;
    right: 16%;
}

.numberBookPaidWeight{
    position: absolute;
    top: 13px;
    font-size: 28px;
    right: 18%;
    color: black;
}

.numDashboard.Free, .numBook.Free, .numPaid.Free, .numPaid.Book, .numberWeight.Free{
    color: #5fb230;
}

.numDashboard.Book,.numberWeight.Book
{
    color: #5fb230;
}

.numDashboard.Busy, .numDashboard.Start, .numberWeight.Busy, .numBook.Busy, .numPaid.Busy{
    color: #FF0000;
}

.numDashboard.Off, .numBook.Off, .numPaid.Off, .numberWeight.Off{
    color: #ccc;
}

.labelFree{
    background-color: #5fb230
;
    max-width: 25px;
    min-width: 25px;
    max-height: 18px !important;
    min-height: 14px;
    border-radius: 4px;
}

.labelBook{
    background-color: #00B0F0
;
    max-width: 25px;
    min-width: 25px;
    max-height: 18px !important;
    min-height: 14px;
    border-radius: 4px;
}

.labelBusy{
    background-color: #FF0000


;
    max-width: 25px;
    min-width: 25px;
    max-height: 18px !important;
    min-height: 14px;
    border-radius: 4px;
}

.labelColor{
    width: 32px;
    padding-right: 5px !important;
}

.leyenda{
    border:none !important;
    width: 100%;
    max-height: 18px !important;    
    list-style-type: none;
    display: block;
    margin: 0px;
    padding: 0px;
    padding-top: 0.5em;
}

.leyenda li {
    display: inline-block;
    padding: 5px 0px 5px 0px;
    font-size: 0.875em;
    list-style: none;
}

.leyenda li span{
    display: inline-block;
    padding: 5px 0px 5px 0px;
    width: 25px;
}

.labelOne{
    text-align: left;
}

.labelTwo{
    text-align: center; 
}

.labelThree{
    text-align: right;
}

.spaceZero{
    padding: 0px;
}

.svgDash {
    width: 100%;
    height: 100%;
    display: block;
}

.svgDashBookPaid{
    width: 100%;
    height: 100%;
    display: block;
}

.lavadoraOut {
    fill:none;
    stroke-width:0.6px;
}

.lavadoraIn {
    fill:none;
    stroke-width: 0.4px;
}

.lavadoraOutBookPaid {
    fill:none;
    stroke-width:0.6px;
}

.lavadoraInBookPaid {
    fill:none;
    stroke-width:0.4px;
}

.lavadoraIn.Free, .secadoraIn.Free,.lavadoraInBookPaid.Free,.secadoraInBookPaid.Free,.lavadoraInBookPaid.Book, .secadoraInBookPaid.Book
{
    stroke: #5fb230;
}


.secadoraOut.Free, .secadoraOutBookPaid.Free, .secadoraOutBookPaid.Book

{
    stroke: #000;
}

.lavadoraOut.Free,.lavadoraOutBookPaid.Free, .lavadoraOutBookPaid.Book

{
    stroke: #00B0F0;
}


.lavadoraIn.Book, .lavadoraOut.Book, .secadoraIn.Book, .secadoraOut.Book
{
    stroke: #00B0F0;
}

.lavadoraIn.Start, .lavadoraOut.Start, .lavadoraIn.Busy, .lavadoraOut.Busy, .secadoraIn.Start, .secadoraOut.Start, .secadoraIn.Busy, .secadoraOut.Busy, .lavadoraInBookPaid.Busy, .lavadoraOutBookPaid.Busy, .lavadoraInBookPaid.Start, .lavadoraOutBookPaid.Start, .secadoraInBookPaid.Start , .secadoraOutBookPaid.Start, .secadoraInBookPaid.Busy, .secadoraOutBookPaid.Busy
{
    stroke: #FF0000;
}

.lavadoraIn.Off, .lavadoraOut.Off, .secadoraIn.Off, .secadoraOut.Off, .lavadoraInBookPaid.Off, .lavadoraOutBookPaid.Off .secadoraInBookPaid.Off, .secadoraOutBookPaid.Off
{
    stroke: #ccc;
}

.secadoraOut {
    fill:none;
    stroke-width:0.6px;    
}

.secadoraIn {
    fill:none;
    stroke-width:0.4px;    
}

.secadoraOutBookPaid {
    fill:none;
    stroke-width: 0.6px;
}


.secadoraInBookPaid {
    fill:none;
    stroke-width: 0.4px;
    stroke:blue;
}

.btnPaid button{
    background-color: #FF0000 !important;
}

.btnPagar button{
    background-color: #5fb230 !important;
}

.btnBizum button{
    background-color: #00B0F0 !important;
}

.btnBook,.btnPaid,.btnBizum,.btnVisa{
    z-index: 900;
}

.tablePrice{
    color: #FF0000;
    font-weight: bold;
    font-size: 2.0em;
    padding-bottom: 0.15em;
}

.tableText{
    color:black;
    font-size: 0.9em;
    z-index: 900;   
}

.textPaid{
    color:black;
    font-size: 0.9em;   
    text-align: left;
    z-index: 900;
}

.textConditions{
    color:#000;
    font-size: 1.0em;
    text-align: left;
    z-index: 900;
}

.timer{
    height: 250px;
}

.update-page{
    text-align: center;
}

#popupcookies{
    position: absolute;
    display: none;
    margin:0 auto;
    top:0px;
    left: 0px;
    right: 0px;
    width: 95vw;
    max-height: 50vh;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);    
}

#textCookies p{
    font-size: 12px;
}

.dropdown{
    position:relative;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content 
{
  display: none;
  position: absolute;
  right: 0px;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 950;
}

/* Links inside the dropdown */
.dropdown-content span 
{
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.9em;
}

.dropdown-show 
{
    display:block;    
}

.dropdown-content li {
    display: block;
    position: relative;
}

.dropdown-content ul ul {
    display: none;
}

.dropdown-content ul ul li {
    max-width:150px;
    min-width:150px;
}

/* Dropdown Content (Hidden by Default) */
.dropLanguage{
    position:relative;
}

.dropLanguage-content 
{
  display: none;
  position: absolute;
  right: 0px;
  background-color: #000;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropLanguage-content span 
{
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.9em;
}

.dropLanguage-show 
{
    display:block;    
}

#nameShop{
    color: black;
 ;
    font-weight: bold;
    font-size: 0.95em;
    line-height: 60px;    
}

.history{
    overflow:auto;
    min-height:50vh;
    max-height:65vh;
}

.reset{
    clear:both;
}

.collapse{
    margin-left: 0px !important;
    margin-right: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    width: 100% !important;
    position:relative;
}

.collapse>label{
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    border-radius: 4px !important;
    background: var(--button-back-color) !important;
    color: var(--button-fore-color) !important;
    border: .0625rem solid var(--button-border-color) !important;
    margin-top: 2px !important;
    height: auto !important;
}

.bot
{
    height: 100%;
    width: 100%;
    border: none;    
}

.ios-prompt 
{
    background-color: #fcfcfc;
    border: 1px solid #666;
    display: none;
    padding: 0.8rem 1rem 0 0.5rem;
    text-decoration: none;
    font-size: 16px;
    color: #555;

    position: absolute;
    margin: 0 auto 1rem;
    left: 1rem;
    right: 1rem;
    bottom: 0;
    z-index: 3;
}

.iconPago {
    font-size: 3em;
}

.flipswitch {
  position: relative;
  background: #fff;
  width: 80px;
  height: 40px;
  -webkit-appearance: initial;
  border-radius: 20px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  outline: none;
  font-size: 0.65em;
  /*font-family: Trebuchet, Arial, sans-serif;*/
  font-weight: bold;
  cursor: pointer;
  border: 1px solid #ddd;
}

.flipswitch:after {
  position: absolute;
  top: 5%;
  display: block;
  line-height: 32px;
  width: 45%;
  height: 90%;
  background: #fff !important;
  box-sizing: border-box;
  text-align: center;
  transition: all 0.3s ease-in 0s;
  color: black;
  border: #555 1px solid;
  border-radius: 20px;
}

.flipswitch:after {
  left: 2%;
  content: "OFF";
}

.flipswitch:checked:after {
  left: 53%;
  content: "ON";
  background: #5fb230;
}

.flipswitch:before{
    top:0 !important;
}

.flipswitch:checked {
    background: #5fb230;
}

.flipswitchalign {
    line-height: 45px;
}

#acpconpaid, #acpcond {
    color: #5fb230;
}

.device-card {
    position: relative;
    margin: 5px;
}

.corner-icon {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 16px;
    line-height: 1;
    cursor: help;
    z-index: 1;
    background-color: transparent;
    padding: 2px;           /* Pequeño espacio para no cortar el icono */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5fb230;
    pointer-events: none;   /* Opcional: si no quieres que interfiera con clics */
    border: none;
    box-shadow: none;
}

.corner-icon-middle{
    position: absolute;
    top: 6px;
    right: 26px;
    font-size: 16px;
    line-height: 1;
    cursor: help;
    z-index: 1;
    background-color: transparent;
    padding: 2px;           /* Pequeño espacio para no cortar el icono */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5fb230;
    pointer-events: none;   /* Opcional: si no quieres que interfiera con clics */
    border: none;
    box-shadow: none;
}

.corner-icon-left {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 16px;        /* Tamaño visible */
    line-height: 1;
    cursor: help;
    z-index: 1;            
    background: transparent;
    padding: 2px;           /* Pequeño espacio para no cortar el icono */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5fb230;
    pointer-events: none;   /* Opcional: si no quieres que interfiera con clics */
    border: none;
    box-shadow: none;
}

.corner-icon-left-2 {
    position: absolute;
    top: 38px;
    left: 10px;           /* ← Cambiado: de right a left */
    font-size: 18px;
    line-height: 1;
    cursor: help;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 4px 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5fb230;       /* Azul para todos los iconos */
}

.device-switch-container {
    text-align: center;
    padding: 15px 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    position: relative;
    min-height: 65px;  /* Altura fija para evitar expansión */
}

.device-label {
    margin-top: 10px;
    font-size: 14px;
    position: relative;
}
.device-name {
    font-weight: bold;
}

/* Switch ON/OFF */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 28px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #5fb230;
}

input:checked + .slider:before {
    transform: translateX(22px);
}

/* Badge NC */
.device-badge {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    font-size: 9px;
    font-weight: bold;
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
}


/* Cuenta atrás flotante */
.timer-badge-top-left {
    position: absolute;
    top: -12px; ;  /* Ajusta este valor según necesites */
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-family: 'Courier New', monospace;
    color: #888;
    background: transparent;
    padding: 0;
    z-index: 10;
    letter-spacing: 0.5px;
    white-space: nowrap;
    pointer-events: none;
    border: none;
    box-shadow: none;
}

/* Cuando el tiempo se está acabando (menos de 10 segundos) */
.timer-badge-top-left.warning {
    color: #ff6b6b;
    animation: pulse-warning 1s ease-in-out infinite;
}

@keyframes pulse-warning {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Icono de configuración (engranaje) */
.settings-icon {
    position: absolute;
    bottom: 8px;
    right: 10px;  /* Al lado del corner-icon */
    font-size: 16px;
    color: #aaa;
    cursor: pointer;
    z-index: 5;
    padding: 4px 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.settings-icon:hover {
    color: #5fb230;
    transform: rotate(90deg);
    background: rgba(33, 150, 243, 0.15);
}

/* ===== DEVICE SETTINGS PAGE ===== */
.device-settings-page {
    width: 88.375%;
    max-width: 88.375%;
    text-align: center;
    margin: 0 auto;
    padding-top: 0.75em;
}

.device-settings-page .settings-header {
    margin-bottom: 1em;
}

.device-settings-page .btn-back {
    background: none;
    border: none;
    font-size: 2em;
    color: #5fb230;
    cursor: pointer;
    padding: 0 10px;
    margin-right: 10px;
    width: auto;
}

.device-settings-page .btn-back:hover {
    color: #0088cc;
}

.device-settings-page .formulario {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px 15px;
    margin-top: 10px;
}

.device-settings-page .ctrlForm {
    background: transparent !important;
    padding: 2px 0;
}

.device-settings-page .ctrlForm label {
    font-size: 0.9em;
    color: #555;
    text-align: left;
    display: block;
}

.device-settings-page .ctrlForm input,
.device-settings-page .ctrlForm select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    background: white;
    width: 100%;
    box-sizing: border-box;
}

.device-settings-page .ctrlForm input:focus,
.device-settings-page .ctrlForm select:focus {
    border-color: #5fb230;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 176, 240, 0.3);
}

.device-settings-page .ctrlForm input[type="time"] {
    width: 100%;
}

/* Tipo de dispositivo badge */
.device-type-display {
    text-align: center;
    padding: 5px 0;
}

.type-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
    background: #e0e0e0;
    color: #555;
}

.type-badge.switch { background: #e3f2fd; color: #1565C0; }
.type-badge['switch:nc'] { background: #ffebee; color: #c62828; }
.type-badge.pulse { background: #fff3e0; color: #e65100; }
.type-badge.timer { background: #fce4ec; color: #c62828; }
.type-badge.clock { background: #e8f5e9; color: #2e7d32; }
.type-badge.interlock { background: #f3e5f5; color: #6a1b9a; }

/* Mensajes de estado */
.save-message {
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
    font-weight: bold;
}

.save-message.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.save-message.error {
    background: #ffebee;
    color: #c62828;
}

/* Opciones de reinicio */
.restart-options {
    margin-top: 15px;
    padding: 15px;
    background: #fff8e1;
    border-radius: 8px;
    border: 1px solid #ffcc02;
}

.restart-options p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 10px;
}

.restart-options button {
    width: 45%;
    margin: 5px 2%;
}

/* ===== DEVICE SETTINGS PAGE (REDISEÑO) ===== */
.device-settings-page {
    width: 88.375%;
    max-width: 88.375%;
    margin: 0 auto;
    padding-top: 0.75em;
}

/* Cabecera con iconos */
.settings-header {
    background: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-icon {
    background: none;
    border: none;
    font-size: 24px;
    color: #888;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
    transition: all 0.2s;
    width: auto;
    min-height: auto;
    margin: 0;
}

.btn-icon:hover {
    background: rgba(0,176,240,0.1);
    color: #00B0F0;
}

.btn-icon.save-btn {
    color: #00B0F0;
}

.btn-icon.save-btn:hover {
    background: rgba(0,176,240,0.15);
    transform: scale(1.1);
}

.btn-icon.save-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.header-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
}

/* Cuerpo */
.settings-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Tarjetas de configuración */
.setting-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}

.setting-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.setting-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.setting-label i {
    font-size: 1.2em;
    width: 24px;
    text-align: center;
}

.setting-label small {
    font-weight: normal;
    color: #999;
    font-size: 0.8em;
}

.setting-control {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.styled-select,
.styled-input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.styled-select:focus,
.styled-input:focus {
    border-color: #5fb230;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,176,240,0.15);
    background: #fff;
}

.time-input {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #333;
}

.hint {
    font-size: 0.75em;
    color: #999;
    padding-left: 4px;
}

/* Radio buttons */
.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 4px 0;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    color: #666;
}

.radio-option.active {
    background: #e3f2fd;
    color: #00B0F0;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option i {
    font-size: 1.1em;
}

/* Mensajes de estado */
.status-message {
    padding: 12px 16px;
    border-radius: 8px;
    background: #f0f9f0;
    color: #2e7d32;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    border-left: 4px solid #2e7d32;
}

.status-message i {
    font-size: 1.4em;
}

.status-message:not(.success) {
    background: #fdecea;
    color: #c62828;
    border-left-color: #c62828;
}

/* Tarjeta de reinicio */
.restart-card {
    background: #fff8e1;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #ffe082;
    box-shadow: 0 2px 8px rgba(255,193,7,0.15);
}

.restart-icon {
    font-size: 2.5em;
    color: #FF9800;
    margin-bottom: 8px;
}

.restart-card p {
    font-weight: 600;
    color: #555;
    margin-bottom: 16px;
}

.restart-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-restart {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1em;
    min-height: 44px;
}

.btn-restart.now {
    background: #5fb230;
    color: #fff;
}

.btn-restart.now:hover {
    background: #0088cc;
    transform: scale(1.02);
}

.btn-restart.later {
    background: #e0e0e0;
    color: #555;
}

.btn-restart.later:hover {
    background: #ccc;
}

/* Responsive */
@media (max-width: 576px) {
    .device-settings-page {
        width: 95%;
    }
    .radio-group {
        flex-direction: column;
        gap: 8px;
    }
    .radio-option {
        width: 100%;
        justify-content: center;
    }
    .restart-actions {
        flex-direction: column;
        align-items: center;
    }
    .btn-restart {
        width: 100%;
        justify-content: center;
    }
}

/* ===== HEADER ESTILO DASHBOARD PARA SETTINGS (AZUL) ===== */
.settings-header-dashboard {
    background-color: #5fb230;
    color: #fff;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
}

.settings-header-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.btn-back-white {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8em;
    cursor: pointer;
    padding: 0 5px;
    width: auto;
    min-height: auto;
    margin: 0;
    transition: color 0.2s;
}
.btn-back-white:hover {
    color: #e0f2fe;
}

.device-icon-header {
    font-size: 1.4em;
    color: #fff;
    margin-right: 4px;
    display: flex;
    align-items: center;
}

.settings-title-wrapper {
    flex: 1;
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
}

.settings-title {
    display: inline-block;
    color: #fff;
    cursor: default;
}

.settings-title-input {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    color: #fff;
    padding: 4px 8px;
    font-size: 1em;
    width: 80%;
    max-width: 300px;
    text-align: center;
    font-weight: bold;
}
.settings-title-input:focus {
    outline: none;
    background: rgba(255,255,255,0.3);
    border-color: #fff;
}

.btn-edit-name-white {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4em;
    cursor: pointer;
    padding: 0 8px;
    width: auto;
    min-height: auto;
    margin: 0;
    transition: transform 0.2s;
}
.btn-edit-name-white:hover {
    transform: scale(1.1);
}

.btn-save-header-white {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6em;
    cursor: pointer;
    padding: 0 8px;
    width: auto;
    min-height: auto;
    margin: 0;
    transition: transform 0.2s;
}
.btn-save-header-white:hover {
    transform: scale(1.1);
}
.btn-save-header-white:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 576px) {
    .settings-title {
        font-size: 1em;
    }
    .settings-title-input {
        width: 70%;
        font-size: 0.9em;
    }
    .btn-back-white {
        font-size: 1.5em;
    }
    .btn-edit-name-white,
    .btn-save-header-white {
        font-size: 1.2em;
    }
    .device-icon-header {
        font-size: 1.2em;
    }
}

/* Header estilo dashboard (azul, texto blanco) */
.settings-header-dashboard {
    background-color: #5fb230;
    color: #fff;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 20px;
    min-height: 48px;
}

.settings-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 6px;
}

.btn-back-white {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8em;
    cursor: pointer;
    padding: 0 5px;
    width: auto;
    min-height: auto;
    margin: 0;
    transition: color 0.2s;
    flex-shrink: 0;
}
.btn-back-white:hover {
    color: #e0f2fe;
}

.settings-title-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    text-align: center;
}

.device-icon-header {
    font-size: 1.4em;
    color: #fff;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.settings-title {
    display: inline-block;
    color: #fff;
    cursor: default;
    font-size: 1.3em;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.settings-title-input {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    color: #fff;
    padding: 4px 8px;
    font-size: 1em;
    width: 100%;
    max-width: 300px;
    text-align: center;
    font-weight: bold;
    min-width: 60px;
}
.settings-title-input:focus {
    outline: none;
    background: rgba(255,255,255,0.3);
    border-color: #fff;
}

.btn-edit-name-white,
.btn-save-header-white {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0 8px;
    width: auto;
    min-height: auto;
    margin: 0;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.btn-edit-name-white {
    font-size: 1.4em;
}
.btn-save-header-white {
    font-size: 1.6em;
}
.btn-edit-name-white:hover,
.btn-save-header-white:hover {
    transform: scale(1.1);
}
.btn-save-header-white:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 576px) {
    .settings-title {
        font-size: 1em;
    }
    .settings-title-input {
        font-size: 0.9em;
        max-width: 180px;
    }
    .btn-back-white {
        font-size: 1.5em;
    }
    .btn-edit-name-white,
    .btn-save-header-white {
        font-size: 1.2em;
    }
    .device-icon-header {
        font-size: 1.2em;
    }
    .settings-title-wrapper {
        gap: 4px;
    }
}

/* ===== FEEDBACK AREA (mensajes + reinicio) ===== */
.feedback-area {
    margin: 8px 12px 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feedback-area .status-message {
    margin: 0;
    padding: 10px 14px;
    font-size: 0.95em;
    border-radius: 6px;
    animation: slideDown 0.3s ease-out;
}

.feedback-area .restart-card {
    margin: 0;
    padding: 12px 14px;
    border-radius: 8px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== TARJETAS (más compactas) ===== */
.settings-body {
    gap: 10px;
    padding: 0 12px 12px;
}

.setting-card {
    padding: 12px;
    margin-bottom: 0;
}

.setting-label {
    font-size: 0.85em;
    margin-bottom: 4px;
}

.setting-label i {
    font-size: 1em;
    width: 20px;
}

.styled-select,
.styled-input {
    padding: 10px 12px;
    font-size: 0.95em;
}

/* ===== RADIO BUTTONS (más fáciles de tocar) ===== */
.radio-option {
    padding: 10px 14px;
    font-size: 0.95em;
}

/* ===== REINICIO (botones más grandes) ===== */
.btn-restart {
    min-height: 48px;
    font-size: 1em;
    padding: 10px 20px;
}

/* ===== RESPONSIVE PARA MÓVILES (menos de 768px) ===== */
@media (max-width: 767px) {
    .settings-header-dashboard {
        padding: 6px 10px;
        min-height: 44px;
    }
    .settings-title {
        font-size: 1em;
    }
    .settings-title-input {
        font-size: 0.9em;
        max-width: 180px;
    }
    .btn-back-white {
        font-size: 1.4em;
    }
    .btn-edit-name-white,
    .btn-save-header-white {
        font-size: 1.2em;
    }
    .device-icon-header {
        font-size: 1.2em;
    }
    .feedback-area {
        margin: 6px 10px 2px;
    }
    .feedback-area .status-message {
        font-size: 0.85em;
        padding: 8px 12px;
    }
    .restart-card {
        padding: 10px 12px;
    }
    .restart-card p {
        font-size: 0.9em;
        margin-bottom: 10px;
    }
    .restart-actions {
        gap: 8px;
    }
    .btn-restart {
        min-height: 44px;
        font-size: 0.9em;
        padding: 8px 16px;
    }
    .settings-body {
        gap: 8px;
        padding: 0 10px 10px;
    }
    .setting-card {
        padding: 10px;
    }
    .styled-select,
    .styled-input {
        padding: 8px 10px;
        font-size: 0.9em;
    }
    .radio-option {
        padding: 8px 12px;
        font-size: 0.9em;
    }
}

/* ===== MÓVILES MUY PEQUEÑOS (menos de 400px) ===== */
@media (max-width: 399px) {
    .settings-title {
        font-size: 0.85em;
    }
    .settings-title-input {
        font-size: 0.8em;
        max-width: 120px;
    }
    .btn-back-white {
        font-size: 1.2em;
    }
    .btn-edit-name-white,
    .btn-save-header-white {
        font-size: 1em;
    }
    .device-icon-header {
        font-size: 1em;
    }
    .feedback-area .status-message {
        font-size: 0.8em;
        padding: 6px 10px;
    }
    .restart-card p {
        font-size: 0.8em;
    }
    .btn-restart {
        font-size: 0.8em;
        padding: 6px 12px;
        min-height: 38px;
    }
    .setting-card {
        padding: 8px;
    }
    .styled-select,
    .styled-input {
        padding: 6px 8px;
        font-size: 0.8em;
    }
    .radio-option {
        padding: 6px 10px;
        font-size: 0.8em;
    }
}

/* ===== SELECTOR DE TIPO DE DISPOSITIVO (ICONOS + NOMBRES) ===== */
.device-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 4px;
}

.device-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px 8px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.75em;
    text-align: center;
    color: #666;
    min-height: 56px;
    user-select: none;
}

.device-type-btn i {
    font-size: 1.6em;
    margin-bottom: 2px;
    color: #999;
    transition: color 0.2s;
}

.device-type-btn span {
    font-weight: 500;
    font-size: 0.8em;
    line-height: 1.1;
    max-width: 100%;
}

/* Estado activo (seleccionado) */
.device-type-btn.active {
    border-color: #5fb230;
    background: #e3f2fd;
    box-shadow: 0 0 0 3px rgba(0, 176, 240, 0.15);
}

.device-type-btn.active i {
    color: #5fb230;
}

.device-type-btn.active span {
    color: #5fb230;
}

/* Hover en botones no seleccionados */
.device-type-btn:hover:not(.active) {
    border-color: #bbb;
    background: #eeeeee;
}

.device-type-btn:hover:not(.active) i {
    color: #555;
}

/* Colores específicos para cada tipo (opcional) */
.device-type-btn[data-type="switch"] i { color: #607D8B; }
.device-type-btn[data-type="switch:nc"] i { color: #ff6b6b; }
.device-type-btn[data-type="interlock"] i { color: #9C27B0; }
.device-type-btn[data-type="pulse"] i { color: #FF9800; }

.device-type-btn.active[data-type="switch"] i { color: #607D8B; }
.device-type-btn.active[data-type="switch:nc"] i { color: #ff6b6b; }
.device-type-btn.active[data-type="interlock"] i { color: #9C27B0; }
.device-type-btn.active[data-type="pulse"] i { color: #FF9800; }

/* ===== RESPONSIVE ===== */
@media (max-width: 500px) {
    .device-type-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
    }
    .device-type-btn {
        padding: 8px 2px 6px;
        font-size: 0.65em;
        min-height: 48px;
        border-radius: 8px;
    }
    .device-type-btn i {
        font-size: 1.3em;
    }
}

@media (max-width: 360px) {
    .device-type-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3px;
    }
    .device-type-btn {
        padding: 6px 1px 4px;
        font-size: 0.55em;
        min-height: 40px;
        border-radius: 6px;
    }
    .device-type-btn i {
        font-size: 1.1em;
        margin-bottom: 1px;
    }
}
/* ===== HORARIO EN FILA ===== */
.time-range-card .time-range-row {
    display: flex;
    gap: 12px;
    margin-top: 2px;
}

.time-range-card .time-item {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.time-range-card .time-label {
    font-size: 0.7em;
    color: #888;
    margin-bottom: 2px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.time-range-card .hint {
    margin-top: 4px;
}

/* ===== TOGGLE DE MODO DE APAGADO ===== */
.shutdown-toggle {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.toggle-btn {
    flex: 1;
    padding: 8px 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #f5f5f5;
    color: #666;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    text-align: center;
}

.toggle-btn i {
    font-size: 1.1em;
}

.toggle-btn.active {
    border-color: #00B0F0;
    background: #e3f2fd;
    color: #00B0F0;
    box-shadow: 0 0 0 3px rgba(0, 176, 240, 0.15);
}

.toggle-btn:hover:not(.active) {
    border-color: #bbb;
    background: #eee;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 500px) {
    .time-range-card .time-range-row {
        flex-direction: row;
        gap: 8px;
    }
    .time-range-card .time-label {
        font-size: 0.65em;
    }
    .toggle-btn {
        font-size: 0.75em;
        padding: 6px 8px;
        min-height: 36px;
    }
    .toggle-btn i {
        font-size: 0.9em;
    }
}

@media (max-width: 360px) {
    .time-range-card .time-range-row {
        gap: 4px;
    }
    .time-range-card .time-label {
        font-size: 0.6em;
    }
    .toggle-btn {
        font-size: 0.7em;
        padding: 4px 6px;
        min-height: 32px;
    }
}
/* ===== TOGGLE SWITCH ===== */
.schedule-toggle .setting-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    margin-left: auto;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #5fb230;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

/* ===== HORARIO EN FILA ===== */
.setting-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.setting-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.setting-field label {
    font-size: 0.8em;
    color: #666;
    font-weight: 600;
}

.setting-field .hint {
    font-size: 0.65em;
    color: #999;
}

.setting-field input {
    width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 500px) {
    .setting-row {
        flex-direction: column;
        gap: 8px;
    }
}
/* ===== HORARIO CON TOGGLE (coincide con el template) ===== */
.schedule-card .schedule-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.schedule-card .schedule-toggle-row .setting-label {
    margin-bottom: 0;
}

.schedule-fields {
    margin-top: 6px;
}

.schedule-fields .time-row {
    display: flex;
    gap: 12px;
}

.schedule-fields .time-field {
    flex: 1;
}

.schedule-fields .time-field label {
    display: block;
    font-size: 0.75em;
    color: #888;
    margin-bottom: 2px;
    font-weight: 500;
}

.schedule-fields .time-field .time-input {
    width: 100%;
    padding: 8px 10px;
    font-size: 0.95em;
}

.schedule-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8em;
    color: #888;
    padding: 6px 4px;
}

.schedule-hint i {
    color: #00B0F0;
}

/* ===== TOGGLE SWITCH (ya existe, pero si no, añadir) ===== */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
    margin-left: auto;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #5fb230;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

.time-field.full-width {
    flex: 2;
}