/* ---- Geral ---- */
html{height: 100%; width: 100%; }

body{
    background-color:  #FEFCF0;
    margin: 8px;

    box-sizing: border-box;
    line-height: 1.6;
    max-width: 100vw;

    text-align: center;
    align-items: center;
    justify-content: center;

}

header{
    margin: 0 auto;
    margin-top: 150px;
    margin-bottom: 40px;

    max-width: 366px;
    width: 366px;

    text-align: left;
    
    line-height: 1;
}

.logo{
    width: 366px;
    max-height: 64px;

    overflow: hidden;

    justify-content: center;
    align-items: center;

}

.logo img{
    width: 45%;       /* Scale image to container's width */
    height: auto;      /* Maintain aspect ratio */
    object-fit: cover;
}

header h2{
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;

}

/*******************************/

.form-group {
    margin: 0 auto;
    margin-bottom: 15px;

    max-width: 366px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;

    text-align: left;

    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    line-height: 1;
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 14px;
}

.submit-btn{
    margin-top: 30px;
}

button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #1A244E;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 16px;
    line-height: 1.2;
}


/*Deixar por agora*/
button[type="submit"]:hover {
    background-color: #333;
}


/******************************************************/
.links{
    margin: 0 auto;

    display:grid;
    grid-template-columns: repeat(2,1fr); 
    /* grid-template-columns: 156px 210px; */

    width: 100%;
    max-width: 366px;
}

.forgot-pass{
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 13px;

    text-align: left;
}

.forgot-pass a{
    color: black;
}

.dont-have-account{
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 13px;

    padding: 0;

    text-align: right;
}

.dont-have-account p{
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 13px;

    margin: 0;
    padding: 0;
}

.dont-have-account a{
    font-weight: 700;
    color: black;
    text-decoration: none;
}

.line-container{
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 20px;

    max-width: 366px;

    width: 100%; 
    text-align: center; 
    border-bottom: 1px solid rgb(128, 128, 128,0.5); 
    line-height: 0.2em;

}

.line-container span {
    background-color: #FEFCF0;
    padding:0px 20px ;

    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 16px;
}



/* Other signins - Google and Facebook */
.other-signins{
    margin-top: 50px;

    max-height: 105px;
    height: 105px;
}

.facebook-signin{
    margin-top: 20px;
}

.gsi-material-button {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    background-color: WHITE;
    background-image: none;
    border: 1px solid #ccc;
    -webkit-border-radius: 4px;
    border-radius: 5px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #1f1f1f;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    width: auto;
    max-width: 366px;
    min-width: min-content;
}
  
.gsi-material-button .gsi-material-button-icon {
    height: 20px;
    margin-right: 12px;
    min-width: 20px;
    width: 20px;
}
  
.gsi-material-button .gsi-material-button-content-wrapper {
    -webkit-align-items: center;
    align-items: center;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: center;
    position: relative;
    width: 100%;
}
  
.gsi-material-button .gsi-material-button-contents {
    -webkit-flex-grow: 0;
    flex-grow: 0;
    font-family: 'Roboto', arial, sans-serif;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}
  
.gsi-material-button .gsi-material-button-state {
    -webkit-transition: opacity .218s;
    transition: opacity .218s;
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;


    width: 366px;
    max-width: 100%;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 2px solid rgba(128, 128, 128, 0.5);
    background-color: white;
    cursor: pointer;
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 16px;
    font-weight: 450;
    color: black;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}
  
.gsi-material-button:disabled {
    cursor: default;
    background-color: #ffffff61;
    border-color: #1f1f1f1f;
}
  
.gsi-material-button:disabled .gsi-material-button-contents {
    opacity: 38%;
}
  
.gsi-material-button:disabled .gsi-material-button-icon {
    opacity: 38%;
}
  
.gsi-material-button:not(:disabled):active .gsi-material-button-state, 
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
    background-color: #303030;
    opacity: 12%;
}
  
.gsi-material-button:not(:disabled):hover {
    -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}
  
.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
    background-color: #303030;
    opacity: 8%;
}

.google-login-button {
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}


.facebook-signin button img{
    padding-right: 15px;
}


.fsi-material-button {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    background-color: WHITE;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    color: #1f1f1f;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    width: 100%;
    max-width: 366px;
    min-width: min-content;
}





.fsi-material-button .fsi-material-button-icon {
    height: 20px;
    margin-right: 12px;
    min-width: 20px;
    width: 20px;
}

.fsi-material-button .fsi-material-button-content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.fsi-material-button .fsi-material-button-contents {
    flex-grow: 0;
    font-family: 'Roboto', arial, sans-serif;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

.fsi-material-button .fsi-material-button-state {
    transition: opacity .218s;
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 366px;
    max-width: 100%;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 2px solid rgba(128, 128, 128, 0.5);
    background-color: white;
    cursor: pointer;
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 16px;
    font-weight: 450;
    color: black;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.fsi-material-button:disabled {
    cursor: default;
    background-color: #ffffff61;
    border-color: #1f1f1f1f;
}

.fsi-material-button:disabled .fsi-material-button-contents {
    opacity: 38%;
}

.fsi-material-button:disabled .fsi-material-button-icon {
    opacity: 38%;
}

.fsi-material-button:not(:disabled):active .fsi-material-button-state,
.fsi-material-button:not(:disabled):focus .fsi-material-button-state {
    background-color: #303030;
    opacity: 12%;
}

.fsi-material-button:not(:disabled):hover {
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.fsi-material-button:not(:disabled):hover .fsi-material-button-state {
    background-color: #303030;
    opacity: 8%;
}


.footer{
    margin: 0 auto;
    margin-top: 150px;

    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-size: 13px;

    color: rgb(12, 20, 35,0.8);
}

/* For the errors */
.error{
    margin: 10px auto;
    margin-top: 0px;
    color: red;
}

/* Extra small devices (xs) — Below 576px */
@media (max-width: 575.98px) {
    header{
        margin-top: 90px;
    }

    body {
      font-size: 14px; /* Smallest size for mobile phones */
    }
    .error {
      font-size: 14px;        
    }
}

/* Small devices (sm) — 576px to 767.98px */
@media (min-width: 576px) and (max-width: 767.98px) {
    header{
        margin-top: 90px;
    }

    body {
      font-size: 15px; /* Slightly larger for small tablets */
    }
    .error {
      font-size: 15px;        
    }
}

/* Medium devices (md) — 768px to 991.98px */
@media (min-width: 768px) and (max-width: 991.98px) {
    header{
        margin-top: 90px;
    }
    
    body {
        font-size: 16px; /* Standard size for tablets */
    }
    .error {
      font-size: 15px;        
    }
}

/* Large devices (lg) — 992px to 1199.98px */
@media (min-width: 992px) and (max-width: 1199.98px) {
    body {
        font-size: 17px; /* Larger for small desktop screens */
    }

    .error{
        font-size: 15px;
    }
}

/* Extra large devices (xl) — 1200px to 1399.98px */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    body {
        font-size: 15px; /* Comfortable size for large desktops */
    }

    .error {
      font-size: 15px;        
    }
}

/* Extra extra large devices (xxl) — 1400px and above */
@media (min-width: 1400px) {
    body {
        font-size: 15px; /* Largest size for extra-large screens */
    }

    .error {
      font-size: 15px;        
    }
}