@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

/* 🌌 Corpo da página */
body.sophys-login-body {
  margin: 0;
  padding: 0;
  background-color: #153A4D;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}



/* 📱 Moldura sólida estilo celular - reduzida proporcionalmente */
.sophys-phone-frame {
  background: #000;
  border: 10px solid #000;
  border-radius: 40px;
  padding: 0.45rem;
  width: 330px;
  max-width: 90vw;
  box-sizing: content-box;
  position: relative;
}

/* 🧳️ Notch superior - reduzido */
.sophys-notch {
  width: 85px;
  height: 22px;
  background: #000;
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* 🧹 Tela interna */
.sophys-phone-mockup {
  background: #F5F7FA;
  border-radius: 34px;
  padding: 1.6rem 1.1rem;
  width: 100%;
  animation: fadeInUp 0.6s ease;
  position: relative;
}

/* 👇 Conteúdo central */
.sophys-login-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 🔰 Logo */
.sophys-logo {
  width: 120px;
  margin-bottom: 0.8rem;
}

/* 📣 Texto institucional */
.sophys-login-text {
  text-align: center;
  color: #153A4D;
  font-size: 0.9rem;
  line-height: 1.4rem;
  margin-bottom: 0.6rem; /* 🔧 Reduzido de 1.2rem para 0.6rem */
  padding: 0 0.8rem;
  animation: fadeInUp 0.8s ease;
}

.sophys-login-text strong {
  color: #FF7A00;
  font-weight: 700;
  font-size: 1.05rem;
}

/* 🔐 Formulário */
.sophys-login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Campos */
.sophys-input {
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  background-color: #e9f1fb;
  transition: all 0.3s ease;
}

.sophys-input:focus {
  outline: none;
  border-color: #005580;
  box-shadow: 0 0 0 2px rgba(0, 85, 128, 0.15);
}

/* Botão de login */
.sophys-button {
  background: #FF9130;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 0.9rem;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.sophys-button:hover {
  background: #e97e1b;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

.sophys-button:active {
  transform: scale(0.98);
}

/* Rodapé */
.sophys-login-footer {
  text-align: center;
  font-size: 0.8rem;
  color: #555;
  margin-top: 1.4rem;
}

.sophys-login-footer a {
  color: #005580;
  text-decoration: none;
  font-weight: 500;
}

.sophys-login-footer a:hover {
  text-decoration: underline;
}

.sophys-login-footer p {
  display: none;
}

.sophys-login-copyright {
  text-align: center;
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.8rem;
}

/* ✨ Animações */
@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.sophys-input::placeholder {
  color: #7a8b9c;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

@media (max-width: 480px) {
  * {
    box-shadow: none !important;
  }

  .g-recaptcha,
  .g-recaptcha iframe {
    box-shadow: none !important;
    filter: none !important;
    background: transparent !important;
  }

  input:focus,
  button:focus,
  .sophys-input:focus,
  .sophys-button:focus {
    box-shadow: none !important;
    outline: none !important;
  }

  .sophys-phone-frame {
    border: 8px solid #000;
    border-radius: 36px;
    padding: 0.3rem;
    overflow: hidden;
  }

  .sophys-phone-mockup {
    padding: 1.2rem 0.6rem;
    border-radius: 28px;
    width: 100%;
    box-sizing: border-box;
  }

  .sophys-login-form {
    width: 100%;
    gap: 0.8rem;
  }

  .sophys-input {
    font-size: 0.88rem;
    padding: 0.65rem 0.85rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .sophys-button {
    font-size: 0.9rem;
    padding: 0.75rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 0.3rem;
  }

  .sophys-logo {
    width: 100px;
  }

  .sophys-login-text {
    font-size: 0.84rem;
    line-height: 1.25rem;
    padding: 0 0.5rem;
  }

  .sophys-login-footer {
    font-size: 0.75rem;
    padding: 0 0.5rem;
  }

  .sophys-login-copyright {
    font-size: 0.7rem;
  }
}
.sophys-graph-img {
  max-width: 70%;
  height: auto;
  margin: 0 auto 1rem; /* 🔧 Mantido centrado com menos margem superior */
  display: block;
  border-radius: 8px;
  animation: fadeIn 1s ease;
}

/* Gráfico reduzido ainda mais para mobile */
.sophys-graph-img {
  max-width: 70%;
  margin: 0.8rem auto 1.2rem;
}

/* Espaçamento após reCAPTCHA */
.g-recaptcha {
  margin-bottom: 1rem;
}

/* Rodapé em mobile */
@media (max-width: 480px) {
  .sophys-login-footer {
    margin-top: 1.2rem;
    font-size: 0.75rem;
  }

  .sophys-login-form {
    padding-bottom: 0.5rem;
  }
}