/*
 * Custom CSS for Auth
 *
 */

div[class*="icheckbox_minimal"].focus {
  border: 1px dashed #D99;
  background-position: 0 -2px !important;
  width: 16px !important;
  height: 16px !important;
  margin-bottom: 1px !important;
  margin-top: 1px !important;
  margin-right: 2px !important;
}

div[class*="icheckbox_minimal"].checked.focus {
  background-position: -41px -2px !important;
}

/* */
.form-group a:focus, .form-control a:focus {
  color: #0000EF !important;
}

/* *** Custom CSS for iCheck Plugin *** */

  /*div.checked.focus > ins {
    opacity: 0.3 !important;
    border: 1px dashed gray !important;
    margin-top: 4% !important;
    margin-left: -7% !important;
  }*/

  div[class*="icheckbox_square"].focus {
    background-position: -24px 0px !important;
    /*border: 1px dashed green;
    background-position: 0 0 !important;
    width: 16px !important;
    height: 16px !important;
    margin-bottom: 1px !important;
    margin-top: 1px !important;
    margin-right: 1px !important;*/
  }

  div[class*="icheckbox_square"].checked.focus, div[class*="icheckbox_square"].checked:hover {
    border: 1px solid lime;
    background-position: -49px -1px !important;
  }
/* ------------ */

/* Estilização do auth Caio*/
.panel-auth {
  margin: 0 10% 0 10%;
}

.div-bem-vindo {
  background: #282942; height: 100vh;
  color: #fff;
}

.div-bem-vindo h1 {
  color: #fff;
}

.div-login {
  height: 100vh;
}

@media (min-width: 1440px) {
  .panel-auth {
    margin: 0 20% 0 20%;
  }
}

@media (max-width: 425px) {
  .div-bem-vindo {
    background: #282942; height: 10vh;
  }

  .div-login {
    height: 50vh;
  }
}

/* Alteração do setor de designer */
.div-content {
  width: 400px; 
  margin: 15% auto;
}

.img-login { 
  max-width: 350px;
}

.div-login-2 {  
  padding: 0 10px 0 10px; 
  margin-bottom: 20px;
}

.div-login-2 div.input-group {
  width: 100%; 
}


.btn.btn-login { 
  width: 100% !important;
  background-color: #2489c5;
  color: #fff;
  font-weight: bold;
}

.btn.btn-login:hover { 
  width: 100% !important;
  background-color: #70b7e0;
  color: #fff;
  font-weight: bold;
}


@media (max-width: 425px) {
  .div-content {
    width: 300px; 
    margin: 15% auto;
  }

  .img-login { 
    max-width: 250px;
  }
  
}

/* CSS para nova tela de Login */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f6f8;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo img {
    max-width: 220px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.form-control {
    height: 46px;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 14px;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
    height: 46px;
    border-radius: 8px;
}

.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider span {
    background: #fff;
    padding: 0 10px;
    color: #999;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #ddd;
    z-index: -1;
}

.btn-azure {
    width: 100%;
    height: 46px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    text-decoration: none;
    color: #333;
}

.btn-azure:hover {
    background: #f5f5f5;
}
