   * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Roboto", Arial, sans-serif;
    }

    body {
      min-height: 100vh;
      position: relative;
      color: #000;
      background: #f3f5f7;
    }

    body::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top, #ffffff 0%, #f3f5f7 40%, #e4ecef 100%);
      z-index: 0;
    }

    .wrapper {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      position: relative;
      z-index: 1;
      padding: 40px 20px 90px; /* espaço para o rodapé com scroll */
      text-align: center;
      animation: fadeIn 1.2s ease-in;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Header / Branding */
    .brand-header {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      margin-bottom: 30px;
    }

    .brand-header img {
      max-width: 120px;
      height: auto;
    }

    .page-title {
      font-size: 2.1rem;
      font-weight: 700;
      color: #ED2024;
      letter-spacing: 0.03em;
    }

    .page-subtitle {
      font-size: 0.95rem;
      color: #555;
    }

    /* Card de Login */
    .login-container {
      background: #ffffff;
      padding: 28px 24px 24px;
      border-radius: 16px;
      box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
      width: 100%;
      max-width: 380px;
      animation: fadeIn 1s ease-in;
      border-top: 5px solid #ED2024; /* vermelho APAV */
    }

    .login-container h2 {
      margin-bottom: 18px;
      font-size: 1.4rem;
      font-weight: 600;
      color: #333;
    }

    label {
      display: block;
      text-align: left;
      margin-bottom: 5px;
      font-weight: 500;
      font-size: 0.9rem;
      color: #333;
    }

    .input-group {
      position: relative;
      margin-bottom: 15px;
    }

    input {
      width: 100%;
      padding: 10px 38px 10px 12px;
      border: 1px solid #ccd1d6;
      border-radius: 8px;
      background: #fff;
      color: #000;
      font-size: 0.95rem;
      transition: box-shadow 0.25s ease, border-color 0.25s ease;
    }

    input:focus {
      outline: none;
      border-color: #515352;
      box-shadow: 0 0 0 3px rgba(94, 127, 109, 0.25);
    }

    .checkmark {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 1.2rem;
      color: #28a745;
      display: none;
    }

    button {
      width: 100%;
      padding: 10px;
      background: #5E7F6D;
      color: #ffffff;
      border: none;
      border-radius: 999px;
      cursor: pointer;
      font-size: 0.98rem;
      font-weight: 500;
      margin-top: 5px;
      transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    }

    button:hover:not(:disabled) {
      background: #476253;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
      transform: translateY(-1px);
    }

    button:disabled {
      background: #aeb5b2;
      cursor: not-allowed;
      box-shadow: none;
      transform: none;
    }

    .error {
      color: #ED2024;
      font-size: 0.85rem;
      display: none;
      margin-top: -3px;
      margin-bottom: 8px;
      text-align: left;
    }

    .welcome {
      color: #434745;
      font-size: 0.9rem;
      display: none;
      margin-top: 10px;
      text-align: center;
    }

    .login-info {
      margin-top: 14px;
      font-size: 0.82rem;
      line-height: 1.4;
      color: #666666;
      text-align: center;
    }

    .login-info a {
      color: #666;         /* cinza discreto */
      text-decoration: none; /* remove underline */
      font-weight: 500;
    }

    .login-info a:hover {
      color: #444;         /* ligeiro escurecimento ao passar o rato */
      text-decoration: none; 
    }

    /* Rodapé com texto em movimento */
    .footer-marquee {
      position: fixed;
      left: 0;
      bottom: 0;
      width: 100%;
      overflow: hidden;
      padding: 8px 0;
      z-index: 2;
      background: linear-gradient(0deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.75) 100%);
      backdrop-filter: blur(6px);
      border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .marquee-track {
      display: inline-block;
      white-space: nowrap;
      animation: marquee 22s linear infinite;
      font-size: 0.85rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #ED2024;
    }

    @keyframes marquee {
      0% {
        transform: translateX(100%);
      }
      100% {
        transform: translateX(-100%);
      }
    }

    @media (max-width: 480px) {
      .brand-header {
        margin-bottom: 22px;
      }

      .page-title {
        font-size: 1.65rem;
      }

      .page-subtitle {
        font-size: 0.85rem;
      }

      .login-container {
        padding: 22px 18px 20px;
        max-width: 100%;
      }

      .marquee-track {
        font-size: 0.75rem;
      }
    }
    /*Style Microsoft*/
    .btn-ms {
  width: 100%;
  padding: 10px;
  border-radius: 999px;
  border: 1px solid #2f2f2f;
  background: #ffffff;
  color: #2f2f2f;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.btn-ms::before {
  content: ""; /* ou deixar em branco e meter ícone depois */
  font-family: Arial, sans-serif;
  font-size: 1rem;
}

.btn-ms:hover {
  background: #f3f3f3;
  box-shadow: 0 6px 16px rgba(0,0,0,0.10);
  transform: translateY(-1px);
}