 * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: #4b2f16; /* marrom de fundo   principal */
      color: #f5f5f5; /* branco */
      min-height: 100vh;  
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .page-wrapper {
      width: 100%;
      max-width: 420px;
      padding: 24px;
      text-align: center;
    }

    .auth-card {
      background: #3b2613;
      border-radius: 16px;
      padding: 32px 24px 28px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.45);
      position: relative;
      overflow: hidden;
    }

    .logo {
      margin-bottom: 24px;
    }

    .logo img {
      width: 120px;
      height: auto;
      display: block;
      margin: 0 auto;
    }

    .form-block {
      display: none;
    }

    .form-block.active {
      display: block;
      animation: fadeIn 0.25s ease-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(6px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .field-group {
      position: relative;
      margin-bottom: 12px;
    }

    .field-group input {
      width: 100%;
      padding: 14px 14px;
      border-radius: 999px;
      border: none;
      outline: none;
      background: #2b1a0d;
      color: #f5f5f5;
      font-size: 14px;
    }

    .field-group input::placeholder {
      color: #b39b82;
    }

    .helper-row {
      display: flex;
      justify-content: flex-end;
      margin-top: 4px;
      margin-bottom: 16px;
    }

    .helper-row a {
      color: #f5f5f5;
      font-size: 12px;
      text-decoration: none;
      opacity: 0.85;
    }

    .helper-row a:hover {
      text-decoration: underline;
    }

    .btn {
      width: 100%;
      border-radius: 999px;
      border: none;
      padding: 14px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.1s ease;
    }

    .btn-primary {
      background: #c68824; /* dourado secundário */
      color: #3b2613;
      box-shadow: 0 6px 14px rgba(0,0,0,0.35);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    }

    .btn-outline {
      background: #2b1a0d;
      color: #f5f5f5;
      border: 1px solid #5c4127;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    .btn-outline span.arrow {
      font-size: 16px;
      line-height: 1;
    }

    .divider {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 16px 0;
      font-size: 12px;
      opacity: 0.7;
    }

    .divider-line {
      flex: 1;
      height: 1px;
      background: #5b3a21;
    }

    .bottom-text {
      margin-top: 16px;
      font-size: 13px;
      opacity: 0.85;
    }

    .bottom-text button {
      background: none;
      color: #f5f5f5;
      border: none;
      padding: 0;
      margin-left: 4px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      text-decoration: underline;
    }

    .support {
      margin-top: 18px;
      font-size: 13px;
      opacity: 0.9;
    }

    .support a {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 4px;
      text-decoration: none;
      color: #f5f5f5;
      font-weight: 500;
      padding: 6px 14px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.15);
      background: rgba(0,0,0,0.1);
    }

    .support a span.icon {
      font-size: 16px;
    }

    .alerts {
      margin-bottom: 12px;
      text-align: left;
      font-size: 13px;
    }

    .alert-error {
      background: rgba(255, 79, 79, 0.12);
      border-left: 3px solid #ff4f4f;
      padding: 8px 10px;
      border-radius: 8px;
      margin-bottom: 6px;
    }

    .alert-success {
      background: rgba(66, 194, 96, 0.14);
      border-left: 3px solid #42c260;
      padding: 8px 10px;
      border-radius: 8px;
      margin-bottom: 6px;
    }

    .afiliado-info {
      font-size: 12px;
      text-align: left;
      margin-bottom: 8px;
      color: #f1e2c0;
    }

    @media (max-width: 480px) {
      .auth-card {
        padding: 28px 20px 24px;
      }

      .logo img {
        width: 100px;
      }
    }