@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    padding-top: env(safe-area-inset-top);
}

body {
     font-family: "Montserrat", sans-serif;
     background: #e6f7ff;
     background: linear-gradient(35deg, rgba(230, 247, 255, 1) 0%, rgba(157, 199, 212, 1) 100%);
}
 p {
     color: #7385a6;
     font-size: 14px;
}
 .header-login {
     display: flex;
     align-items: center;
     gap: 10px;
     justify-content: center;
     margin-bottom: 0px;
     border-radius: 30px;
}
 .header-login img {
     max-width: 45px;
}
 .header-login h2 {
     margin-bottom: 0px;
     color: #1b458f;
     font-weight: 600;
}
 .login .form-control {
     text-align: center;
     font-size: 14px;
     padding: 20px 10px;
    /* border: 0px;
     */
     background: transparent;
     border: 1px solid #7385a69c;
    /* border-radius:0px;
     */
     font-weight:600;
     color:#059cde;
}
 .login .form-control::placeholder {
     color:#7385a6;
     font-weight:400;
}
 .login .form-control:focus {
    border-color: #25a1de;
    outline: 0;
    border-width: 2px;
    box-shadow: none;
}
 .btn-custom {
     color: #fff;
     padding: 12px 25px;
     min-width: 150px;
     background-color: #22a1de;
     background-image: radial-gradient(93% 87% at 87% 89%, rgba(0, 0, 0, 0.23) 0%, transparent 86.18%), radial-gradient(66% 66% at 26% 20%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 69.79%, rgba(255, 255, 255, 0) 100%);
     border-radius: 8px;
     font-weight: 600;
     display: block;
     font-size: 16px;
     -webkit-box-shadow: 0px 6px 16px -6px rgba(0,0,0,0.6);
     box-shadow: 0px 6px 16px -6px rgba(0,0,0,0.6);
     border: 0;
     user-select: none;
     -webkit-user-select: none;
     touch-action: manipulation;
     cursor: pointer;
     transition: .2s;
}
 .btn-custom:hover {
     background: #1b458f;
     box-shadow: none;
}
 .login {
     border: 1px solid #ffffff2e;
     padding: 10px 20px 0px;
     border-radius: 8px;
     box-shadow: -10px -10px 30px 0 #a0cce5, 10px 10px 30px 0 #1d0dca17;
     box-sizing: border-box;
     background: #e6f7ff;
     background: linear-gradient(35deg, rgba(230, 247, 255, 1) 0%, rgb(213 236 244) 100%);
     margin: auto;
     max-width: 310px;
}


.privacy-modal .modal-dialog {
    /*margin: 90px 5px 5px;*/
    height: calc(100% - 95px);
    min-height: calc(100% - 95px);
}

.privacy-modal .modal-content {
    background: linear-gradient(35deg, rgba(230, 247, 255, 1) 0%, rgba(157, 199, 212, 1) 100%);
    border: 0px;
    }

.privacy-modal .modal-header {
    background: #1b458f;
    color: #ffffff;
      }


.privacy-modal .btn-close {
    filter: invert(1);
    opacity: 1;
}

.privacy-modal .modal-footer {
    background:#1c458f;
    justify-content: center;
}

.privacy-modal .modal-footer button {
    min-width: 150px;
    font-size: 14px;
    font-weight: 600;
}

.privacy-modal .modal-body h3 {
    text-align: left;
    color:#213b69;
    font-weight:600;
    line-height:1em;
    margin-bottom:15px;
}

.privacy-modal .modal-body h3 small {
    color:#47669f;
    font-weight:400;
}

.privacy-modal .modal-body p {
    text-align: left;
    color:#33486d;
}

.privacy-modal .modal-body {
    text-align: center;
    color:#33486d;
}

.privacy-modal .modal-body li {
    color:#33486d;
    text-align: left;
}

.header-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-top:before {
    content: '';
    position: absolute;
    width: 100%;
    top: 0px;
    left: 0px;
    height: 90px;
    background: #fff;
    z-index: 1;
}

.header-top img {
    max-width: 100%;
    height: 50px;
    margin: 20px 0px 30px;
    position: relative;
    z-index: 2;
}

.header-top h3 {
    text-align: center;
    font-size: 20px;
    margin: 20px 10px 21px;
    font-weight: 600;
    color: #1b458f;
}

.timbrature-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ffffff2e;
    padding: 10px 20px 0px;
    border-radius: 8px;
    box-shadow: -10px -10px 30px 0 #a0cce5, 10px 10px 30px 0 #1d0dca17;
    box-sizing: border-box;
    background: #e6f7ff;
    background: linear-gradient(35deg, rgba(230, 247, 255, 1) 0%, rgb(213 236 244) 100%);
    margin: 20px auto;
    max-width: 310px;
    min-width: 300px;
    
    margin-bottom: 80px;
    overflow: hidden;
    overflow-y: scroll;
}

.title-timbrature {
    text-align: center;
    line-height: 1.2em;
    font-size: 18px;
    color: #1c458f;
}

.posizioni-select-container {
    width: 100%;
    margin: 15px 0;
    text-align: center;
}

.select-label {
    display: block;
    margin-bottom: 8px;
    color: #1c458f;
    font-size: 14px;
    font-weight: 600;
}

.posizione-select {
    width: 100%;
    max-width: 250px;
    padding: 10px 15px;
    border: 1px solid #7385a69c;
    border-radius: 8px;
    background-color: transparent;
    color: #059cde;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin: 0 auto;
    transition: border-color 0.2s;
}

.posizione-select:focus {
    border-color: #25a1de;
    outline: 0;
    border-width: 2px;
    box-shadow: none;
}

.posizione-select option {
    background-color: #e6f7ff;
    color: #1c458f;
    padding: 5px;
}

.btn-timbra {
    width: 250px;
    height: 250px;
    line-height: 0px;
    display: block;
   
    padding: 12px 25px;
    margin:0px auto 20px;

     background-image: radial-gradient(93% 87% at 87% 89%, rgba(0, 0, 0, 0.23) 0%, transparent 86.18%), radial-gradient(66% 66% at 26% 20%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 69.79%, rgba(255, 255, 255, 0) 100%);
     border-radius: 50%;
     font-weight: 600;
     display: block;
     font-size: 30px;
    line-height:30px;
     -webkit-box-shadow: 0px 6px 16px -6px rgba(0,0,0,0.6);
     box-shadow: 0px 6px 16px -6px rgba(0,0,0,0.6);
     border: 0;
     user-select: none;
     -webkit-user-select: none;
     touch-action: manipulation;
     cursor: pointer;
     transition: .2s;
}

.entrata {
     color: #fff;
     background-color: #4CAF50;
    }

.uscita {
     color: #fff;
     background-color: #ff0000;
    }

.entrata.disabledBtn,
.uscita.disabledBtn,
.disabled-btn {
    background-color: #C0C0C0 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.disabled-btn:hover {
    background-color: #C0C0C0 !important;
}

.info-area {
    text-align: center;
    margin-bottom: 20px;
}

.info-area p strong {
    color: #1c458f;
    font-size: 20px;
    font-family: monospace;
}

div#lastInfo {
    border: 1px solid #ffffff2e;
    padding: 0px 20px 14px;
    border-radius: 8px;
    box-shadow: -10px -10px 30px 0 #a0cce5, 10px 10px 30px 0 #1d0dca17;
    box-sizing: border-box;
    background: #e6f7ff;
    background: linear-gradient(35deg, rgba(230, 247, 255, 1) 0%, rgb(213 236 244) 100%);
    margin: 20px auto;
    max-width: 310px;
    color: #439946;
    font-size: 20px;
    font-weight: 600;
    line-height: 1em;
}

div#lastInfo small {
    color: #7385a6;
    font-size: 14px;
    padding-bottom: 0.4rem;
    padding-top:1rem;
    display: inline-block;
}


.bottom-nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
    background: #1c458f;
}

.bottom-nav a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-direction: column;
    gap: 7px;
    text-decoration:none;
    font-size:18px;
    width:100%;
    border-left: 1px solid #ffffff4f;
    padding:10px 0px;
    padding-bottom: 20px;
}

.bottom-nav a:first-child {
    border-left:none;
}

.bottom-nav a small {
    font-size:14px;
}


/* width */
::-webkit-scrollbar {
  width: 3px;
    
}

/* Track */
::-webkit-scrollbar-track {
  background: #a7cdda;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #1b458f;
    border-radius: 2px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #1b458f;
}