/*------------- FONT -------------*/
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url(../font/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url(../font/KFOlCnqEu92Fr1MmEU9fBBc4.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    src: url(../font/KFOlCnqEu92Fr1MmYUtfBBc4.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    font-display: swap;
}
/*------------- FONT -------------*/





/*------------- BODY -------------*/
html, body {

    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    background-color: #ffffff;
    box-sizing: border-box;

}
*{

    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    border: 0px;

}
/*Nessun contorno (outline) su campi, pulsanti e link, nemmeno quello predefinito del browser al clic o con la tastiera*/
*,
*:focus,
*:focus-visible,
*:focus-within{ outline: none; }
.unselectable_text{
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/*------------- BODY -------------*/




/*------------- ACCEDI -------------*/
.section__accedi{

    display: block;
    width: 100%;
    margin: 0px;
    padding: 0px;

}
.section__accedi__content{

    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    padding: 40px 20px;
    margin: 0px;

}
.section__accedi__content__wrapper{

    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 440px;
    margin: 0px auto;

}
.section__accedi__content__back{

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 0px;
    text-decoration: none;
    cursor: pointer;

}
.section__accedi__content__back__svg{

    display: block;
    width: auto;
    height: 14px;
    fill: #858585;

}
.section__accedi__content__back__span{

    display: block;
    font-size: 16px;
    color: #858585;

}
.section__accedi__content__back:focus-visible{ outline: none; }
.section__accedi__content__logo{

    display: block;
    width: 100%;
    margin: 10px 0px;

}
.section__accedi__content__logo__svg{

    display: block;
    width: 100%;
    height: auto;
    fill: #000000;
    /*Le lettere toccano il bordo del disegno: senza questo il browser taglia di un pixel la loro sfumatura*/
    overflow: visible;

}
.section__accedi__content__title{

    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;

}
.section__accedi__content__output{

    display: block;
    width: 100%;
    padding: 0px;
    margin: 0px;

}
.section__accedi__content__output:empty{ display: none; }
/*Notifica dell'esito (script/output.js), uguale a quella del gestionale (app/coach/style/table.css, .panel_output):
  riquadro con lo stesso bordo su tutti i lati, dentro una barra colorata a sinistra (div, non bordo), icona, messaggio
  e X per chiuderla. Verde = fatto, rosso = errore. Il contenitore vuoto non occupa spazio*/
.panel_output{

    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    width: 100%;
    height: auto;
    min-height: 56px;
    padding: 0px 0px 0px 19px;
    margin: 0px;
    border: 1px solid #d5d5d5;
    background-color: #ffffff;

}
.panel_output__success{ background-color: #f2f9f2; }
.panel_output__error{ background-color: #fdf2f2; }
/*La barra copre il lato sinistro del bordo, angoli compresi: nessuna riga grigia accanto e nessun angolo smussato*/
.panel_output__bar{

    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -1px;
    display: block;
    width: 4px;
    padding: 0px;
    margin: 0px;

}
.panel_output__success .panel_output__bar{ background-color: #009b05; }
.panel_output__error .panel_output__bar{ background-color: #eb0000; }
.panel_output__svg{

    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    padding: 0px;
    margin: 0px;

}
.panel_output__success .panel_output__svg{ fill: #009b05; }
.panel_output__error .panel_output__svg{ fill: #eb0000; }
.panel_output__text{

    display: block;
    flex: 1 1 auto;
    min-width: 0;
    padding: 15px 0px;
    margin: 0px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #454545;

}
.panel_output__close{

    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: stretch;
    width: 54px;
    min-height: 54px;
    padding: 0px;
    margin: 0px;
    border: 0px;
    background-color: transparent;
    cursor: pointer;

}
.panel_output__close__svg{

    display: block;
    width: 14px;
    height: 14px;
    padding: 0px;
    margin: 0px;
    fill: #454545;

}
/*------------- ACCEDI -------------*/




/*------------- SWITCH -------------*/
.section__accedi__content__role{

    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    position: relative;
    width: 100%;

}
.section__accedi__content__switch__input{

    position: absolute;
    top: 0px;
    left: 0px;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    opacity: 0;

}
.section__accedi__content__switch{

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    background-color: #f4f4f4;

}
.section__accedi__content__switch__label{

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 10px;
    cursor: pointer;
    color: #656565;
    background-color: #f4f4f4;

}
.section__accedi__content__switch__label__span{

    display: block;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    color: inherit;

}
#accedi__ruolo__atleta:checked ~ .section__accedi__content__switch #accedi__switch__atleta,
#accedi__ruolo__coach:checked ~ .section__accedi__content__switch #accedi__switch__coach{ color: #ffffff; background-color: #000000; }
#accedi__ruolo__atleta:focus-visible ~ .section__accedi__content__switch #accedi__switch__atleta,
#accedi__ruolo__coach:focus-visible ~ .section__accedi__content__switch #accedi__switch__coach{ outline: none; }
/*------------- SWITCH -------------*/




/*------------- FORM -------------*/
.section__accedi__content__form{

    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    width: 100%;

}
#accedi__form__coach{ display: none; }
#accedi__ruolo__coach:checked ~ #accedi__form__coach{ display: grid; }
#accedi__ruolo__coach:checked ~ #accedi__form__atleta{ display: none; }
.section__accedi__content__form__input{

    display: block;
    width: 100%;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #d5d5d5;
    border-radius: 0px;
    cursor: text;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    outline: none;

}
.section__accedi__content__form__input::placeholder{ color: #858585; }
.section__accedi__content__form__input:focus{ border-color: #000000; }
.section__accedi__content__form__label{

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: fit-content;
    cursor: pointer;

}
.section__accedi__content__form__label__input{

    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    opacity: 0;

}
.section__accedi__content__form__label__checkbox{

    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid #d5d5d5;
    background-color: #f4f4f4;

}
.section__accedi__content__form__label__checkbox__svg{

    display: block;
    width: 80%;
    height: auto;
    fill: #000000;
    opacity: 0;

}
.section__accedi__content__form__label__input:checked + .section__accedi__content__form__label__checkbox .section__accedi__content__form__label__checkbox__svg{ opacity: 1; }
.section__accedi__content__form__label__input:focus-visible + .section__accedi__content__form__label__checkbox{ outline: none; }
.section__accedi__content__form__label__paragraph{

    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #858585;

}
.section__accedi__content__form__cta__button__submit{

    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 15px;
    background-color: #f5c800;
    color: #000000;
    cursor: pointer;

}
.section__accedi__content__form__cta__button__submit:hover{ background-color: #e0b700; }
.section__accedi__content__form__cta__button__submit:focus-visible{ outline: none; }
.section__accedi__content__form__cta__button__span{

    display: block;
    font-size: 16px;
    color: #000000;

}
.section__accedi__content__form__cta__button__svg{

    display: block;
    width: auto;
    height: 14px;
    margin-left: 10px;
    fill: #000000;

}
.section__accedi__content__form__forgotpassword{

    display: block;
    font-size: 14px;
    color: #858585;
    line-height: 1.5;

}
.section__accedi__content__form__forgotpassword__link{

    font-size: 14px;
    color: #858585;
    text-decoration: underline;

}
.section__accedi__content__form__forgotpassword__link:hover{ color: #000000; }
.section__accedi__content__form__forgotpassword__link:focus-visible{ outline: none; }
/*------------- FORM -------------*/


@media screen and (max-width: 380px){

    .section__accedi__content{ padding: 30px 16px; }
    .section__accedi__content__switch__label{ padding: 12px 6px; }
    .section__accedi__content__switch__label__span{ font-size: 14px; letter-spacing: 0.5px; }

}
@media (forced-colors: active){

    #accedi__ruolo__atleta:checked ~ .section__accedi__content__switch #accedi__switch__atleta,
    #accedi__ruolo__coach:checked ~ .section__accedi__content__switch #accedi__switch__coach{ forced-color-adjust: none; color: HighlightText; background-color: Highlight; }

}


/*------------- PASSWORD: OCCHIO -------------*/
/*Occhio dentro il campo, a destra: chiuso = password nascosta, aperto = password visibile (script/accedi.js)*/
.section__accedi__content__form__password{ position: relative; display: block; width: 100%; }
.section__accedi__content__form__password .section__accedi__content__form__input{ padding-right: 50px; }
.section__accedi__content__form__password__toggle{

    position: absolute;
    top: 0px;
    right: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 100%;
    padding: 0px;
    margin: 0px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;

}
.section__accedi__content__form__password__svg{ display: block; width: 22px; height: 22px; fill: #858585; }
.section__accedi__content__form__password__svg__aperto{ display: none; }
.section__accedi__content__form__password__toggle[aria-pressed="true"] .section__accedi__content__form__password__svg__chiuso{ display: none; }
.section__accedi__content__form__password__toggle[aria-pressed="true"] .section__accedi__content__form__password__svg__aperto{ display: block; }
/*------------- PASSWORD: OCCHIO -------------*/


/*------------- CAMPI: NIENTE PULSANTI DEL BROWSER -------------*/
/*Il browser non aggiunge i suoi pulsanti dentro i campi: niente occhio della password (Edge), niente X per svuotare,
  niente chiavetta delle credenziali né suggerimento di password (Safari). L'occhio, dove serve, è il nostro (Accedi)*/
input::-ms-reveal,
input::-ms-clear{ display: none; width: 0px; height: 0px; }
input::-webkit-credentials-auto-fill-button,
input::-webkit-contacts-auto-fill-button,
input::-webkit-strong-password-auto-fill-button{ display: none !important; visibility: hidden; width: 0px; height: 0px; margin: 0px; pointer-events: none; }
/*------------- CAMPI: NIENTE PULSANTI DEL BROWSER -------------*/
