@import url(https://fonts.googleapis.com/css?family=Roboto:300);

.body-login {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    --background: linear-gradient(135deg, #2980b9, #f39c12);
    background-image: url('/authorization-server/images/fundo_grupo_moove_sequoia.png') !important;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-login {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    width: 100%;
    text-align: center;
    color: #333; /* Cor do texto */
}

.login-h1, .login-h2 {
    color: #333; /* Cor dos títulos */
}

.msg-sucesso {
    color: rgb(58, 122, 42);
    margin-bottom: 20px;
}

.error-login {
    color: red;
    margin-bottom: 20px;
}

.login-form{
	padding-top: 10px;
}
.login-form input[type="text"],
.login-form input[type="password"] {
    width: calc(100% - 40px);
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 25px;
    outline: none;
}

.login-form input[type="submit"] {
    width: calc(100% - 40px);
    padding: 12px;
    background-color: #e67e22;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    outline: none;
}

.login-form button[type="submit"] {
    width: calc(100% - 40px);
    padding: 12px;
    background-color: #e67e22;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    outline: none;
}

/* Estilo quando o botão está desabilitado */
.login-form input[type="submit"]:disabled {
    background-color: #bdc3c7; /* Cor de fundo mais clara */
    color: #7f8c8d; /* Cor do texto mais clara */
    cursor: not-allowed; /* Cursor indicando que não é permitido clicar */
}

/* Estilo quando o botão está desabilitado */
.login-form button[type="submit"]:disabled {
    background-color: #bdc3c7; /* Cor de fundo mais clara */
    color: #7f8c8d; /* Cor do texto mais clara */
    cursor: not-allowed; /* Cursor indicando que não é permitido clicar */
}

.login-form input[type="submit"]:hover {
    background-color: #d35400;
}

.login-form button[type="submit"]:hover {
    background-color: #d35400;
}
.icon-login {
    font-size: 48px;
    margin-bottom: 20px;
}


.login-page {
  width: 700px;
  padding: 8% 0 0;
  margin: auto;
}
.form {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  max-width: 360px;
  margin: 0 auto 100px;
  padding: 45px;
  text-align: center;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}
.form input {
  font-family: "Roboto", sans-serif;
  outline: 0;
  background: #f2f2f2;
  width: 100%;
  border: 0;
  margin: 0 0 15px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 14px;
}
.form .button {
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  outline: 0;
  background: #4169E1;
  width: 100%;
  border: 0;
  padding: 15px;
  color: #FFFFFF;
  font-size: 14px;
  -webkit-transition: all 0.3 ease;
  transition: all 0.3 ease;
  cursor: pointer;
}
.form button:hover,.form button:active,.form button:focus {
  background: #4169E1;
}
.form .message {
  margin: 15px 0 0;
  color: #b3b3b3;
  font-size: 12px;
}
.form .error {
	color: red;
}
.form h1 {
	color: #4169E1;
}
.form .message a {
  color: #4169E1;
  text-decoration: none;
}

body {
  background: #4169E1;
  font-family: "Roboto", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;      
}

#login-logo img {
    object-fit: cover;
    max-width: 200px;
    max-height: 200px;
}

.sso-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    background-color: #0078d4; /* Cor azul padrão da Microsoft */
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para dar um efeito elevado */
}

.sso-button:hover {
    background-color: #005a9e; /* Cor mais escura ao passar o mouse */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Aumenta a sombra ao passar o mouse */
}

.sso-button:active {
    background-color: #004578; /* Cor ainda mais escura ao clicar */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15); /* Reduz a sombra ao clicar */
}

.sso-button:focus {
    outline: none; /* Remove o outline padrão */
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.5); /* Adiciona um outline customizado */
}

.button.inserttoken-button {
    display: inline-block;
    background: linear-gradient(135deg, #102d69, #1f3f94);
    color: #fff;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 300;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    border: none;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 45, 105, 0.3);
    text-align: center;
    width: 70%;
    max-width: 320px;
    margin: 16px auto;
    letter-spacing: 0.5px;
}

.button.inserttoken-button:hover {
    background: linear-gradient(135deg, #0b2250, #1a357d);
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(16, 45, 105, 0.4);
}

.button.inserttoken-button:active {
    transform: scale(0.97);
    background: #081a3d;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.button.trocasenha-button {
    display: inline-block;
    background: linear-gradient(135deg, #102d69, #1f3f94);
    color: #fff;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 300;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    border: none;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 45, 105, 0.3);
    text-align: center;
    width: 30%;
    max-width: 320px;
    margin: 16px auto;
    letter-spacing: 0.5px;
}

.button.trocasenha-button:hover {
    background: linear-gradient(135deg, #0b2250, #1a357d);
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(16, 45, 105, 0.4);
}

.button.trocasenha-button:active {
    transform: scale(0.97);
    background: #081a3d;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.input-description {
    font-size: 14px; /* Tamanho de fonte adequado para leitura */
    color: #4a4a4a; /* Cor neutra e suave */
    margin-bottom: 8px; /* Espaço abaixo do parágrafo para separar do input */
    font-weight: 400; /* Peso da fonte para uma leitura confortável */
    line-height: 1.6; /* Altura da linha para melhorar a legibilidade */
    text-align: left; /* Alinhamento do texto à esquerda */
}

.input-description strong {
    color: #0078d4; /* Destaque em azul, similar ao botão SSO */
    font-weight: 600; /* Peso maior para dar ênfase */
}

.input-description em {
    font-style: italic; /* Itálico para frases ou palavras importantes */
    color: #555555; /* Um pouco mais escuro que o texto padrão */
}

@media (max-width: 768px) {
    .body-login {
        background-image: none; /* Remove a imagem de fundo para melhorar o desempenho em celulares */
        background-color: #4169E1; /* Usa uma cor sólida */
        padding: 10px; /* Adiciona espaçamento interno */
    }

    .form-login {
        padding: 20px; /* Reduz o padding para telas menores */
        max-width: 100%; /* Faz o formulário ocupar toda a largura disponível */
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Mantém uma sombra mais leve */
    }

    .form-login h1, .form-login h2 {
        font-size: 1.2em; /* Reduz o tamanho dos títulos */
    }

    .login-form input[type="text"],
    .login-form input[type="password"],
    .login-form input[type="submit"],
    .login-form button[type="submit"] {
        width: 100%; /* O input ocupa toda a largura do formulário */
        font-size: 14px; /* Ajusta o tamanho da fonte */
        padding: 10px; /* Reduz o padding interno */
        margin-bottom: 15px; /* Reduz o espaçamento entre os campos */
    }

    .sso-button {
        padding: 10px 15px; /* Reduz o tamanho do botão */
        font-size: 14px; /* Ajusta o tamanho do texto */
    }

    #login-logo img {
        max-width: 100px; /* Reduz o tamanho da imagem */
        max-height: 100px;
    }

    .icon-login {
        font-size: 36px; /* Diminui o tamanho do ícone */
        margin-bottom: 15px;
    }

    .input-description {
        font-size: 12px; /* Reduz o tamanho da fonte */
        margin-bottom: 6px; /* Ajusta o espaçamento */
    }
}

@media (max-width: 480px) {
    .form-login {
        padding: 15px; /* Reduz ainda mais o padding para telas muito pequenas */
    }

    .login-form input[type="text"],
    .login-form input[type="password"],
    .login-form input[type="submit"],
    .login-form button[type="submit"] {
        font-size: 12px; /* Reduz o tamanho da fonte */
        padding: 8px; /* Reduz o padding interno */
    }

    .sso-button {
        font-size: 12px; /* Ajusta o tamanho do texto */
        padding: 8px 10px; /* Ajusta o tamanho do botão */
    }

    #login-logo img {
        max-width: 80px; /* Reduz o tamanho da imagem */
        max-height: 80px;
    }
}
