/* File: static/css/login.css */

/* === Layout base === */
html, body {
  height: 100%;
  margin: 0;
}

.container-login {
  height: 100vh;
  display: flex;
}

/* === Painel esquerdo com imagem === */
.left-panel {
  background: url('{% static "img/fundo_login.png" %}') center center no-repeat;
  background-size: cover;
  filter: brightness(0.8);
  flex: 1;
}

/* === Painel direito com gradiente e centralização === */
.right-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(to bottom right, rgb(11, 73, 109), #48d6ff);
  flex: 1;
}

/* === Cartão de login === */
.login-card {
  background: linear-gradient(to bottom, #2ab5f0, #68d6f7);
  border-radius: 30px;
  padding: 2rem;
  width: 100%;
  max-width: 350px;
  color: white;
  text-align: center;
}

/* === Campos de formulário === */
.login-card .form-control {
  border-radius: 30px;
  padding-left: 2.5rem;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.btn-rounded {
  border-radius: 30px;
}

.small-text {
  font-size: 0.85rem;
}

/* === Estilização de links === */
.login-card a {
  color: #fff;
  text-decoration: underline;
  font-size: 0.85rem;
}

.login-card a:hover {
  text-decoration: none;
}

/* === Ícone superior === */
.profile-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* === Botão do Google === */
.gsi-material-button {
  user-select: none;
  -webkit-appearance: none;
  background-color: white;
  background-image: none;
  border: 1px solid #747775;
  border-radius: 4px;
  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 0.218s, border-color 0.218s, box-shadow 0.218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  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 {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  flex-grow: 1;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  transition: opacity 0.218s;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents,
.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 {
  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%;
}