 :root {
   --bg: #0f172a;
   --panel: #111827;
   --muted: #94a3b8;
   --text: #e5e7eb;
   --brand: #22d3ee;
   --brand-strong: #06b6d4;
   --danger: #ef4444;
   --ring: rgba(34, 211, 238, .35);
   --card: #0b1220;
   --shadow: 0 10px 30px rgba(0, 0, 0, .35);
   --radius: 18px;
 }

 * {
   box-sizing: border-box
 }

 html,
 body {
   height: 100%
 }

 body {
   margin: 0;
   font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial;
   background: radial-gradient(1200px 800px at 80% -20%, rgba(6, 182, 212, .18), transparent 60%),
     radial-gradient(1000px 700px at -10% 120%, rgba(52, 211, 153, .14), transparent 60%),
     var(--bg);
   color: var(--text);
   display: flex;
   align-items: flex-start;
   /* Alterado para melhor responsividade */
   justify-content: center;
   padding: 24px;
   overflow-y: auto;
   zoom: 0.8; /* Deixa tudo 10% menor. Experimente valores como 0.85 ou 0.95 */
  /*transform: scale(0.9); /*Solução oficial*/ 
 }

 .container {
   width: 100%;
   max-width: 420px;
   text-align: center;
   margin-top: auto;
   /* Ajuda a centralizar em telas maiores */
   margin-bottom: auto;
 }

 .card {
   background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0)), var(--card);
   border: 1px solid rgba(255, 255, 255, .06);
   border-radius: var(--radius);
   box-shadow: var(--shadow);
   padding: 28px;
   text-align: left;
 }

 .header {
   text-align: center;
   margin-bottom: 24px;
 }

 .logo {
   width: 50px;
   height: 50px;
   border-radius: 14px;
   background: radial-gradient(120% 120% at 0% 0%, var(--brand-strong), var(--brand));
   box-shadow: 0 8px 28px rgba(6, 182, 212, .45), inset 0 0 18px rgba(255, 255, 255, .12);
   display: grid;
   place-items: center;
   font-weight: 800;
   color: #002a34;
   letter-spacing: .5px;
   font-size: 20px;
   margin: 0 auto 12px auto;
 }

 h1 {
   font-size: 22px;
   margin: 0
 }

 .muted {
   color: var(--muted);
   font-size: 14px
 }

 .loginForm {
   display: grid;
   gap: 16px;
 }

 label {
   font-size: 13px;
   color: var(--muted);
   display: block;
   margin-bottom: 6px
 }

 input {
   width: 100%;
   padding: 12px 12px;
   border-radius: 12px;
   border: 1px solid rgba(148, 163, 184, .25);
   background: #0b1425;
   color: var(--text);
   outline: none;
   font-size: 16px;
 }

 input:focus {
   border-color: var(--brand);
   box-shadow: 0 0 0 4px var(--ring)
 }

 button {
   border: 0;
   padding: 14px;
   border-radius: 12px;
   cursor: pointer;
   background: linear-gradient(180deg, var(--brand), var(--brand-strong));
   color: #062028;
   font-weight: 700;
   letter-spacing: .2px;
   box-shadow: 0 10px 24px rgba(6, 182, 212, .35);
   transition: transform .15s ease, filter .15s ease;
   font-size: 16px;
   width: 100%;
   margin-top: 8px;
 }

 button:hover {
   transform: translateY(-1px);
   filter: brightness(1.05)
 }

 .extra-options {
   display: flex;
   justify-content: space-between;
   align-items: center;
   font-size: 13px;
 }

 .extra-options a {
   color: var(--muted);
   text-decoration: none;
 }

 .extra-options a:hover {
   color: var(--brand);
 }

 .signup-link {
   text-align: center;
   margin-top: 20px;
   font-size: 14px;
 }

 .signup-link a {
   color: var(--brand);
   text-decoration: none;
   font-weight: 600;
 }

 .signup-link a:hover {
   text-decoration: underline;
 }

 .social-links {
   margin-top: 32px;
   padding-bottom: 20px;
 }

 .social-links p {
   font-size: 13px;
   color: var(--muted);
 }

 .social-icons {
   display: flex;
   justify-content: center;
   gap: 20px;
   margin-top: 16px;
 }

 .social-icons a {
   color: var(--muted);
   transition: color .2s ease, transform .2s ease;
 }

 .social-icons a:hover {
   color: var(--brand);
   transform: translateY(-2px);
 }

 .social-icons svg {
   width: 24px;
   height: 24px;
 }


 /* -- Modal -- */
 /* --------------- */
 .modal {
   position: fixed;
   inset: 0;
   background: rgba(0, 0, 0, .6);
   display: none;
   /* escondido por padrão */
   align-items: center;
   justify-content: center;
   z-index: 9999;
 }

 .modal-content {
   background: var(--card);
   border: 1px solid rgba(255, 255, 255, .06);
   border-radius: var(--radius);
   box-shadow: var(--shadow);
   padding: 28px;
   width: 100%;
   max-width: 380px;
   text-align: center;
   animation: fadeIn .25s ease;
 }

 .modal-content h2 {
   margin-top: 0;
   margin-bottom: 12px;
   color: var(--danger);
 }

 .modal-content p {
   margin-bottom: 20px;
   font-size: 15px;
 }

 .modal-content button {
   border: 0;
   padding: 12px;
   border-radius: 10px;
   cursor: pointer;
   background: linear-gradient(180deg, var(--brand), var(--brand-strong));
   color: #062028;
   font-weight: 700;
   width: 100%;
   box-shadow: 0 6px 16px rgba(6, 182, 212, .3);
   transition: transform .15s ease, filter .15s ease;
 }

 .modal-content button:hover {
   transform: translateY(-1px);
   filter: brightness(1.05);
 }

 @keyframes fadeIn {
   from {
     opacity: 0;
     transform: scale(0.95);
   }

   to {
     opacity: 1;
     transform: scale(1);
   }
 }

 /* Estilo para o botão de reenvio de e-mail no modal */
 #modal-extra-action {
   margin-bottom: 16px;
   /* Adiciona espaço entre os botões */
   margin-top: 8px;
 }

 .resend-button {
   /* Estilo de botão secundário (vazado) */
   background: transparent;
   border: 1px solid var(--brand);
   color: var(--brand);
   padding: 12px;
   border-radius: 10px;
   cursor: pointer;
   font-weight: 700;
   width: 100%;
   transition: all .2s ease;
 }

 .resend-button:hover {
   background: var(--ring);
   color: var(--text);
 }

 .igm-logo {
   width: 4rem;
   height: 5rem;
   border-radius: 15px;
   display: grid;
   place-items: center;
   color: #002a34;
   letter-spacing: .5px;
   margin: 0 auto 12px auto;
 }