/* ========================================================= */
/* css/login-adm.css - Login Restrito SAME Administrativo    */
/* ========================================================= */

:root {
  --bg-color: #f4f7f9;
  --text-dark: #0f3a55;
  --text-light: #7b8a98;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Mantém o mesmo fundo da tela inicial */
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--text-dark);
  background-image: url("../img/detalhe-footer.png");
  background-position: center bottom;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url("../img/detalhe-footer.png");
  background-position: center bottom;
  background-size: 100% auto;
  background-repeat: no-repeat;
  transform: scaleY(-1);
  z-index: 1;
  pointer-events: none;
}

/* Card Escuro (Admin) - Baseado no Glassmorphism */
.admin-glass-card {
  width: 100%;
  max-width: 420px;
  padding: 48px 40px;
  background: linear-gradient(
    135deg,
    rgba(15, 58, 85, 0.95) 0%,
    rgba(15, 58, 85, 0.8) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px 110px 24px 110px;
  border-top: 1.5px solid rgba(32, 184, 189, 0.4);
  border-left: 1.5px solid rgba(32, 184, 189, 0.4);
  border-right: 1.5px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
  z-index: 10;
  color: #ffffff;
}

.logo-container img {
  margin-bottom: 16px;
}

.admin-glass-card h2 {
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 16px;
  margin-bottom: 32px;
}

/* Inputs Escuros */
.form-group {
  position: relative;
  margin-bottom: 16px;
}

.admin-input input {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  padding: 0 20px;
  font-size: 14px;
  outline: none;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transition: border-color 0.3s ease;
}

.admin-input input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.admin-input input:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #20b8bd;
}

.eye-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  cursor: pointer;
}

/* Botão Turquesa Clínico */
.btn-admin {
  width: 100%;
  height: 50px;
  border-radius: 15px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.2s ease;
  background-color: #20b8bd;
  color: #0f3a55;
  box-shadow: 0 8px 20px rgba(32, 184, 189, 0.2);
}

.btn-admin:hover {
  background-color: #179ea3;
}
.btn-admin:active {
  transform: scale(0.98);
}

/* Animações e Responsividade */
.fade_in_1 {
  opacity: 0;
  animation: fadeIn 1s 0s forwards;
}
.fade_in_2 {
  opacity: 0;
  animation: fadeIn 1s 0.3s forwards;
}
.fade_in_3 {
  opacity: 0;
  animation: fadeIn 1s 0.6s forwards;
}
.fade_in_4 {
  opacity: 0;
  animation: fadeIn 1s 0.9s forwards;
}

/* Correção do alinhamento do texto de Uso Interno */
.footer-signature {
  position: absolute;
  bottom: 24px;
  right: 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .admin-glass-card {
    width: 92%;
    padding: 32px 24px;
    border-radius: 24px 60px 24px 60px;
  }
}
